tico.editor.actions
Class TBoardAbstractAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by tico.editor.actions.TBoardAbstractAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
TProjectExitAction

public abstract class TBoardAbstractAction
extends javax.swing.AbstractAction

An abstract TBoard action. The base class for all TBoard actions.

Version:
0.1 Jul 11, 2006
Author:
bleras
See Also:
Serialized Form

Field Summary
 
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
TBoardAbstractAction()
          Constructor for TBoardAbstractAction.
TBoardAbstractAction(java.lang.String name)
          Constructor for TBoardAbstractAction.
TBoardAbstractAction(TEditor editor)
          Constructor for TBoardAbstractAction.
TBoardAbstractAction(TEditor editor, java.lang.String name)
          Constructor for TBoardAbstractAction.
TBoardAbstractAction(TEditor editor, java.lang.String name, javax.swing.Icon icon)
          Constructor for TBoardAbstractAction.
 
Method Summary
 TEditor getEditor()
          Returns the TEditor.
 void setEditor(TEditor editor)
          Sets the graphpad.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

TBoardAbstractAction

public TBoardAbstractAction()
Constructor for TBoardAbstractAction. The Abstract action uses the class name without package prefix as action name.

See Also:
Action.NAME

TBoardAbstractAction

public TBoardAbstractAction(TEditor editor)
Constructor for TBoardAbstractAction. The Abstract action uses the class name without package prefix as action name.

Parameters:
editor - The reference to the TEditor for this action
See Also:
Action.NAME

TBoardAbstractAction

public TBoardAbstractAction(java.lang.String name)
Constructor for TBoardAbstractAction.

Parameters:
name - Key for the name of this action

TBoardAbstractAction

public TBoardAbstractAction(TEditor editor,
                            java.lang.String name)
Constructor for TBoardAbstractAction.

Parameters:
editor - The reference to the TEditor for this action
name - Key for the name of this action

TBoardAbstractAction

public TBoardAbstractAction(TEditor editor,
                            java.lang.String name,
                            javax.swing.Icon icon)
Constructor for TBoardAbstractAction.

Parameters:
editor - The reference to the TEditor for this action
name - Key for the name of the action
icon - The icon for this action
Method Detail

setEditor

public void setEditor(TEditor editor)
Sets the graphpad.

Parameters:
editor - The TEditor to set

getEditor

public TEditor getEditor()
Returns the TEditor.

Returns:
TEditor