|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.util.Action
public abstract class Action
This class defines an action which is executed as a thread. If it is called another time, the current thread is skipped.
| Constructor Summary | |
|---|---|
Action()
|
|
| Method Summary | |
|---|---|
boolean |
cancel()
Stops the current process. |
void |
delay(int ms)
Sleeps for a while and executes the action afterwards. |
void |
execute()
Creates a new action thread. |
boolean |
running()
Checks if the process is running. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Constructor Detail |
|---|
public Action()
| Method Detail |
|---|
public final void execute()
public final void delay(int ms)
ms - number of milliseconds to wait before executionspublic final boolean cancel()
public final boolean running()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||