|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.control.PopupController
public class PopupController
Adds listeners to all DockElementRepresentative
s.
Opens a popup-menu when the user triggers the popup-action.
Constructor Summary | |
---|---|
PopupController(DockController controller)
Creates a new popup-controller. |
Method Summary | |
---|---|
DockController |
getController()
Gets the DockController for which this PopupController works. |
void |
representativeAdded(DockController controller,
DockElementRepresentative representative)
Informs this listener that representative was added to
controller . |
void |
representativeRemoved(DockController controller,
DockElementRepresentative representative)
Informs this listener that representative was removed
from controller . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PopupController(DockController controller)
controller
- the controller for which this instance worksMethod Detail |
---|
public void representativeAdded(DockController controller, DockElementRepresentative representative)
DockControllerRepresentativeListener
representative
was added to
controller
.
representativeAdded
in interface DockControllerRepresentativeListener
controller
- the source of the eventrepresentative
- the element that was addedpublic void representativeRemoved(DockController controller, DockElementRepresentative representative)
DockControllerRepresentativeListener
representative
was removed
from controller
.
representativeRemoved
in interface DockControllerRepresentativeListener
controller
- the source of the eventrepresentative
- the element that was removedpublic DockController getController()
DockController
for which this PopupController
works.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |