|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.zaval.lw.LwPopupManager | +--org.zaval.lw.AWTPopupManager
This is popup menu manager. This implementation uses java.awt.PopupMenu implementation to
organize pop up menu for the light weight components. This is very easy to use the manager,
actually this implemenation provides just one method - setPopup
- that allows
to register or unregister the specified pop up menu with the specified light weight
component.
Constructor Summary | |
AWTPopupManager()
|
Method Summary | |
void |
hidePopup(java.lang.Object popup)
Hides the specified popup menu. |
void |
showPopup(LwComponent target,
int x,
int y,
java.lang.Object popup)
Shows the specified popup menu for the target light weight component at the given location. |
Methods inherited from class org.zaval.lw.LwPopupManager |
dispose, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, setPopup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AWTPopupManager()
Method Detail |
public void showPopup(LwComponent target, int x, int y, java.lang.Object popup)
LwPopupManager
showPopup
in class LwPopupManager
org.zaval.lw.LwPopupManager
target
- the given light weight component.x
- the x coordinate.
y
- the y coordinate.
popup
- the specified popup menu.
hidePopup
public void hidePopup(java.lang.Object popup)
- Description copied from class:
LwPopupManager
- Hides the specified popup menu.
- Overrides:
hidePopup
in class LwPopupManager
- Following copied from class:
org.zaval.lw.LwPopupManager
- Parameters:
popup
- the specified popup menu.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org