|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.util.display.RenderingQueue
public class RenderingQueue
A helper class representing rendering and picking queues. This functionality is listed separately to keep the Display implementation a bit cleaner. Fields are public and used directly by a single Display instance.
Field Summary | |
---|---|
VisualItem[] |
pitems
|
int[] |
pscores
|
int |
psize
|
boolean |
psorted
|
VisualItem[] |
ritems
|
int[] |
rscores
|
int |
rsize
|
ItemSorter |
sort
|
Constructor Summary | |
---|---|
RenderingQueue()
|
Method Summary | |
---|---|
void |
addToPickingQueue(VisualItem item)
Add an item to the picking queue. |
void |
addToRenderQueue(VisualItem item)
Add an item to the rendering queue. |
void |
clean()
Clears the rendering queue and resizes internal arrays to a small size. |
void |
clear()
Clear both rendering and picking queues. |
void |
sortPickingQueue()
Sort the picking queue. |
void |
sortRenderQueue()
Sort the rendering queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ItemSorter sort
public VisualItem[] ritems
public int[] rscores
public int rsize
public VisualItem[] pitems
public int[] pscores
public int psize
public boolean psorted
Constructor Detail |
---|
public RenderingQueue()
Method Detail |
---|
public void clear()
public void clean()
public void addToRenderQueue(VisualItem item)
item
- the item to addpublic void addToPickingQueue(VisualItem item)
item
- the item to addpublic void sortRenderQueue()
public void sortPickingQueue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |