|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bbn.openmap.layer.util.stateMachine.StateMachine | +--com.bbn.openmap.omGraphics.editable.EOMGStateMachine | +--com.bbn.openmap.omGraphics.editable.ListStateMachine
Field Summary |
Fields inherited from class com.bbn.openmap.omGraphics.editable.EOMGStateMachine |
DEFAULT_NUMBER_STATES, graphic, GRAPHIC_EDIT, GRAPHIC_SELECTED, GRAPHIC_SETOFFSET, GRAPHIC_UNDEFINED, GRAPHIC_UNSELECTED, NUMBER_STATES, offsetNeeded |
Fields inherited from class com.bbn.openmap.layer.util.stateMachine.StateMachine |
currentState, resetState, states |
Constructor Summary | |
ListStateMachine(EditableOMGraphicList list)
|
Method Summary | |
protected State[] |
init()
|
boolean |
isOffsetNeeded()
Check to see if the graphic offset point needs to be defined. |
void |
setState(int state)
Set the current state to the state residing in the vector at the given index. |
Methods inherited from class com.bbn.openmap.omGraphics.editable.EOMGStateMachine |
setEdit, setOffset, setOffsetNeeded, setSelected, setUndefined, setUnselected |
Methods inherited from class com.bbn.openmap.layer.util.stateMachine.StateMachine |
getResetState, getState, getState, reset, setMapMouseListenerResponses, setResetState, setResetState, setState, setStates |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ListStateMachine(EditableOMGraphicList list)
Method Detail |
protected State[] init()
init
in class EOMGStateMachine
public boolean isOffsetNeeded()
isOffsetNeeded
in class EOMGStateMachine
public void setState(int state)
StateMachine
setState
in class StateMachine
state
- the index of the current state.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |