|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
csheets.ui.ctrl.BaseAction
public abstract class BaseAction
An base-class for actions.
| Field Summary |
|---|
| 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 | |
|---|---|
BaseAction()
Creates a new base action. |
|
| Method Summary | |
|---|---|
protected void |
defineProperties()
Defines the action's properties. |
protected abstract String |
getName()
Returns the action's name. |
protected boolean |
requiresFile()
Returns whether the action requires the active workbook to be stored in a file in order to be enabled. |
protected boolean |
requiresModification()
Returns whether the action requires the active workbook to be modified in order to be enabled. |
protected void |
showErrorDialog(Object message)
Shows the user an error message. |
| 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 |
| Constructor Detail |
|---|
public BaseAction()
| Method Detail |
|---|
protected abstract String getName()
protected void defineProperties()
protected boolean requiresModification()
protected boolean requiresFile()
protected void showErrorDialog(Object message)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||