|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.umd.cs.jazz.ZSceneGraphObject
|
+--edu.umd.cs.jazz.ZNode
|
+--edu.umd.cs.jazz.ZGroup
|
+--edu.umd.cs.jazz.ZLayerGroup
ZLayerGroup is a group node that can be a paint start point of a camera.
| Fields inherited from class edu.umd.cs.jazz.ZGroup |
childrenFindable_DEFAULT,
childrenPickable_DEFAULT,
hasOneChild_DEFAULT |
| Fields inherited from class edu.umd.cs.jazz.ZNode |
findable_DEFAULT,
listenerList,
pickable_DEFAULT,
savable_DEFAULT |
| Fields inherited from class edu.umd.cs.jazz.ZSceneGraphObject |
bounds,
objRefTable,
volatileBounds_DEFAULT |
| Constructor Summary | |
ZLayerGroup()
Constructs a new ZLayerGroup. |
|
ZLayerGroup(ZNode child)
Constructs a new layer group node with the specified node as a child of the new group. |
|
| Method Summary | |
java.lang.Object |
clone()
Duplicates the current node by using the copy constructor. |
void |
duplicateObject(ZLayerGroup refNode)
Copies all object information from the reference object into the current object. |
void |
repaint()
Repaint causes the portions of the surfaces that this object appears in to be marked as needing painting, and queues events to cause those areas to be painted. |
void |
repaint(ZBounds repaintBounds)
Method to pass repaint methods up the tree, and to any cameras looking here. |
void |
trimToSize()
Trims the capacity of the array that stores the cameras list points to the actual number of points. |
| Methods inherited from class edu.umd.cs.jazz.ZGroup |
addChild,
addGroupListener,
computeBounds,
dump,
duplicateObject,
fireGroupEvent,
getChild,
getChildren,
getChildrenFindable,
getChildrenIterator,
getChildrenPickable,
getNumChildren,
hasOneChild,
indexOf,
insertAbove,
lower,
lowerTo,
pick,
raise,
raiseTo,
remove,
removeChild,
removeGroupListener,
render,
setChildrenFindable,
setChildrenPickable,
setHasOneChild,
setState,
updateVolatility,
writeObject,
writeObjectRecurse |
| Methods inherited from class edu.umd.cs.jazz.ZSceneGraphObject |
duplicateObject,
getBounds,
getVolatileBounds,
reshape,
setVolatileBounds |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ZLayerGroup()
public ZLayerGroup(ZNode child)
child - Child of the new group node.| Method Detail |
public void duplicateObject(ZLayerGroup refNode)
refNode - The reference node to copypublic java.lang.Object clone()
In particular, for a layer group, the cameras pointing at this node are not copied. Rather, the layer must be manually added to a specific camera.
ZNode.updateObjectReferences(edu.umd.cs.jazz.util.ZObjectReferenceTable)public void trimToSize()
public void repaint()
Scenegraph objects should call repaint when their internal state has changed and they need to be redrawn on the screen.
Important note : Scenegraph objects should call reshape() instead of repaint() if the internal state change effects the bounds of the shape in any way (e.g. changing penwidth, selection, transform, adding points to a line, etc.)
ZSceneGraphObject.reshape()public void repaint(ZBounds repaintBounds)
repaintBounds - The bounds to repaint
|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||