Package adams.gui.action
Class AbstractBaseActionWithGroup
- java.lang.Object
-
- javax.swing.AbstractAction
-
- adams.gui.action.AbstractBaseAction
-
- adams.gui.action.AbstractBaseActionWithGroup
-
- All Implemented Interfaces:
CleanUpHandler
,BaseAction
,BaseActionWithGroup
,ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public abstract class AbstractBaseActionWithGroup extends AbstractBaseAction implements BaseActionWithGroup
Ancestor for actions that support a group.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
GROUP
the key for the group.-
Fields inherited from class adams.gui.action.AbstractBaseAction
ASYNCHRONOUS
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
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
Constructors Constructor Description AbstractBaseActionWithGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroup()
Returns the group this action belongs to.void
setGroup(String value)
Sets the group of the action.-
Methods inherited from class adams.gui.action.AbstractBaseAction
actionPerformed, cleanUp, doActionPerformed, getAccelerator, getIcon, getMnemonic, getName, getToolTipText, hasAccelerator, hasIcon, hasMnemonic, hasToolTipText, initialize, isAsynchronous, isSelected, postActionPerformed, preActionPerformed, setAccelerator, setAsynchronous, setIcon, setIcon, setMnemonic, setName, setSelected, setToolTipText
-
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 javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Methods inherited from interface adams.gui.action.BaseAction
cleanUp, getAccelerator, getIcon, getMnemonic, getName, getToolTipText, hasAccelerator, hasMnemonic, hasToolTipText, isAsynchronous, isSelected, setAccelerator, setAsynchronous, setIcon, setIcon, setMnemonic, setName, setSelected, setToolTipText
-
-
-
-
Field Detail
-
GROUP
public static final String GROUP
the key for the group.- See Also:
- Constant Field Values
-
-
Method Detail
-
setGroup
public void setGroup(String value)
Sets the group of the action.- Specified by:
setGroup
in interfaceBaseActionWithGroup
- Parameters:
value
- the name of the group, null to unset
-
getGroup
public String getGroup()
Returns the group this action belongs to.- Specified by:
getGroup
in interfaceBaseActionWithGroup
- Returns:
- the name of the group, null if not set
-
-