tico.editor.actions
Class TReorderGridAction

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

public class TReorderGridAction
extends TEditorAbstractAction

Action wich reorder all the selected grid cells positions and sizes making all the cells have the same size of the first cell and making equal its distances with the prvious one.

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
TReorderGridAction(TEditor editor, TGrid grid)
          Constructor for TCopyAction.
 
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

TReorderGridAction

public TReorderGridAction(TEditor editor,
                          TGrid grid)
Constructor for TCopyAction.

Parameters:
editor - The boards' editor
grid - The grid in which tis goinf to be reordered.
Method Detail

actionPerformed

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