edu.umd.cs.jazz.util
Class ZListImpl.ZNodeListImpl

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--edu.umd.cs.jazz.util.ZListImpl
                    |
                    +--edu.umd.cs.jazz.util.ZListImpl.ZNodeListImpl
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable, ZList, ZList.ZNodeList
Enclosing class:
ZListImpl

public static class ZListImpl.ZNodeListImpl
extends ZListImpl
implements ZList.ZNodeList

For each type of array that we had we should have a subclass that suplies its own element data of that type. NOTE ZArrayList should become abstract each subclass being forced to provide an array to store the data in. this way subclasses can also provide type specific methods. So the ZNodeList could have a agragate getBoundsReference() method that gets the bounds of all objects in the list.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class edu.umd.cs.jazz.util.ZListImpl
ZListImpl.ZBoundsListImpl, ZListImpl.ZCameraListImpl, ZListImpl.ZLayerGroupListImpl, ZListImpl.ZNodeListImpl, ZListImpl.ZObjectListImpl, ZListImpl.ZPropertyListImpl, ZListImpl.ZSceneGraphObjectListImpl, ZListImpl.ZTransformableListImpl, ZListImpl.ZVisualComponentListImpl
 
Nested classes inherited from class edu.umd.cs.jazz.util.ZList
ZList.ZBoundsList, ZList.ZCameraList, ZList.ZLayerGroupList, ZList.ZNodeList, ZList.ZPropertyList, ZList.ZSceneGraphObjectList, ZList.ZTransformableList, ZList.ZVisualComponentList
 
Field Summary
 
Fields inherited from class edu.umd.cs.jazz.util.ZListImpl
NullList, size
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ZListImpl.ZNodeListImpl(int capacity)
           
 
Method Summary
 ZBounds collectiveBoundsReference(ZBounds bounds)
           
 boolean collectiveHasVolatileBounds()
           
 ZSceneGraphObject collectivePick(java.awt.geom.Rectangle2D rect, ZSceneGraphPath path)
           
 void collectiveRender(ZRenderContext renderContext, ZBounds visibleBounds)
           
 void collectiveRepaint(ZBounds bounds)
           
 java.lang.Object[] createElementData(int capacity)
           
 java.lang.Object[] getElementData()
           
 ZNode[] getNodesReference()
           
 void setElementData(java.lang.Object[] data)
           
 
Methods inherited from class edu.umd.cs.jazz.util.ZListImpl
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, isNull, lastIndexOf, moveElementToIndex, pop, pop, remove, removeRange, replaceWith, set, setSize, size, toArray, toArray, trimToSize, writeObject, writeObjectd
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.umd.cs.jazz.util.ZList
clone, isNull, moveElementToIndex, pop, pop, replaceWith, setSize, trimToSize, writeObject
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

ZListImpl.ZNodeListImpl

public ZListImpl.ZNodeListImpl(int capacity)
Method Detail

getElementData

public java.lang.Object[] getElementData()
Specified by:
getElementData in interface ZList
Specified by:
getElementData in class ZListImpl

getNodesReference

public ZNode[] getNodesReference()
Specified by:
getNodesReference in interface ZList.ZNodeList

createElementData

public java.lang.Object[] createElementData(int capacity)
Specified by:
createElementData in class ZListImpl

setElementData

public void setElementData(java.lang.Object[] data)
Specified by:
setElementData in class ZListImpl

collectiveBoundsReference

public ZBounds collectiveBoundsReference(ZBounds bounds)
Specified by:
collectiveBoundsReference in interface ZList.ZNodeList

collectiveRender

public void collectiveRender(ZRenderContext renderContext,
                             ZBounds visibleBounds)
Specified by:
collectiveRender in interface ZList.ZNodeList

collectiveHasVolatileBounds

public boolean collectiveHasVolatileBounds()
Specified by:
collectiveHasVolatileBounds in interface ZList.ZNodeList

collectivePick

public ZSceneGraphObject collectivePick(java.awt.geom.Rectangle2D rect,
                                        ZSceneGraphPath path)
Specified by:
collectivePick in interface ZList.ZNodeList

collectiveRepaint

public void collectiveRepaint(ZBounds bounds)
Specified by:
collectiveRepaint in interface ZList.ZNodeList


Copyright 2003 by University of Maryland, College Park, MD 20742, USA All rights reserved.