|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PNode | |
---|---|
edu.umd.cs.piccolo | Piccolo is a general-purpose Java-based engine that supports 2D visualizations. |
edu.umd.cs.piccolo.event | This package supports Piccolo event handlers. |
edu.umd.cs.piccolo.nodes | This package contains nodes that may be useful for Piccolo applications. |
edu.umd.cs.piccolo.util | This package defines several utility classes that are likely to be useful for Piccolo applications. |
Uses of PNode in edu.umd.cs.piccolo |
---|
Subclasses of PNode in edu.umd.cs.piccolo | |
---|---|
class |
PCamera
PCamera represents a viewport onto a list of layer nodes. |
class |
PLayer
PLayer is a node that can be viewed directly by multiple camera nodes. |
class |
PRoot
PRoot serves as the top node in Piccolo2D's runtime structure. |
Methods in edu.umd.cs.piccolo that return PNode | |
---|---|
PNode |
PNode.getChild(int index)
Return the child node at the specified index. |
PNode |
PNode.getParent()
Return the parent of this node. |
PNode |
PNode.removeChild(int index)
Remove the child at the specified position of this group node's children. |
PNode |
PNode.removeChild(PNode child)
Remove the given child from this node's children list. |
Methods in edu.umd.cs.piccolo with parameters of type PNode | |
---|---|
void |
PNode.addChild(int index,
PNode child)
Add a node to be a new child of this node at the specified index. |
void |
PNode.addChild(PNode child)
Add a node to be a new child of this node. |
int |
PNode.indexOfChild(PNode child)
Return the index where the given child is stored. |
boolean |
PNode.isAncestorOf(PNode node)
Return true if this node is an ancestor of the parameter node. |
boolean |
PNode.isDescendentOf(PNode node)
Return true if this node is a descendant of the parameter node. |
void |
PNode.moveInBackOf(PNode sibling)
Change the order of this node in its parent's children list so that it will draw in back of the specified sibling node. |
void |
PNode.moveInFrontOf(PNode sibling)
Change the order of this node in its parent's children list so that it will draw in front of the specified sibling node. |
void |
PNode.PSceneGraphDelegate.nodeFullBoundsInvalidated(PNode node)
Called to notify delegate that the node and all it's children need repainting. |
void |
PNode.PSceneGraphDelegate.nodePaintInvalidated(PNode node)
Called to notify delegate that the node needs repainting. |
PNode |
PNode.removeChild(PNode child)
Remove the given child from this node's children list. |
void |
PNode.repaintFrom(PBounds localBounds,
PNode childOrThis)
Pass the given repaint request up the tree, so that any cameras can invalidate that region on their associated canvas. |
void |
PLayer.repaintFrom(PBounds localBounds,
PNode repaintSource)
Override repaints and forward them to the cameras that are viewing this layer. |
void |
PCamera.repaintFrom(PBounds localBounds,
PNode sourceNode)
Repaint this camera and forward the repaint request to the component for this camera, if it is non-null. |
void |
PCamera.repaintFromLayer(PBounds viewBounds,
PNode repaintedLayer)
Deprecated. by PCamera.repaintFromLayer(PBounds, PLayer) . Will be removed
in version 2.0. |
void |
PNode.reparent(PNode newParent)
Set the parent of this node, and transform the node in such a way that it doesn't move in global coordinates. |
void |
PNode.replaceWith(PNode replacementNode)
Swaps this node out of the scene graph tree, and replaces it with the specified replacement node. |
void |
PNode.setParent(PNode newParent)
Set the parent of this node. |
Uses of PNode in edu.umd.cs.piccolo.event |
---|
Methods in edu.umd.cs.piccolo.event that return PNode | |
---|---|
protected PNode |
PDragEventHandler.getDraggedNode()
Returns the node that is currently being dragged, or null if none. |
PNode |
PInputEvent.getPickedNode()
Return the bottom node on the current pickpath, that is the picked node furthest from the root node. |
Methods in edu.umd.cs.piccolo.event with parameters of type PNode | |
---|---|
PDimension |
PInputEvent.getDeltaRelativeTo(PNode nodeOnPath)
Return the delta between the last and current mouse positions relative to a given node on the pick path. |
Point2D |
PInputEvent.getPositionRelativeTo(PNode nodeOnPath)
Return the mouse position relative to a given node on the pick path. |
protected void |
PDragEventHandler.setDraggedNode(PNode draggedNode)
Set's the node that is currently being dragged. |
Uses of PNode in edu.umd.cs.piccolo.nodes |
---|
Subclasses of PNode in edu.umd.cs.piccolo.nodes | |
---|---|
class |
PHtmlView
PHtmlView is a Piccolo node for rendering HTML text. |
class |
PImage
PImage is a wrapper around a java.awt.Image. |
class |
PPath
PPath is a wrapper around a java.awt.geom.GeneralPath. |
class |
PText
PText is a multi-line text node. |
Uses of PNode in edu.umd.cs.piccolo.util |
---|
Methods in edu.umd.cs.piccolo.util that return PNode | |
---|---|
PNode |
PPickPath.getPickedNode()
Get the bottom node on the pick path node stack. |
PNode |
PPickPath.nextPickedNode()
Return the next node that will be picked after the current picked node. |
Methods in edu.umd.cs.piccolo.util with parameters of type PNode | |
---|---|
boolean |
PNodeFilter.accept(PNode aNode)
Return true if the filter should accept the given node. |
boolean |
PNodeFilter.acceptChildrenOf(PNode aNode)
Return true if the filter should test the children of the given node for acceptance. |
boolean |
PPickPath.acceptsNode(PNode node)
Determines if the passed node has been excluded from being a member of the pickpath. |
Dimension2D |
PPickPath.canvasToLocal(Dimension2D canvasDimension,
PNode nodeOnPath)
Convert the given dimension from the canvas coordinates, down through the pick path (and through any camera view transforms applied to the path) to the local coordinates of the given node. |
Point2D |
PPickPath.canvasToLocal(Point2D canvasPoint,
PNode nodeOnPath)
Convert the given point from the canvas coordinates, down through the pick path (and through any camera view transforms applied to the path) to the local coordinates of the given node. |
Rectangle2D |
PPickPath.canvasToLocal(Rectangle2D canvasRectangle,
PNode nodeOnPath)
Convert the given rectangle from the canvas coordinates, down through the pick path (and through any camera view transforms applied to the path) to the local coordinates of the given node. |
PAffineTransform |
PPickPath.getPathTransformTo(PNode nodeOnPath)
Calculates the context at which the given node is being interacted with. |
void |
PPickPath.popNode(PNode node)
Removes the topmost node from the node stack. |
void |
PPickPath.pushNode(PNode node)
Pushes the provided node to the top of the pick path. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |