|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPopupMenu | +--planetj.gui.CMPopupMenuJ
Provides some additional functionality than the JPopupMenu Creation date: (6/2/00 1:23:17 PM)
Field Summary |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
CMPopupMenuJ()
CMPopupMenuJ constructor comment. |
|
CMPopupMenuJ(String label)
CMPopupMenuJ constructor comment. |
Method Summary | |
JMenuItem |
add(Action a)
Cannot add a null action to a popup |
void |
add(Vector obs)
Here we can add a vector of Objects and if they are addable components, they will be added to the popup menu. |
void |
show(Component invoker,
Point point)
Convience method for show() to take in a point Creation date: (7/14/00 2:34:06 PM) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CMPopupMenuJ()
public CMPopupMenuJ(String label)
label
- java.lang.StringMethod Detail |
public void add(Vector obs)
public JMenuItem add(Action a)
add
in class JPopupMenu
a
- the Action to add to the menuAction
public void show(Component invoker, Point point)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |