|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction org.xnap.action.AbstractXNapAction org.xnap.gui.action.SubmenuAction
public class SubmenuAction
Provides an action that provides a submenu.
Field Summary |
---|
Fields inherited from class org.xnap.action.AbstractXNapAction |
---|
DEFAULT_KEYSTROKE, SHORTCUT_CATEGORY, SHORTCUT_DESCRIPTION, XNAP_ICON |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
SubmenuAction(javax.swing.Action[] actions)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Does nothing. |
javax.swing.JMenu |
createMenu()
|
javax.swing.Action[] |
getActions()
Returns the actions to be shown in the tool bar. |
Methods inherited from class org.xnap.action.AbstractXNapAction |
---|
setEnabledLater |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubmenuAction(javax.swing.Action[] actions)
Method Detail |
---|
public javax.swing.JMenu createMenu()
public javax.swing.Action[] getActions()
ActionProvider
getActions
in interface ActionProvider
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |