Class DisplayQueue
java.lang.Object
|
+--DisplayQueue
- public class DisplayQueue
- extends java.lang.Object
A queue of the most recently accessed 3D VR objects.
Field Summary |
protected DATA |
info
|
protected java.util.LinkedList |
queue
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queue
protected java.util.LinkedList queue
info
protected DATA info
DisplayQueue
public DisplayQueue(DATA info)
- Default Constructor.
Sets up the queue.
add
public void add(OREntry object)
- Add a new object to the display queue.
If the object is already in the display queue, it is moved
to the front of the queue.
- Parameters:
object
- OREntry to add to list.
trim_displayed
public void trim_displayed(Variable variable)
- Remove objects from variable which are not in the display list.
- Parameters:
variable
- Varialbe to trim.
trim_not_displayed
public void trim_not_displayed(Variable variable)
- Remove objects from variable which are in the display list.
- Parameters:
variable
- Varialbe to trim.
trim_recent
public void trim_recent(Variable variable)
- Trim all object except the most recently accesed one.
- Parameters:
variable
- Varible to trim.
trim_oldest
public void trim_oldest(Variable variable)
- Trim all object except the least recently accesed one.
- Parameters:
variable
- Varible to trim.