org.psychomad.psycholib.ui
Class EasyAbstractAction
java.lang.Object
javax.swing.AbstractAction
org.psychomad.psycholib.ui.EasyAbstractAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, EasyAbstractActionValues
public abstract class EasyAbstractAction
- extends javax.swing.AbstractAction
- implements EasyAbstractActionValues
This class represent action that can be used in application.
Furthermore it provide convenienci tools for the creation like
retreiving in the properties files the icon, name, tooltip and accelerator
for the key.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
GROUP
The group of action (enable to get a better interface in toolbar) |
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 |
EasyAbstractAction(java.lang.String actionName,
Config config,
Resources resources)
Construct a EasyAbstractAction object with all the values correctly set, ie
uses the name pass in arg to retreive all infos (image,tooltip,shortkey)
from the properties files and correctly update the 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 |
GROUP
public static final java.lang.String GROUP
- The group of action (enable to get a better interface in toolbar)
- See Also:
- Constant Field Values
EasyAbstractAction
public EasyAbstractAction(java.lang.String actionName,
Config config,
Resources resources)
- Construct a EasyAbstractAction object with all the values correctly set, ie
uses the name pass in arg to retreive all infos (image,tooltip,shortkey)
from the properties files and correctly update the action.
- Parameters:
actionName
- the default action name which is used to retreive infos
in the properties files.
Copyright 2006 null. All Rights Reserved.