Package de.sciss.gui
Class MenuItem
- java.lang.Object
-
- de.sciss.gui.MenuItem
-
- All Implemented Interfaces:
MenuNode
- Direct Known Subclasses:
MenuCheckItem,MenuGroup,MenuSeparator
public class MenuItem extends java.lang.Object implements MenuNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classMenuItem.Realized-
Nested classes/interfaces inherited from interface de.sciss.gui.MenuNode
MenuNode.DummyAction
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.MapmapRealized-
Fields inherited from interface de.sciss.gui.MenuNode
IDENTIFIER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponentcreate(AbstractWindow w)protected javax.swing.JComponentcreateComponent(javax.swing.Action a)voiddestroy(AbstractWindow w)javax.swing.ActiongetAction()javax.swing.ActiongetAction(AbstractWindow w)java.lang.StringgetID()java.util.IteratorgetRealized()voidput(AbstractWindow w, javax.swing.Action a)voidremove(AbstractWindow w)voidsetEnabled(boolean b)
-
-
-
Method Detail
-
setEnabled
public void setEnabled(boolean b)
- Specified by:
setEnabledin interfaceMenuNode
-
put
public void put(AbstractWindow w, javax.swing.Action a)
-
remove
public void remove(AbstractWindow w)
-
getAction
public javax.swing.Action getAction(AbstractWindow w)
-
create
public javax.swing.JComponent create(AbstractWindow w)
-
createComponent
protected javax.swing.JComponent createComponent(javax.swing.Action a)
-
destroy
public void destroy(AbstractWindow w)
-
getRealized
public java.util.Iterator getRealized()
-
-