org.universAAL.ui.dm.dialogManagement
Class NonRedundantDialogPriorityQueue

Package class diagram package NonRedundantDialogPriorityQueue
java.lang.Object
  extended by org.universAAL.ui.dm.dialogManagement.DialogPriorityQueue
      extended by org.universAAL.ui.dm.dialogManagement.NonRedundantDialogPriorityQueue
All Implemented Interfaces:
IUIRequestPool

public class NonRedundantDialogPriorityQueue
extends DialogPriorityQueue

This class will work as DialogPriorityQueue, except it will monitor Forms of the UIRequests to check there is no redundancy, ie: no two request with the same form.

Author:
amedrano

Constructor Summary
NonRedundantDialogPriorityQueue()
           
 
Method Summary
 void add(UIRequest UIReq)
          Add a new UIRequest.
 void close(String UIReqID)
          Remove the UIRequest corresponding with UIReqID from any set it belongs to. if the UIRequest is the current request, then after this call IUIRequestPool.getCurrent() == null.
 
Methods inherited from class org.universAAL.ui.dm.dialogManagement.DialogPriorityQueue
get, getCurrent, getNextUIRequest, hasToChange, listAllActive, listAllSuspended, removeAll, suspend, unsuspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonRedundantDialogPriorityQueue

public NonRedundantDialogPriorityQueue()
Method Detail

add

public void add(UIRequest UIReq)
Add a new UIRequest. Directly to the active set.

Specified by:
add in interface IUIRequestPool
Overrides:
add in class DialogPriorityQueue

close

public void close(String UIReqID)
Remove the UIRequest corresponding with UIReqID from any set it belongs to. if the UIRequest is the current request, then after this call IUIRequestPool.getCurrent() == null.

Specified by:
close in interface IUIRequestPool
Overrides:
close in class DialogPriorityQueue


Copyright © 2014 universAAL Consortium. All Rights Reserved.