uci.gef
Class CmdReorder

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--uci.gef.Cmd
              |
              +--uci.gef.CmdReorder

public class CmdReorder
extends Cmd

Cmd to change the back-to-front ordering of Fig's.

See Also:
LayerDiagram.reorder(uci.gef.Fig, int), Serialized Form

Field Summary
static int BRING_FORWARD
           
static int BRING_TO_FRONT
           
static CmdReorder BringForward
           
static CmdReorder BringToFront
           
static int SEND_BACKWARD
           
static int SEND_TO_BACK
           
static CmdReorder SendBackward
           
static CmdReorder SendToBack
           
 
Fields inherited from class uci.gef.Cmd
_args, HAS_ICON, NO_ICON
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
CmdReorder(int f)
          Construct a new CmdReorder with the given reordering constrant (see above)
 
Method Summary
 void doIt()
           
 void undoIt()
           
protected static String wordFor(int f)
           
 
Methods inherited from class uci.gef.Cmd
about, actionPerformed, cmdAtIndex, containsArg, getArg, getArg, getName, register, registeredCmds, setArg, setName, shouldBeEnabled, updateEnabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEND_TO_BACK

public static final int SEND_TO_BACK

BRING_TO_FRONT

public static final int BRING_TO_FRONT

SEND_BACKWARD

public static final int SEND_BACKWARD

BRING_FORWARD

public static final int BRING_FORWARD

SendToBack

public static CmdReorder SendToBack

BringToFront

public static CmdReorder BringToFront

SendBackward

public static CmdReorder SendBackward

BringForward

public static CmdReorder BringForward
Constructor Detail

CmdReorder

public CmdReorder(int f)
Construct a new CmdReorder with the given reordering constrant (see above)
Method Detail

wordFor

protected static String wordFor(int f)

doIt

public void doIt()
Overrides:
doIt in class Cmd

undoIt

public void undoIt()
Overrides:
undoIt in class Cmd