net.clackrouter.actions
Class AbstractActionCheckBox
java.lang.Object
javax.swing.AbstractAction
net.clackrouter.actions.AbstractActionDefault
net.clackrouter.actions.AbstractActionToggle
net.clackrouter.actions.AbstractActionCheckBox
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, TranslatorConstants
public abstract class AbstractActionCheckBox
- extends AbstractActionToggle
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface net.clackrouter.jgraph.pad.resources.TranslatorConstants |
PREFIX_COMPONENT, PREFIX_MESSAGE_ERROR, PREFIX_MESSAGE_INFORMATION, PREFIX_MESSAGE_WARING, SUFFIX_ACCELERATOR, SUFFIX_ACTION, SUFFIX_ICON, SUFFIX_IMAGE, SUFFIX_LABEL, SUFFIX_MENU, SUFFIX_MNEMONIC, SUFFIX_TEXT, SUFFIX_TITLE, SUFFIX_TOOL_TIP_TEXT |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Method Summary |
protected java.awt.Component |
getMenuComponent(java.lang.String actionCommand)
Returns a JMenuItem with a link to this action. |
protected java.awt.Component |
getToolComponent(java.lang.String actionCommand)
Returns a clean JButton which has a link to this action. |
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 |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
AbstractActionCheckBox
public AbstractActionCheckBox(ClackFramework graphpad)
- Constructor for AbstractActionCheckBox.
- Parameters:
graphpad
-
AbstractActionCheckBox
public AbstractActionCheckBox(ClackFramework graphpad,
java.lang.String name)
- Constructor for AbstractActionCheckBox.
- Parameters:
graphpad
- name
-
AbstractActionCheckBox
public AbstractActionCheckBox(ClackFramework graphpad,
java.lang.String name,
javax.swing.Icon icon)
- Constructor for AbstractActionCheckBox.
- Parameters:
graphpad
- name
- icon
-
getMenuComponent
protected java.awt.Component getMenuComponent(java.lang.String actionCommand)
- Description copied from class:
AbstractActionDefault
- Returns a JMenuItem with a link to this action.
- Overrides:
getMenuComponent
in class AbstractActionDefault
- See Also:
AbstractActionDefault.getMenuComponent(String)
getToolComponent
protected java.awt.Component getToolComponent(java.lang.String actionCommand)
- Description copied from class:
AbstractActionDefault
- Returns a clean JButton which has a link to this action.
- Overrides:
getToolComponent
in class AbstractActionDefault
- See Also:
AbstractActionDefault.getToolComponent(String)