Jazz API Documentation

Uses of Class
edu.umd.cs.jazz.ZNode

Packages that use ZNode
edu.umd.cs.jazz Jazz is a general-purpose Java-based engine that supports 2D visualizations. 
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 holds the information for a spatial hyperlink.
 class ZConstraintGroup
          ZConstraintGroup is a transform group that changes its transform based on a computation defined in a specified method.
 class ZFadeGroup
          ZFadeGroup is a group node that controls transparency and fading of its sub-tree.
 class ZGroup
          ZGroup is a node with children.
 class ZInvisibleGroup
          ZInvisibleGroup is a group node that completely hides its descendents.
 class ZLayerGroup
          ZLayerGroup is used exclusively to specify the portion of the scenegraph that a camera can see.
 class ZLayoutGroup
          ZLayoutGroup is a visual group that wraps a layout manager that can position the node's children.
 class ZLeaf
          ZLeaf is a basic leaf node that doesn't have any children.
 class ZNameGroup
          ZNameGroup is a group node that names a portion of the scenegraph.
 class ZRoot
          ZRoot extends ZNode overiding several methods of ZNode to ensure that ZRoot is always in the root position of a Scenegraph.
 class ZSelectionGroup
          ZSelectionGroup is a visual group node that provides functionality for specifying selection.
 class ZSpatialIndexGroup
          ZSpatialIndexGroup is a group node that supports R-tree indexing for a group of visual components.
 class ZStickyGroup
          ZStickyGroup is a constraint group that moves its children inversely to the camera view, so that the children stay visually on the same place on the screen, even as the camera view changes.
 class ZTransformGroup
          ZTransformGroup is a group node that specifies an arbitrary affine transform.
 class ZVisualGroup
          ZVisualGroup is a group node that has a visual components that can be rendered.
 class ZVisualLeaf
          ZVisualLeaf is a leaf node that has one or more visual components that can be rendered.
 

Methods in edu.umd.cs.jazz that return ZNode
 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.
protected  ZNode[] ZGroup.getChildrenReference()
          Internal method to return a reference to the actual children of this node.
 ZNode ZAnchorGroup.getDestNode()
          Determine the node that is the destination of this link.
 ZNode[] ZVisualComponent.getParents()
          Return a copy of the array of parents of this node.
 ZNode ZDrawingSurface.getCameraNode()
          Get the camera node this surface is associated with.
 

Methods in edu.umd.cs.jazz with parameters of type ZNode
protected  void ZNode.fireEvent(ZNodeEvent e, int id, ZNode node)
          fire a ZNodeEvent event on any listener listenening for it on this node.
protected  void ZNode.fireNodeEvent(int id, ZNode node)
          Notifies all listeners that have registered interest for notification on this event type, percolate up the scenegraph looking for listeners.
 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.
 void ZGroup.addChild(ZNode child)
          Add a node to be a new child of this group node.
protected  void ZGroup.addChildImpl(ZNode child, boolean fireEvent)
          The implementation of the addChild method
protected  void ZGroup.removeChild(ZNode child, boolean fireEvent)
          Remove the specified child node from this group node.
 void ZGroup.removeChild(ZNode child)
          Remove the specified child node from this group node.
 int ZGroup.indexOf(ZNode child)
          Searches for the first occurrence of the given child in the children of this 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, boolean isModification)
          Notifies all listeners that have registered interest for notification on this event type, then percolates the event up scenegraph, notifying any listeners on any higher ZGroup nodes.
protected  void ZTreeLayoutManager.translateDestinationPoint(ZNode aPrimaryNode, java.awt.geom.Point2D trans)
          Translates the transform corresponding to the given node in the transformTable.
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.
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
 void ZSpatialIndex.addNode(ZNode node)
          Add a node to the rtree index.
protected  void ZSpatialIndex.add(ZNode obj)
          internal method: Add a node to the rtree index.
 boolean ZSpatialIndex.removeNode(ZNode node)
          Remove an object from the index.
protected  boolean ZSpatialIndex.remove(ZNode obj)
          internal method: Remove an object from the index.
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 ZAnchorGroup.setDestNode(ZNode node, ZCamera camera)
          Set the node destination of this link.
 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 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.
 void ZSpatialIndexGroup.removeChild(ZNode child)
          Removes the ZGroup child from this ZSpatialIndexGroup.
protected  boolean ZSpatialIndexGroup.childrenFindable(ZNode node, ZBounds bounds)
          Returns true if the node intersects the bounds.
protected  void ZVisualComponent.addParent(ZNode parent)
          Internal method to add a node to be a new parent of this component.
protected  void ZVisualComponent.removeParent(ZNode parent)
          Internal method to remove the specified parent node from this visual component.
 double 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.
 double 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.
 double 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.
 double 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.
static void ZInvisibleGroup.setVisible(ZNode node, boolean visible)
          Make the sub-tree rooted at the specified node invisible or visible.
protected  void ZLayoutGroup.doLayoutInternal(ZNode node)
          Internal method to recursively search children to look for layout nodes, and apply the layout if found.
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.
 void ZDrawingSurface.setCamera(ZCamera cam, ZNode camNode)
          Sets the camera that this surface is rendered with.
 

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.
ZFadeGroup.ZFadeGroup(ZNode child)
          Constructs a new fade 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.
ZAnchorGroup.ZAnchorGroup(ZNode child)
          Constructs a new link 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.
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.
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.
ZSpatialIndexGroup.ZSpatialIndexGroup(ZNode child, ZCamera camera)
          Constructs a new ZSpatialIndex 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.
ZNameGroup.ZNameGroup(ZNode child)
          Constructs a new name group node with the specified node as a child of the new group.
ZNameGroup.ZNameGroup(ZNode child, java.lang.String name)
          Constructs a new name group node with the specified node as a child of the new group, and with the specified name.
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.
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, containing the given camera and associated camera node.
ZDrawingSurface.ZDrawingSurface(ZCamera camera, ZNode cameraNode, javax.swing.JComponent aComponent)
          Constructs a new Surface, containing the given camera and associated camera node, along with a JComponent this surface is connected to.
 

Uses of ZNode in edu.umd.cs.jazz.event
 

Fields in edu.umd.cs.jazz.event declared as ZNode
protected  ZNode ZSwingEventHandler.listenNode
          The node to listen to for events.
 

Methods in edu.umd.cs.jazz.event that return ZNode
 ZNode ZMouseEvent.getNode()
          Determine the node the event ocurred on
 ZNode ZMouseEvent.getTarget()
          Determine the target of the event.
 ZNode ZNodeEvent.getNode()
          Returns the node whose bounds has changed.
 ZNode ZGroupEvent.getChild()
          Returns the ZNode that was affected by the event.
 

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.
ZNavEventHandlerKeyBoard.ZNavEventHandlerKeyBoard(ZNode node, ZCanvas canvas)
          Constructs a new ZNavEventHandlerKeyBoard.
ZMouseEvent.ZMouseEvent(int id, ZNode node, java.awt.event.MouseEvent e, ZSceneGraphPath path)
          Constructs a new ZMouse event from a Java MouseEvent.
ZMouseEvent.ZMouseEvent(int id, ZNode node, java.awt.event.MouseEvent e, ZSceneGraphPath path, ZNode target, ZSceneGraphPath targetPath)
          Constructs a new ZMouseEvent from a Java MouseEvent.
ZLinkEventHandler.ZLinkEventHandler(ZNode node, ZCanvas canvas)
          Create a new link event handler.
ZSelectionEventHandler.ZSelectionEventHandler(ZNode node, ZCanvas canvas, ZGroup marqueeLayer)
          Constructs a new ZSelectionEventHandler.
ZNodeEvent.ZNodeEvent(ZNode source, int id)
          Constructs a ZNodeEvent object.
ZGroupEvent.ZGroupEvent(ZGroup source, int id, ZNode child, boolean modification)
          Constructs a ZGroupEvent object.
ZSwingEventHandler.ZSwingEventHandler(ZCanvas canvas, ZNode node)
          Constructs a new ZSwingEventHandler for the given canvas, and a node that will recieve the mouse events.
 

Uses of ZNode in edu.umd.cs.jazz.util
 

Fields in edu.umd.cs.jazz.util declared as ZNode
protected  ZNode ZSceneGraphEditor.editNode
           
 

Methods in edu.umd.cs.jazz.util that return ZNode
 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.
 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.
 

Methods in edu.umd.cs.jazz.util with parameters of type ZNode
static void ZLayout.distribute(ZNode[] nodes, java.util.ArrayList coordinates)
          Distributes a set of nodes (those being ZNodes) along the path specified by coordinates.
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, double 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, double space, double tolerance, boolean exact, boolean closedPath)
          Distributes the given nodes (those being ZNodes) along the (optionally closed) path specified by coordinates.
static void ZDebug.dump(ZNode node)
          Debugging function to dump the scenegraph rooted at the specified node to stdout.
 void ZCanvas.setCamera(ZCamera aCamera, ZNode aCameraNode)
          Sets the camera.
protected static int ZSceneGraphEditor.editGroupType(ZNode node)
          Returns the type number for a given instance.
protected static boolean ZSceneGraphEditor.isEditGroup(ZNode node)
          Determines if node is an edit group node.
 ZSceneGraphEditor ZSceneGraphEditorFactory.createEditor(ZNode node)
           
 void ZSceneGraphPath.setTopCameraNode(ZNode node)
          Sets the node associated with the top-level camera in the path.
 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.
 boolean ZBoundsFindFilter.accept(ZNode node)
          Determine if the specified node is accepted by this filter.
 boolean ZBoundsFindFilter.childrenFindable(ZNode node)
          Determine if the children of the specified node should be searched.
 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.
 

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