|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.lib.io.output.state.StateModel
public class StateModel
Holds all the information about a state
Field Summary | |
---|---|
static int |
END_STATE_ID
Constant used to indicate end of the state diagram |
static int |
UNINITIALIZED_ID
Constant used to indicate incorrect state id |
Constructor Summary | |
---|---|
StateModel(java.util.Vector contentVector)
|
Method Summary | |
---|---|
java.lang.String |
getImageFileName()
Returns the name of the image file for this state |
java.lang.String |
getMessage()
Returns the message for this state |
int |
getStateId()
Returns the id of this state |
java.lang.String |
getStateType()
Returns the type of this state |
java.util.Vector |
getTransitions()
Returns a clone of the transition vector for this state |
boolean |
hasImage()
Returns whether an image file has been specified for this state |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNINITIALIZED_ID
public static final int END_STATE_ID
Constructor Detail |
---|
public StateModel(java.util.Vector contentVector)
Method Detail |
---|
public java.lang.String getStateType()
public int getStateId()
public java.lang.String getMessage()
public boolean hasImage()
public java.lang.String getImageFileName()
public java.util.Vector getTransitions()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |