public final class Chronometer extends Object
| Constructor and Description |
|---|
Chronometer() |
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedTime() |
boolean |
isOver()
Check if the started duration is over
|
void |
start()
Start the chronometer with infinite duration
|
void |
start(long duration)
Start the chronometer
|
void |
stop()
stop the chronometer
|
public void start(long duration)
duration - the duration in millisecondspublic void start()
public long getElapsedTime()
public void stop()
public boolean isOver()
Copyright © 2012–2017 Tango Controls. All rights reserved.