|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionPopupMenu
A menu that shows some DockActions and is opened when the user
performs a right click onto a DockElementRepresentative or invokes
a MenuDockAction.
| Method Summary | |
|---|---|
void |
addListener(ActionPopupMenuListener listener)
Adds a listener to this menu, the listener is to be informed if the menu closes. |
Dockable |
getDockable()
Gets the Dockable for which this menu is shown. |
void |
removeListener(ActionPopupMenuListener listener)
Removes a listener from this menu. |
void |
show(Component owner,
int x,
int y)
Opens this menu assuming the mouse is currently over owner
at location x/y. |
| Method Detail |
|---|
Dockable getDockable()
Dockable for which this menu is shown.
void show(Component owner,
int x,
int y)
owner
at location x/y.
owner - the Component over which the menu should appearx - the x coordinate of the positiony - the y coordinate of the positionvoid addListener(ActionPopupMenuListener listener)
listener - the new listenervoid removeListener(ActionPopupMenuListener listener)
listener - the listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||