|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractAction | +--de.kosi.gui.action.CAction
CAction implements a localized action.
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 | |
CAction(java.lang.String name)
Initializes the action object. |
Method Summary | |
boolean |
checkEnabled()
Tells whether this action should be enabled or not. |
java.lang.String |
getName()
Returns this action's name which is different from it's name property. |
void |
resourceBundleChanged(CResourceBundle resourceBundle)
This method is called, when the resourcebundle changes. |
Methods inherited from class javax.swing.AbstractAction |
actionPerformed, addPropertyChangeListener, clone, firePropertyChange, getKeys, 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 CAction(java.lang.String name)
name
- the name of this action.Method Detail |
public void resourceBundleChanged(CResourceBundle resourceBundle)
resourceBundleChanged
in interface ResourceBundleChangeListener
resourceBundle
- The resource bundle that changed.public java.lang.String getName()
public boolean checkEnabled()
true
if the action should be enabled.
This implementation always returns true.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |