com.bbn.openmap.omGraphics.editable
Class PolyStateMachine
java.lang.Object
com.bbn.openmap.util.stateMachine.StateMachine
com.bbn.openmap.omGraphics.editable.EOMGStateMachine
com.bbn.openmap.omGraphics.editable.PolyStateMachine
public class PolyStateMachine
- extends EOMGStateMachine
Methods inherited from class com.bbn.openmap.util.stateMachine.StateMachine |
addStates, getResetState, getState, getState, getStates, reset, setMapMouseListenerResponses, setResetState, setResetState, setState, setState, setStateAt, setStates, setStates |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POLY_ADD_POINT
public static final int POLY_ADD_POINT
- See Also:
- Constant Field Values
POLY_ADD_NODE
public static final int POLY_ADD_NODE
- See Also:
- Constant Field Values
POLY_DELETE_NODE
public static final int POLY_DELETE_NODE
- See Also:
- Constant Field Values
PolyStateMachine
public PolyStateMachine(EditableOMPoly p)
init
protected State[] init()
- Overrides:
init
in class EOMGStateMachine
setAddPoint
public void setAddPoint()
- State where points are added to the end of the polyline.
setAddNode
public void setAddNode()
- State where a node is duplicated if you click on it.
setDeleteNode
public void setDeleteNode()
- State where a node is deleted if you click on it.
setSelected
public void setSelected()
- Overrides:
setSelected
in class EOMGStateMachine
setUnselected
public void setUnselected()
- Overrides:
setUnselected
in class EOMGStateMachine
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details