uci.gef
Class CmdRemovePoint

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

public class CmdRemovePoint
extends Cmd

Cmd to remove the selected (last manipulated) point from 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
CmdRemovePoint()
           
CmdRemovePoint(int i)
           
 
Method Summary
 void doIt()
          Ask the current editor's selected Fig to remove its 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

CmdRemovePoint

public CmdRemovePoint()

CmdRemovePoint

public CmdRemovePoint(int i)
Method Detail

doIt

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

undoIt

public void undoIt()
Overrides:
undoIt in class Cmd