|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--edu.umd.cs.jazz.util.ZListImpl
|
+--edu.umd.cs.jazz.util.ZListImpl.ZNodeListImpl
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.
| Inner 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 |
| Inner 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 |
| 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 |
public ZListImpl.ZNodeListImpl(int capacity)
| Method Detail |
public java.lang.Object[] getElementData()
getElementData in interface ZListgetElementData in class ZListImplpublic ZNode[] getNodesReference()
getNodesReference in interface ZList.ZNodeListpublic java.lang.Object[] createElementData(int capacity)
createElementData in class ZListImplpublic void setElementData(java.lang.Object[] data)
setElementData in class ZListImplpublic ZBounds collectiveBoundsReference(ZBounds bounds)
collectiveBoundsReference in interface ZList.ZNodeList
public void collectiveRender(ZRenderContext renderContext,
ZBounds visibleBounds)
collectiveRender in interface ZList.ZNodeListpublic boolean collectiveHasVolatileBounds()
collectiveHasVolatileBounds in interface ZList.ZNodeList
public ZSceneGraphObject collectivePick(java.awt.geom.Rectangle2D rect,
ZSceneGraphPath path)
collectivePick in interface ZList.ZNodeListpublic void collectiveRepaint(ZBounds bounds)
collectiveRepaint in interface ZList.ZNodeList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||