|
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.ZVisualGroup
|
+--edu.umd.cs.jazz.ZLayoutGroup
ZLayoutGroup is a group node that can layout the children of a specified node.
| Fields inherited from class edu.umd.cs.jazz.ZVisualGroup |
visualComponentPickable_DEFAULT |
| 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 | |
ZLayoutGroup()
Constructs a new empty layout group node. |
|
ZLayoutGroup(ZNode child)
Constructs a new layout group node with the specified node as a child of the new group. |
|
ZLayoutGroup(ZNode child,
ZGroup layoutChild)
Constructs a new layout 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 |
computeBounds()
Trap computeBounds requests as it indicates that our layout is out of date, and needs to be revalidated. |
void |
doLayout()
Causes the children of the specified layout node to be laid out. |
protected void |
doLayoutInternal(ZNode node)
Internal method to recursively search children to look for layout nodes, and apply the layout if found. |
void |
duplicateObject(ZLayoutGroup refNode)
Copies all object information from the reference object into the current object. |
ZGroup |
getLayoutChild()
Returns the current layout child for this node. |
ZLayoutManager |
getLayoutManager()
Returns the current layout manager for this node. |
void |
invalidate()
Specify that this layout group is out of date, and needs to be revalidated. |
void |
setLayoutChild(ZGroup child)
Specifies the layout child for this node. |
void |
setLayoutManager(ZLayoutManager manager)
Specifies the layout manager for this node. |
void |
setState(java.lang.String fieldType,
java.lang.String fieldName,
java.lang.Object fieldValue)
Set some state of this object as it gets read back in. |
void |
validate()
Force an immediate validation of this layout node (if it was invalidated). |
void |
writeObject(ZObjectOutputStream out)
Write out all of this object's state. |
void |
writeObjectRecurse(ZObjectOutputStream out)
Specify which objects this object references in order to write out the scenegraph properly |
| Methods inherited from class edu.umd.cs.jazz.ZGroup |
addChild,
addGroupListener,
dump,
duplicateObject,
fireGroupEvent,
getChild,
getChildren,
getChildrenFindable,
getChildrenIterator,
getChildrenPickable,
getNumChildren,
hasOneChild,
indexOf,
insertAbove,
lower,
lowerTo,
raise,
raiseTo,
remove,
removeChild,
removeGroupListener,
setChildrenFindable,
setChildrenPickable,
setHasOneChild,
trimToSize |
| 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 ZLayoutGroup()
public ZLayoutGroup(ZNode child)
child - Child of the new group node.setLayoutChild(edu.umd.cs.jazz.ZGroup)
public ZLayoutGroup(ZNode child,
ZGroup layoutChild)
child - Child of the new group node.| Method Detail |
public void duplicateObject(ZLayoutGroup refNode)
refNode - The reference node to copypublic java.lang.Object clone()
In particular, the visual component associated with this group gets duplicated along with the subtree.
ZNode.updateObjectReferences(edu.umd.cs.jazz.util.ZObjectReferenceTable)public void setLayoutManager(ZLayoutManager manager)
manager - The new layout manager.public final ZLayoutManager getLayoutManager()
public void setLayoutChild(ZGroup child)
child - The new layout child.public final ZGroup getLayoutChild()
public void invalidate()
public void validate()
public void computeBounds()
public void doLayout()
getLayoutManager(),
setLayoutChild(edu.umd.cs.jazz.ZGroup)protected void doLayoutInternal(ZNode node)
node - The node to check for layout
public void writeObject(ZObjectOutputStream out)
throws java.io.IOException
out - The stream that this object writes into
public void writeObjectRecurse(ZObjectOutputStream out)
throws java.io.IOException
out - The stream that this object writes into
public void setState(java.lang.String fieldType,
java.lang.String fieldName,
java.lang.Object fieldValue)
fieldType - The fully qualified type of the fieldfieldName - The name of the fieldfieldValue - The value of the field
|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||