|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.control.PopupController
public class PopupController
Adds listeners to all DockElementRepresentatives.
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 works| Method Detail |
|---|
public void representativeAdded(DockController controller,
DockElementRepresentative representative)
DockControllerRepresentativeListenerrepresentative was added to
controller.
representativeAdded in interface DockControllerRepresentativeListenercontroller - the source of the eventrepresentative - the element that was added
public void representativeRemoved(DockController controller,
DockElementRepresentative representative)
DockControllerRepresentativeListenerrepresentative was removed
from controller.
representativeRemoved in interface DockControllerRepresentativeListenercontroller - 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 | |||||||||