org.universAAL.ui.handler.gui.swing.model.FormControl.support
Class TaskQueue
java.lang.Object
org.universAAL.ui.handler.gui.swing.model.FormControl.support.TaskQueue
- All Implemented Interfaces:
- Runnable
public class TaskQueue
- extends Object
- implements Runnable
Executes Tasks sequentially in FIFO order.
- Author:
- amedrano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskQueue
public TaskQueue()
addTask
public static void addTask(Runnable task)
- Add a new task to the queue.
- Parameters:
task
- the task to be executed when the rest of the tasks are over.
run
public void run()
-
- Specified by:
run
in interface Runnable
Copyright © 2014 universAAL Consortium. All Rights Reserved.