net.groboclown.gui.paintpipe.v1
Class ZOrderPainter.ZOrderCollection
java.lang.Object
|
+--net.groboclown.gui.paintpipe.v1.ZOrderPainter.ZOrderCollection
- All Implemented Interfaces:
- Collection
- Enclosing class:
- ZOrderPainter
- class ZOrderPainter.ZOrderCollection
- extends Object
- implements Collection
The only operations used are:
clear(), add( Object ), and iterator(). Iterator must implement all
the methods provided. Othre than that, no other operator is
implemented.
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
ZOrderPainter.ZOrderCollection
ZOrderPainter.ZOrderCollection()
add
public boolean add(Object pe)
- Processes the next PaintEvent from the input queue.
It doesn't have to post any output events, but it can.
This puts the event into the proper location, depending on the
Z-Depth. Unknown events are ignored. When a Z-depth is ready
for outputting to the pipe, processImage is called.
Events to a to-be fired event depth are overridden, and previously
fired depth events are ignored.
- Specified by:
add in interface Collection
- Parameters:
pe - the event which is to be processed.
clear
public void clear()
- Resets the list for another frame.
- Specified by:
clear in interface Collection
iterator
public Iterator iterator()
- Creates an iterator for the list.
- Specified by:
iterator in interface Collection
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Collection
addAll
public boolean addAll(Collection c)
- Specified by:
addAll in interface Collection
contains
public boolean contains(Object o)
- Specified by:
contains in interface Collection
containsAll
public boolean containsAll(Collection c)
- Specified by:
containsAll in interface Collection
remove
public boolean remove(Object o)
- Specified by:
remove in interface Collection
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAll in interface Collection
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAll in interface Collection
size
public int size()
- Specified by:
size in interface Collection
toArray
public Object[] toArray()
- Specified by:
toArray in interface Collection
toArray
public Object[] toArray(Object[] o)
- Specified by:
toArray in interface Collection
advancePointer
private void advancePointer()
processDepth
private void processDepth()
Written under the LGPL