| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv final Runnable |
| Access | Constructor and Description |
|---|---|
| public | PauseableThread(Runnable
the runnable. runnable)Constructs a new thread setting the runnable which will be called repeatedly in a loop. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| public void | |
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| public void |
| exit | back to summary |
|---|---|
| pack-priv boolean exit | |
| paused | back to summary |
|---|---|
| pack-priv boolean paused | |
| runnable | back to summary |
|---|---|
| pack-priv final Runnable runnable | |
| PauseableThread | back to summary |
|---|---|
| public PauseableThread(Runnable runnable) Constructs a new thread setting the runnable which will be called repeatedly in a loop.
| |
| isPaused | back to summary |
|---|---|
public boolean isPaused()
| |
| onPause | back to summary |
|---|---|
| public void onPause() Pauses the thread. This call is non-blocking | |
| onResume | back to summary |
|---|---|
| public void onResume() Resumes the thread. This call is non-blocking | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a | |
| stopThread | back to summary |
|---|---|
| public void stopThread() Stops this thread | |