public class StopWatch extends AbstractStateMachine
AbstractStateMachine.EntryListener
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_RESET
The events for the stop watch.
|
static String |
EVENT_SPLIT
The events for the stop watch.
|
static String |
EVENT_START
The events for the stop watch.
|
static String |
EVENT_STOP
The events for the stop watch.
|
static String |
EVENT_UNSPLIT
The events for the stop watch.
|
Constructor and Description |
---|
StopWatch() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentState() |
String |
getDisplay() |
void |
paused() |
void |
reset() |
void |
running() |
void |
stopped() |
fireEvent, getEngine, getLog, invoke, logError, resetMachine, setLog
public static final String EVENT_START
public static final String EVENT_STOP
public static final String EVENT_SPLIT
public static final String EVENT_UNSPLIT
public static final String EVENT_RESET
public StopWatch() throws ModelException
ModelException
public void reset()
public void running()
public void paused()
public void stopped()
public String getDisplay()
public String getCurrentState()
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.