|
Jazz API Documentation | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ZNode | |
| edu.umd.cs.jazz | This is the root package for all Jazz classes. |
| edu.umd.cs.jazz.event | This package supports Jazz event handlers. |
| edu.umd.cs.jazz.util | This package defines several utility classes that are likely to be useful for Jazz applications. |
| Uses of ZNode in edu.umd.cs.jazz |
| Subclasses of ZNode in edu.umd.cs.jazz | |
class |
ZAnchorGroup
ZAnchorGroup is a group that manages a hyperlink from the edit node below it. |
class |
ZConstraintGroup
ZConstraintGroup is a transform group node that supports the application of a simple constraint to its children. |
class |
ZFadeGroup
ZFadeGroup is a group node that has control over transparency of itself (and sub-tree), and its minimum and maximum magnification. |
class |
ZGroup
ZGroup is the basic hierarchial node. |
class |
ZInvisibleGroup
ZInvisibleGroup is a group node that completely hides its descendents. |
class |
ZLayerGroup
ZLayerGroup is a group node that can be a paint start point of a camera. |
class |
ZLayoutGroup
ZLayoutGroup is a group node that can layout the children of a specified node. |
class |
ZLeaf
ZLeaf is a basic leaf node that doesn't have any children. |
class |
ZRoot
ZRoot exteneds ZNode overiding several methods of ZNode to ensure that ZRoot is always in the root position of a Scenegraph. |
class |
ZSelectionGroup
ZSelectionGroup is a group node that represents the selection of a node. |
class |
ZStickyGroup
ZStickyGroup is a constraint node that forces the child to always be rendered at a place dependent on the camera view. |
class |
ZTransformGroup
ZTransformGroup is a group node with an affine transform. |
class |
ZVisualGroup
ZVisualGroup is a group node that has a visual component that can be rendered. |
class |
ZVisualLeaf
ZVisualLeaf is a leaf node that has a visual component that can be rendered. |
| Methods in edu.umd.cs.jazz that return ZNode | |
ZNode[] |
ZVisualComponent.getParents()
Return a copy of the array of parents of this node. |
ZNode[] |
ZGroup.getChildren()
Return a copy of the array of children of this node. |
ZNode |
ZGroup.getChild(int i)
Returns the i'th child of this node. |
ZNode |
ZAnchorGroup.getDestNode()
Determine the node that is the destination of this link. |
ZNode |
ZDrawingSurface.getCameraNode()
Get the camera node this surface is associated with. |
| Methods in edu.umd.cs.jazz with parameters of type ZNode | |
void |
ZNode.duplicateObject(ZNode refNode)
Copies all object information from the reference object into the current object. |
void |
ZNode.replaceWith(ZNode replacement)
Swaps this node out of the scenegraph tree, and replaces it with the specified replacement node. |
void |
ZNode.raiseTo(ZNode afterNode)
Raises this node within the drawing order of its siblings, so it gets rendered above (after) the specified node. |
void |
ZNode.lowerTo(ZNode beforeNode)
Lowers this node within the drawing order of its siblings, so it gets rendered below (before) the specified node. |
boolean |
ZNode.isDescendentOf(ZNode queryNode)
Method to determine if this is a descendent of queryNode. |
boolean |
ZNode.isAncestorOf(ZNode queryNode)
Method to determine if this is an ancenstor of queryNode. |
void |
ZGroup.insertAbove(ZNode child)
Insert this group node above the specified node. |
int |
ZGroup.indexOf(ZNode child)
Searches for the first occurence of the given child in the children of this node. |
void |
ZGroup.addChild(ZNode child)
Add a node to be a new child of this group node. |
void |
ZGroup.removeChild(ZNode child)
Remove the specified child node from this group node. |
void |
ZGroup.raise(ZNode child)
Raises the specified child node within the drawing order of this node's children, so it gets rendered above (after) all of its siblings. |
void |
ZGroup.raiseTo(ZNode child,
ZNode afterNode)
Raises the specified child node within the drawing order of this node's siblings, so it gets rendered above (after) the specified node. |
void |
ZGroup.lower(ZNode child)
Lowers the specified child node within the drawing order of this node's children, so it gets rendered below (before) all of its siblings. |
void |
ZGroup.lowerTo(ZNode child,
ZNode beforeNode)
Lowers the specified child node within the drawing order of this node's siblings, so it gets rendered below (before) the specified node. |
protected void |
ZGroup.fireGroupEvent(int id,
ZNode child)
Notifies all listeners that have registered interest for notification on this event type. |
protected void |
ZRoot.setParent(ZNode parent)
Overrides ZNode.setParent() to throw an exception if an attempt to set the parent of a ZRoot is made. |
protected void |
ZTreeLayoutManager.translateDestinationPoint(ZNode aPrimaryNode,
java.awt.geom.Point2D trans)
Translates the transform for the transform corresponding to the given node in the transformTable This is meant to be a pure translation that will not depend on any scaling in this node's transform - ie. |
protected java.awt.geom.Point2D |
ZTreeLayoutManager.setDestinationPoint(ZNode aPrimaryNode,
java.awt.geom.Point2D dest)
Sets the bounds location for the given node to the specified point The resulting translation is meant to be a pure translation that will not depend on any scaling in this node's transform - ie. |
protected java.awt.geom.Area |
ZTreeLayoutManager.updateChildArea(ZNode aPrimaryNode,
java.awt.geom.Point2D trans)
Translates the child nodes area, potentially stored in the area manager, by the specified translation |
protected void |
ZTreeLayoutManager.computeNodeArea(ZNode aPrimaryNode)
Computes the given nodes area - this includes the bounds of its visual component and the stored areas for its immediate children |
protected java.awt.geom.Area |
ZTreeLayoutManager.getNodeArea(ZNode aPrimaryNode)
Gets the stored area for the given node |
protected ZBounds |
ZTreeLayoutManager.getFrontVisualComponentBounds(ZNode aVisualNode)
Convenience method to get the bounds of the front visual component of the given node |
protected static void |
ZTreeLayoutManager.updateInvalidLinks(ZNode top)
Updates all links, in depth-first order, below the supplied ZNode |
static java.util.ArrayList |
ZSelectionGroup.getSelectedNodes(ZNode node)
Return a list of the selected nodes in the subtree rooted at the specified node (including the root if it is selected). |
static ZSelectionGroup |
ZSelectionGroup.select(ZNode node)
Select the specified node. |
static void |
ZSelectionGroup.unselect(ZNode node)
Unselect the specified node. |
static void |
ZSelectionGroup.unselectAll(ZNode node)
Unselect all currently selected nodes in the subtree rooted at the specified node (including the root if it is selected). |
static boolean |
ZSelectionGroup.isSelected(ZNode node)
Determine if the specified node is selected. |
void |
ZTransformGroup.position(java.awt.geom.Point2D srcPt,
java.awt.geom.Point2D destPt,
ZNode refNode,
int millis,
ZDrawingSurface surface)
This will calculate the necessary transform in order to make this node appear at a particular position relative to the specified node. |
static void |
ZInvisibleGroup.setVisible(ZNode node,
boolean visible)
Make the sub-tree rooted at the specified node invisible or visible. |
void |
ZAnchorGroup.setDestNode(ZNode node,
ZCamera camera)
Set the node destination of this link. |
void |
ZDrawingSurface.setCamera(ZCamera cam,
ZNode camNode)
Sets the camera that this surface is rendered with. |
static ZStickyGroup |
ZStickyGroup.makeSticky(ZNode node,
ZCamera camera,
int constraintType)
Make the specified node sticky by adding a sticky node above the specified node. |
static void |
ZStickyGroup.makeUnSticky(ZNode node)
Make the specified node unsticky. |
float |
ZCamera.cameraToLocal(java.awt.geom.Point2D pt,
ZNode node)
Transform a point in the camera's coordinate system through the camera down the tree to the specified node's local coordinate system. |
float |
ZCamera.cameraToLocal(java.awt.geom.Rectangle2D rect,
ZNode node)
Transform a rectangle in the camera's coordinate system through the camera down the tree to the specified node's local coordinate system. |
float |
ZCamera.localToCamera(java.awt.geom.Point2D pt,
ZNode node)
Transform a point in a node's local coordinate system up the scenegraph backwards through the camera to the camera's coordinate system. |
float |
ZCamera.localToCamera(java.awt.geom.Rectangle2D rect,
ZNode node)
Transform a rectangle in a node's local coordinate system up the scenegraph backwards through the camera to the camera's coordinate system. |
protected void |
ZLayoutGroup.doLayoutInternal(ZNode node)
Internal method to recursively search children to look for layout nodes, and apply the layout if found. |
| Constructors in edu.umd.cs.jazz with parameters of type ZNode | |
ZGroup.ZGroup(ZNode child)
Constructs a new group node with the specified node as a child of the new group. |
|
ZVisualGroup.ZVisualGroup(ZNode child)
Constructs a new visual group node with the specified node as a child of the new group. |
|
ZVisualGroup.ZVisualGroup(ZNode child,
ZVisualComponent newFrontVisualComponent,
ZVisualComponent newBackVisualComponent)
Constructs a new ZVisualGroup with the specified visual components, and specified node as a child of the new group. |
|
ZSelectionGroup.ZSelectionGroup(ZNode child)
Constructs a new select group node with the specified node as a child of the new group. |
|
ZTransformGroup.ZTransformGroup(ZNode child)
Constructs a new transform group node with the specified node as a child of the new group. |
|
ZFadeGroup.ZFadeGroup(ZNode child)
Constructs a new fade group node with the specified node as a child of the new group. |
|
ZInvisibleGroup.ZInvisibleGroup(ZNode child)
Constructs a new invisible group node with the specified node as a child of the new group. |
|
ZConstraintGroup.ZConstraintGroup(ZNode child)
Constructs a new constraint group that decorates the specified child. |
|
ZConstraintGroup.ZConstraintGroup(ZCamera camera,
ZNode child)
Constructs a new constraint group with a specified camera that decorates the specified child. |
|
ZAnchorGroup.ZAnchorGroup(ZNode child)
Constructs a new link group node with the specified node as a child of the new group. |
|
ZLayerGroup.ZLayerGroup(ZNode child)
Constructs a new layer group node with the specified node as a child of the new group. |
|
ZDrawingSurface.ZDrawingSurface(ZCamera camera,
ZNode cameraNode)
Constructs a new Surface. |
|
ZDrawingSurface.ZDrawingSurface(ZCamera camera,
ZNode cameraNode,
javax.swing.JComponent aComponent)
Constructs a new Surface. |
|
ZStickyGroup.ZStickyGroup(ZNode child)
Constructs a new sticky group that decorates the specified child. |
|
ZStickyGroup.ZStickyGroup(ZCamera camera,
ZNode child)
Constructs a new sticky group with a specified camera that decorates the specified child. |
|
ZLayoutGroup.ZLayoutGroup(ZNode child)
Constructs a new layout group node with the specified node as a child of the new group. |
|
ZLayoutGroup.ZLayoutGroup(ZNode child,
ZGroup layoutChild)
Constructs a new layout group node with the specified node as a child of the new group. |
|
| Uses of ZNode in edu.umd.cs.jazz.event |
| Fields in edu.umd.cs.jazz.event declared as ZNode | |
protected ZNode |
ZSwingEventHandler.listenNode
|
| Methods in edu.umd.cs.jazz.event that return ZNode | |
ZNode |
ZGroupEvent.getChild()
Returns the ZNode that was affected by the event. |
ZNode |
ZMouseEvent.getNode()
Determine the node the event ocurred on |
| Constructors in edu.umd.cs.jazz.event with parameters of type ZNode | |
ZPanEventHandler.ZPanEventHandler(ZNode node)
Constructs a new ZPanEventHandler. |
|
ZoomEventHandler.ZoomEventHandler(ZNode node)
Constructs a new ZoomEventHandler. |
|
ZSwingEventHandler.ZSwingEventHandler(ZCanvas canvas,
ZNode node)
|
|
ZNavEventHandlerKeyBoard.ZNavEventHandlerKeyBoard(ZNode node,
ZCanvas canvas)
Constructs a new ZNavEventHandlerKeyBoard. |
|
ZGroupEvent.ZGroupEvent(ZGroup source,
int id,
ZNode child)
Constructs a ZGroupEvent object. |
|
ZSelectionEventHandler.ZSelectionEventHandler(ZNode node,
ZCanvas canvas,
ZGroup marqueeLayer)
Constructs a new ZSelectionEventHandler. |
|
ZLinkEventHandler.ZLinkEventHandler(ZNode node,
ZCanvas canvas)
Create a new link event handler. |
|
ZMouseEvent.ZMouseEvent(int id,
ZNode node,
java.awt.event.MouseEvent e,
ZSceneGraphPath path)
Constructs a new ZMouse event from a Java MouseEvent. |
|
| Uses of ZNode in edu.umd.cs.jazz.util |
| Methods in edu.umd.cs.jazz.util that return ZNode | |
ZNode |
ZSceneGraphPath.getTopCameraNode()
Returns the node associated with the top-level camera in the path. |
ZNode |
ZSceneGraphPath.getNode()
Returns the nearest ZNode to the picked object. |
ZNode |
ZCanvas.getCameraNode()
Return the camera's node associated with the primary surface. |
ZNode |
ZSceneGraphEditor.getTop()
If ZSceneGraphEditor has inserted groups above a node, this returns the topmost of those groups (the group nearest the root of the scene graph). |
ZNode |
ZSceneGraphEditor.getNode()
Returns the node being edited. |
| Methods in edu.umd.cs.jazz.util with parameters of type ZNode | |
boolean |
ZBoundsFindFilter.accept(ZNode node)
Determine if the specified node is accepted by this filter. |
boolean |
ZBoundsFindFilter.childrenFindable(ZNode node)
This method determines if the children of the specified node should be searched. |
static void |
ZDebug.dump(ZNode node)
Debugging function to dump the scenegraph rooted at the specified node to stdout. |
void |
ZSceneGraphPath.setTopCameraNode(ZNode node)
Sets the node associated with the top-level camera in the path. |
static void |
ZLayout.distribute(ZNode[] nodes,
java.util.ArrayList coordinates)
Distributes a set of nodes (those being ZNodes)
along the path specified by |
static void |
ZLayout.distribute(ZNode[] nodes,
java.util.ArrayList coordinates,
boolean exact,
boolean closedPath)
Distributes a set of nodes (those being ZNodes) along
the (optionally closed) path specified by coordinates. |
static void |
ZLayout.distribute(ZNode[] nodes,
java.util.ArrayList coordinates,
float tolerance,
boolean closedPath)
Distributes a set of nodes (those being ZNodes) along
the (optionally closed) path specified by coordinates. |
static void |
ZLayout.distribute(ZNode[] nodes,
java.util.ArrayList coordinates,
float space,
float tolerance,
boolean exact,
boolean closedPath)
Distributes the given nodes (those being ZNodes)
along the (optionally closed) path specified by
coordinates. |
boolean |
ZMagBoundsFindFilter.accept(ZNode node)
Determine if the specified node is accepted by this filter. |
boolean |
ZMagBoundsFindFilter.childrenFindable(ZNode node)
This method determines if the children of the specified node should be searched. |
boolean |
ZFindFilter.accept(ZNode node)
This method determines if the specified node should be accepted by the filter. |
boolean |
ZFindFilter.childrenFindable(ZNode node)
This method determines if the children of the specified node should be searched. |
protected static int |
ZSceneGraphEditor.editGroupType(ZNode node)
Returns the type number for a given instance. |
protected static boolean |
ZSceneGraphEditor.isEditGroup(ZNode node)
|
ZSceneGraphEditor |
ZSceneGraphEditorFactory.createEditor(ZNode node)
|
| Constructors in edu.umd.cs.jazz.util with parameters of type ZNode | |
ZSceneGraphEditor.ZSceneGraphEditor(ZNode node)
Given a node, constructs an "editor" for the node. |
|
|
Jazz API Documentation | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||