|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
int |
actionChosen()
return the action number in AllNames of the last action chosen and executed |
java.lang.String |
actionNameChosen()
return the action name of the last action chosen and executed |
java.lang.String[] |
getAllNames()
|
java.lang.String[] |
getMenuNames()
|
boolean |
getPriority()
returns true if priority actions are low priority flase if they are low priority |
java.util.BitSet |
getPriorityActions()
returns the bitset of menu actions with higher/lower priority |
boolean |
hasErrorTrace()
|
java.util.BitSet |
initialise(java.util.Vector menu)
initialises the Animator with the list of actions that are to be controlled menu is a vector of strings returns bitset of eligible menu actions |
boolean |
isEnd()
return true if END state has been reached |
boolean |
isError()
return true if error state has been reached |
java.util.BitSet |
menuStep(int choice)
causes the Animator to take a single step by choosing one of the eligible menu actions returns a bitset of eligible menu actions |
void |
message(java.lang.String msg)
|
boolean |
nonMenuChoice()
returns true if there is an eligible action that is not a menu action |
java.util.BitSet |
singleStep()
causes the Animator to take a single step by choosing one of the eligible non-menu actions |
boolean |
traceChoice()
|
java.util.BitSet |
traceStep()
|
Method Detail |
public java.util.BitSet initialise(java.util.Vector menu)
public java.lang.String[] getMenuNames()
public java.lang.String[] getAllNames()
public java.util.BitSet menuStep(int choice)
public java.util.BitSet singleStep()
public int actionChosen()
public java.lang.String actionNameChosen()
public boolean isError()
public boolean isEnd()
public boolean nonMenuChoice()
public java.util.BitSet getPriorityActions()
public boolean getPriority()
public void message(java.lang.String msg)
public boolean hasErrorTrace()
public boolean traceChoice()
public java.util.BitSet traceStep()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |