|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.stanford.hci.dtools.RunModeTracker
public class RunModeTracker
This software is distributed under the BSD License.
| Constructor Summary | |
|---|---|
RunModeTracker()
|
|
| Method Summary | |
|---|---|
void |
componentStateChanged(InputComponent component)
Translate a hardware event into a meaningful action (i.e. |
StateModel |
getCurrentState()
Returns the state which is currently active, or null if no such state |
boolean |
getRecording()
|
StateModel |
getStartState()
Returns the state which is registered as the state to jump to when starting run mode |
void |
setCurrentState(StateModel state)
Changes the state which is currently active in run mode (red border) |
void |
setRecording(boolean r)
|
void |
setStartState(StateModel state)
Changes the state which Run Mode jumps to when activated |
void |
startRecording()
|
void |
stopRecording()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunModeTracker()
| Method Detail |
|---|
public StateModel getCurrentState()
public StateModel getStartState()
public void setCurrentState(StateModel state)
state - public void setStartState(StateModel state)
state - public void componentStateChanged(InputComponent component)
componentStateChanged in interface HardwareInputEventListenerpublic boolean getRecording()
public void setRecording(boolean r)
public void startRecording()
public void stopRecording()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||