tico.editor.actions
Class TAddGridCellAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by tico.editor.actions.TEditorAbstractAction
          extended by tico.editor.actions.TAddGridCellAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class TAddGridCellAction
extends TEditorAbstractAction

Action wich adds a new grid cell in a grid asking its position.

Version:
1.0 Nov 20, 2006
Author:
Pablo Muñoz
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
TAddGridCellAction(TEditor editor, TGrid grid)
          Constructor of the TAddGridCellAction.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class tico.editor.actions.TEditorAbstractAction
getEditor, setEditor
 
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
 

Constructor Detail

TAddGridCellAction

public TAddGridCellAction(TEditor editor,
                          TGrid grid)
Constructor of the TAddGridCellAction.

Parameters:
editor - The boards' editor
grid - The grid in which the new TGridCell is going to be inserted.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
See Also:
ActionListener.actionPerformed(ActionEvent)