public class Timer extends SoSystemTimer
Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
Timer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPending()
Return true if the timer is running.
|
void |
setDelay(int time)
Set the timer's timeout in milliseconds.
|
void |
setRepeat(boolean flag)
If set to true, the timer will be triggered periodically at the rate defined by setDelay.
|
void |
setTask(SoSystemTimerTask task)
Sets the task executed when the timer is triggered.
|
void |
start()
Start the timer.
|
void |
stop()
Stop the timer.
|
dispose, isDisposablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic void start()
SoSystemTimerstart in class SoSystemTimerpublic void stop()
SoSystemTimerstop in class SoSystemTimerpublic void setDelay(int time)
SoSystemTimersetDelay in class SoSystemTimerpublic boolean isPending()
SoSystemTimerisPending in class SoSystemTimerpublic void setRepeat(boolean flag)
SoSystemTimersetRepeat in class SoSystemTimerpublic void setTask(SoSystemTimerTask task)
SoSystemTimersetTask in class SoSystemTimerGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com