Method Summary |
|
public void | addAction(Action action) Adds a new action to this queue.
Parameters: action - new action to add. |
public void | end() Stops this queue thread.
none. |
abstract protected int | getActionDelay() Returns the time to wait between two actions.
none. |
abstract protected int | getCycleDelay() Returns the time to wait after each cycle.
none. |
abstract protected int | getEmptyCycleDelay() Returns the time to wait between empty cycles.
none. |
protected void | informCycle() Called after each cycle.
none. |
final protected void | initialize(GUI gui) Sets the current GUI instance.
Parameters: GUI - current GUI instance. |
public void | interrupt(Action.InterruptCause cause) Stops this queue thread.
Parameters: cause - cause. |
public synchronized boolean | isExhausted() Checks that the timeout occured.
none. |
public void | removeAction(Action action) Removes an action from this queue.
Parameters: action - action to remove. |
public void | removeVisualElements(VisualElement visual_parent) Detaches this queue from the selected parent.
Parameters: visual_parent - selected parent. |
public void | run() Loops among the actions currently in this queue.
none. |
public int | size() Returns the size of the queue.
none. |