|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.themes.basic.action.menu.MenuMenuHandler.JPopupMenuWrapper
private class MenuMenuHandler.JPopupMenuWrapper
A Wrapper JPopupMenu to Menu.
Field Summary | |
---|---|
private javax.swing.JPopupMenu |
menu
the menu covered by this wrapper |
Constructor Summary | |
---|---|
MenuMenuHandler.JPopupMenuWrapper(javax.swing.JPopupMenu menu)
Creates a new wrapper. |
Method Summary | |
---|---|
void |
add(javax.swing.JComponent item)
Adds an item to the menu. |
javax.swing.JMenuItem |
getItem()
Get this menu as a JMenuItem. |
void |
removeAll()
Remove all elements from this menu |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private javax.swing.JPopupMenu menu
Constructor Detail |
---|
public MenuMenuHandler.JPopupMenuWrapper(javax.swing.JPopupMenu menu)
menu
- the menu to coverMethod Detail |
---|
public void add(javax.swing.JComponent item)
MenuMenuHandler.Menu
add
in interface MenuMenuHandler.Menu
item
- the new itempublic javax.swing.JMenuItem getItem()
MenuMenuHandler.Menu
getItem
in interface MenuMenuHandler.Menu
null
public void removeAll()
MenuMenuHandler.Menu
removeAll
in interface MenuMenuHandler.Menu
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |