uci.gef
Class CmdInsertPoint

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

public class CmdInsertPoint
extends Cmd

Cmd to insert a new point after the selected (last manipulated) point of a FigPoly.

See Also:
FigPoly, Serialized Form

Field Summary
protected  int _selectedHandle
           
 
Fields inherited from class uci.gef.Cmd
_args, HAS_ICON, NO_ICON
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
CmdInsertPoint()
           
CmdInsertPoint(int i)
           
 
Method Summary
 void doIt()
          Ask the current editor's selected Fig to Insert a point.
 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

_selectedHandle

protected int _selectedHandle
Constructor Detail

CmdInsertPoint

public CmdInsertPoint(int i)

CmdInsertPoint

public CmdInsertPoint()
Method Detail

doIt

public void doIt()
Ask the current editor's selected Fig to Insert a point.
Overrides:
doIt in class Cmd

undoIt

public void undoIt()
Overrides:
undoIt in class Cmd