uci.gef
Class CmdSelectNext

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

public class CmdSelectNext
extends Cmd

Cmd to select the next (or previous) Fig in the editor's current view. This is very convienent for moving among lots of small Figs. It also provides a simple example of an Cmd that is bound to a key.

See Also:
JGraph.initKeys(), Serialized Form

Field Summary
static String DIR
           
static String DIR_NEXT
           
static String DIR_PREV
           
 
Fields inherited from class uci.gef.Cmd
_args, HAS_ICON, NO_ICON
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
CmdSelectNext()
           
CmdSelectNext(boolean next)
           
CmdSelectNext(String d)
           
 
Method Summary
 void doIt()
           
 void undoIt()
           
 
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

DIR

public static final String DIR

DIR_NEXT

public static final String DIR_NEXT

DIR_PREV

public static final String DIR_PREV
Constructor Detail

CmdSelectNext

public CmdSelectNext()

CmdSelectNext

public CmdSelectNext(boolean next)

CmdSelectNext

public CmdSelectNext(String d)
Method Detail

doIt

public void doIt()
Overrides:
doIt in class Cmd

undoIt

public void undoIt()
Overrides:
undoIt in class Cmd