org.universAAL.ui.handler.gui.swing.model.FormControl.support
Class TaskQueue

Package class diagram package TaskQueue
java.lang.Object
  extended by 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

Constructor Summary
TaskQueue()
           
 
Method Summary
static void addTask(Runnable task)
          Add a new task to the queue.
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskQueue

public TaskQueue()
Method Detail

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.