|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.umu.cs.SequenceDiagramEditor.CurrentState
This class represents the current state of a class and defines different states.
Field Summary | |
static int |
CHANGE
The state when an entity can be changed. |
private int |
currentState
The currentstate of the class. |
static int |
DRAGGING_END
The state when the end of an entity can be changed. |
static int |
DRAGGING_START
The state when the start of an entity can be changed. |
static int |
FIND_END_POINT
The state when finding a endpoint. |
static int |
INSERT
The state when inserting a new entity. |
static int |
MOVE_OBJECT
The state when an entity can be moved. |
static int |
NORMAL
The normal state. |
static int |
RUBBERBAND
The state when a message is being drawn. |
Constructor Summary | |
CurrentState()
The constructor of the class. |
Method Summary | |
int |
getCurrentState()
This method returns the current state of the class. |
void |
setCurrentState(int s)
This method sets the current state of this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NORMAL
public static final int INSERT
public static final int FIND_END_POINT
public static final int RUBBERBAND
public static final int CHANGE
public static final int DRAGGING_END
public static final int DRAGGING_START
public static final int MOVE_OBJECT
private int currentState
Constructor Detail |
public CurrentState()
Method Detail |
public void setCurrentState(int s)
s
- The current state.public int getCurrentState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |