org.universAAL.ui.dm.dialogManagement
Class NonRedundantDialogPriorityQueue
java.lang.Object
org.universAAL.ui.dm.dialogManagement.DialogPriorityQueue
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
Form
s of the UIRequest
s to check there is no redundancy, ie:
no two request with the same form.
- Author:
- amedrano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonRedundantDialogPriorityQueue
public NonRedundantDialogPriorityQueue()
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.