|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgestIT.TmpExp
public class TmpExp
Class that represent a generic gesture building block
Field Summary | |
---|---|
EventListenerList |
Completed
Event Listener List that handle 'Completed' Event |
EventListenerList |
Error
Event Listener List that handle 'Error' Event |
boolean |
Iterative
Flag for iterative or non iterive building block |
boolean |
Optional
Flag for optional or non optional building block |
TmpExp |
Parent
Reference to the parent building block |
EventListenerList |
Performing
Event Listener List that handle 'Performing' Event |
ExecState |
state
Current status of the building block |
ExpType |
type
Type of the building block |
Constructor Summary | |
---|---|
TmpExp()
Constructor to create a new generic building block, no iterative and no optional; initally disabled. |
Method Summary | |
---|---|
void |
addCompletedListener(StateChangedHandler lst)
Add a new listener for 'Completed' events |
void |
addErrorListener(StateChangedHandler lst)
Add a new listener for 'Error' events |
void |
addOnStateChangedListener(StateChangedHandler lst)
Add a new listener for 'StateChanged' events |
void |
addPerformingListener(StateChangedHandler lst)
Add a new listener for 'Performing' events |
ExecState |
getState()
Getter for the actual building block state |
void |
removeCompletedListener(StateChangedHandler lst)
Remove a listener for 'Completed' events |
void |
removeErrorListener(StateChangedHandler lst)
Remove a listener for 'Error' events |
void |
removeOnStateChangedListener(StateChangedHandler lst)
Remove a listener for 'StateChanged' events |
void |
removePerformingListener(StateChangedHandler lst)
Remove a listener for 'Performing' events |
void |
SetExecState(ExecState st,
Token tk)
Method for changing the execution state of a building block |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public EventListenerList Completed
public EventListenerList Error
public EventListenerList Performing
public ExecState state
public ExpType type
public boolean Iterative
public boolean Optional
public TmpExp Parent
Constructor Detail |
---|
public TmpExp()
Method Detail |
---|
public void SetExecState(ExecState st, Token tk)
st
- The new state for the building blocktk
- The token that must be passedpublic ExecState getState()
public void addOnStateChangedListener(StateChangedHandler lst)
lst
- The listener that will be added to the list of listenerspublic void removeOnStateChangedListener(StateChangedHandler lst)
lst
- The listener that will be removed to the list of listenerspublic void addCompletedListener(StateChangedHandler lst)
lst
- The listener that will be added to the list of listenerspublic void removeCompletedListener(StateChangedHandler lst)
lst
- The listener that will be removed to the list of listenerspublic void addErrorListener(StateChangedHandler lst)
lst
- The listener that will be added to the list of listenerspublic void removeErrorListener(StateChangedHandler lst)
lst
- The listener that will be removed to the list of listenerspublic void addPerformingListener(StateChangedHandler lst)
lst
- The listener that will be added to the list of listenerspublic void removePerformingListener(StateChangedHandler lst)
lst
- The listener that will be removed to the list of listeners
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |