Package de.mid.innovator.m2msdk.ui.model
Class MenuAction
java.lang.Object
de.mid.innovator.m2msdk.ui.model.MenuAction
- All Implemented Interfaces:
ActionListener,EventListener,Action
A menu action created for each popup menu item with a user action and a
configuration tag or workflow step or option check or parameter.
- Version:
- 10.1.1
- Author:
- jmback
-
Field Summary
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsConstructorDescriptionMenuAction(SessionInterface iSession, JComponent iComponent, UserAction iAction) MenuAction(SessionInterface iSession, JComponent iComponent, UserAction iAction, String iType) MenuAction(SessionInterface iSession, JComponent iComponent, UserAction iAction, String iType, String iId) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetId()getType()booleanvoidvoidvoidsetEnabled(boolean b) toString()
-
Constructor Details
-
MenuAction
public MenuAction(SessionInterface iSession, JComponent iComponent, UserAction iAction, String iType, String iId) -
MenuAction
public MenuAction(SessionInterface iSession, JComponent iComponent, UserAction iAction, String iType) -
MenuAction
-
-
Method Details
-
getUserAction
-
getType
-
getId
-
getComponent
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListenerin interfaceAction
-
getValue
-
isEnabled
public boolean isEnabled() -
putValue
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfaceAction
-
setEnabled
public void setEnabled(boolean b) - Specified by:
setEnabledin interfaceAction
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
toString
-