tico.editor.actions
Class TChangeGridOrderAction

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

public class TChangeGridOrderAction
extends TEditorAbstractAction

Action wich changes the order of a grid.

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
TChangeGridOrderAction(TEditor editor, TGrid grid, int order)
          Constructor for TChangeGridOrderAction.
 
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

TChangeGridOrderAction

public TChangeGridOrderAction(TEditor editor,
                              TGrid grid,
                              int order)
Constructor for TChangeGridOrderAction.

Parameters:
editor - The boards' editor
grid - The grid which is going to reordered.
order - The new order of the grid.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)