|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPopupMenu
Platform and technology independent popup menu definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
PopupMenu,
JPopupMenu| Method Summary | |
|---|---|
void |
addSeparator()
Appends a new separator at the end of the menu. |
void |
addSeparator(int pIndex)
Inserts a separator at the specified position. |
PopupMenuHandler<IPopupMenuCanceledListener> |
eventPopupMenuCanceled()
The PopupMenuHandler for the popup menu canceled event. |
PopupMenuHandler<IPopupMenuWillBecomeInvisibleListener> |
eventPopupMenuWillBecomeInvisible()
The PopupMenuHandler for the popup menu will become invisible event. |
PopupMenuHandler<IPopupMenuWillBecomeVisibleListener> |
eventPopupMenuWillBecomeVisible()
The PopupMenuHandler for the popup menu will become visible event. |
void |
show(IComponent pOrigin,
int pX,
int pY)
Shows the popup menu at the x, y position relative to an origin component. |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Method Detail |
|---|
void addSeparator()
void addSeparator(int pIndex)
pIndex - an integer specifying the position at which to
insert the menu separator
java.lang.IllegalArgumentException - if the value of
index < 0
void show(IComponent pOrigin,
int pX,
int pY)
If this PopupMenu is being used as a Menu
(i.e., it has a non-Component parent),
then you cannot call this method on the PopupMenu.
pOrigin - the component which defines the coordinate spacepX - the x coordinate position to popup the menupY - the y coordinate position to popup the menuPopupMenuHandler<IPopupMenuWillBecomeVisibleListener> eventPopupMenuWillBecomeVisible()
PopupMenuHandler<IPopupMenuWillBecomeInvisibleListener> eventPopupMenuWillBecomeInvisible()
PopupMenuHandler<IPopupMenuCanceledListener> eventPopupMenuCanceled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||