| net.gtaun.shoebill.object.Timer |
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | Timer.TimerCallback | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | COUNT_INFINITE | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract static Timer |
create(int interval, int count)
Create a Timer with params.
| ||||||||||
| abstract static Timer |
create(int interval, Timer.TimerCallback callback)
Create a Timer with params.
| ||||||||||
| abstract static Timer |
create(int interval, int count, Timer.TimerCallback callback)
Create a Timer with params.
| ||||||||||
| abstract static Timer |
create(int interval)
Create a Timer with params.
| ||||||||||
| abstract int | getCount() | ||||||||||
| abstract int | getInterval() | ||||||||||
| abstract boolean | isRunning() | ||||||||||
| abstract void | setCallback(Timer.TimerCallback callback) | ||||||||||
| abstract void | setCount(int count) | ||||||||||
| abstract void | setInterval(int ms) | ||||||||||
| abstract void | start() | ||||||||||
| abstract void | stop() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
net.gtaun.shoebill.object.Destroyable
| |||||||||||
Create a Timer with params.
| interval | The interval in miliseconds. |
|---|---|
| count | How often the Timer will get called. |
Create a Timer with params.
| interval | The interval in miliseconds. |
|---|---|
| callback | The callback which will get invoked after the interval. |
Create a Timer with params.
| interval | The interval in miliseconds. |
|---|---|
| count | How often the Timer will get called. |
| callback | The callback which will get invoked after the interval. |
Create a Timer with params.
| interval | The interval in miliseconds. |
|---|