tico.imageGallery.actions
Class TIGAbstractAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by tico.imageGallery.actions.TIGAbstractAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
TIGAddKeyWordAction, TIGDeleteImageAction, TIGDeleteKeyWordAction, TIGExportDBAction, TIGImportDBAction, TIGInsertImageAction, TIGKeyWordGalleryAction, TIGManageGallery, TIGManageImageAction, TIGModifyImageAction, TIGOpenGallery, TIGUpdateKeyWordAction

public abstract class TIGAbstractAction
extends javax.swing.AbstractAction

An abstract Tico image gallery action. The base class for all image gallery actions.

Version:
0.1 Jan 18, 2008
Author:
Patricia M. Jaray
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
TIGAbstractAction()
          Constructor for TIGAbstractAction.
TIGAbstractAction(java.lang.String name)
          Constructor for TEditorAbstractAction.
TIGAbstractAction(TEditor editor)
          Constructor for TEditorAbstractAction.
TIGAbstractAction(TEditor editor, java.lang.String name)
          Constructor for TEditorAbstractAction.
TIGAbstractAction(TEditor editor, java.lang.String name, javax.swing.Icon icon)
          Constructor for TEditorAbstractAction.
 
Method Summary
 TEditor getEditor()
          Returns the TEditor.
 void setEditor(TEditor editor)
          Sets the TEditor.
 
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

TIGAbstractAction

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

See Also:
Action.NAME

TIGAbstractAction

public TIGAbstractAction(TEditor editor)
Constructor for TEditorAbstractAction. 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

TIGAbstractAction

public TIGAbstractAction(java.lang.String name)
Constructor for TEditorAbstractAction.

Parameters:
name - Key for the name of this action

TIGAbstractAction

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

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

TIGAbstractAction

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

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 TEditor.

Parameters:
editor - The TEditor to set

getEditor

public TEditor getEditor()
Returns the TEditor.

Returns:
TEditor