|
||||||||||
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. |
edu.umd.cs.piccolox.event | This package provides additional Piccolo event handlers. |
edu.umd.cs.piccolox.handles | This package contains handle nodes. |
edu.umd.cs.piccolox.nodes | This package contains additional nodes that may be useful for Piccolo applications. |
edu.umd.cs.piccolox.pswing | This package contains PSwing nodes and related classes. |
edu.umd.cs.piccolox.pswing.tests | This package provides unit tests for PSwing nodes and related classes. |
edu.umd.cs.piccolox.swt | This package provides a SWT implementation of the core Piccolo library. |
edu.umd.cs.piccolox.util | This package defines additional 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 Piccolo'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 descendent 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 front of all of its other sibling nodes. |
void |
PNode.moveInFrontOf(PNode sibling)
Change the order of this node in its parent's children list so that it will draw before the given sibling node. |
void |
PNode.PSceneGraphDelegate.nodeFullBoundsInvalidated(PNode node)
|
void |
PNode.PSceneGraphDelegate.nodePaintInvalidated(PNode node)
|
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 childOrThis)
Override repaints and forward them to the cameras that are viewing this layer. |
void |
PCamera.repaintFrom(PBounds localBounds,
PNode descendentOrThis)
Repaint this camera, and forward the repaint request to the camera's canvas if it is not null. |
void |
PCamera.repaintFromLayer(PBounds viewBounds,
PNode repaintedLayer)
Repaint from one of the cameras layers. |
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()
|
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. |
java.awt.geom.Point2D |
PInputEvent.getPositionRelativeTo(PNode nodeOnPath)
Return the mouse position relative to a given node on the pick path. |
protected void |
PDragEventHandler.setDraggedNode(PNode draggedNode)
|
Uses of PNode in edu.umd.cs.piccolo.nodes |
---|
Subclasses of PNode in edu.umd.cs.piccolo.nodes | |
---|---|
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)
|
java.awt.geom.Dimension2D |
PPickPath.canvasToLocal(java.awt.geom.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. |
java.awt.geom.Point2D |
PPickPath.canvasToLocal(java.awt.geom.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. |
java.awt.geom.Rectangle2D |
PPickPath.canvasToLocal(java.awt.geom.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)
|
void |
PPickPath.popNode(PNode aNode)
|
void |
PPickPath.pushNode(PNode aNode)
|
Uses of PNode in edu.umd.cs.piccolox.event |
---|
Methods in edu.umd.cs.piccolox.event that return PNode | |
---|---|
PNode |
PNavigationEventHandler.getNeighborInDirection(int aDirection)
|
Methods in edu.umd.cs.piccolox.event with parameters of type PNode | |
---|---|
boolean |
PSelectionEventHandler.BoundsFilter.accept(PNode node)
|
boolean |
PSelectionEventHandler.BoundsFilter.acceptChildrenOf(PNode node)
|
void |
PSelectionEventHandler.addSelectableParent(PNode node)
|
void |
PSelectionEventHandler.decorateSelectedNode(PNode node)
|
PActivity |
PNavigationEventHandler.directCameraViewToFocus(PCamera aCamera,
PNode aFocusNode,
int duration)
|
boolean |
PSelectionEventHandler.BoundsFilter.isCameraLayer(PNode node)
|
protected boolean |
PSelectionEventHandler.isSelectable(PNode node)
Determine if the specified node is selectable (i.e., if it is a child of the one the list of selectable parents. |
boolean |
PSelectionEventHandler.isSelected(PNode node)
|
boolean |
PNavigationEventHandler.nodeIsNeighborInDirection(PNode aNode,
int aDirection)
|
void |
PSelectionEventHandler.removeSelectableParent(PNode node)
|
void |
PSelectionEventHandler.select(PNode node)
|
void |
PSelectionEventHandler.setSelectableParent(PNode node)
|
void |
PSelectionEventHandler.undecorateSelectedNode(PNode node)
|
void |
PSelectionEventHandler.unselect(PNode node)
|
Constructors in edu.umd.cs.piccolox.event with parameters of type PNode | |
---|---|
PSelectionEventHandler(PNode marqueeParent,
java.util.List selectableParents)
Creates a selection event handler. |
|
PSelectionEventHandler(PNode marqueeParent,
PNode selectableParent)
Creates a selection event handler. |
Uses of PNode in edu.umd.cs.piccolox.handles |
---|
Subclasses of PNode in edu.umd.cs.piccolox.handles | |
---|---|
class |
PBoundsHandle
PBoundsHandle a handle for resizing the bounds of another node. |
class |
PHandle
PHandle is used to modify some aspect of Piccolo when it is dragged. |
class |
PStickyHandleManager
|
Methods in edu.umd.cs.piccolox.handles with parameters of type PNode | |
---|---|
static void |
PBoundsHandle.addBoundsHandlesTo(PNode aNode)
|
static void |
PBoundsHandle.addStickyBoundsHandlesTo(PNode aNode,
PCamera camera)
|
static void |
PBoundsHandle.removeBoundsHandlesFrom(PNode aNode)
|
void |
PStickyHandleManager.setCameraTarget(PCamera newCamera,
PNode newTarget)
|
void |
PHandle.setParent(PNode newParent)
|
Constructors in edu.umd.cs.piccolox.handles with parameters of type PNode | |
---|---|
PStickyHandleManager(PCamera newCamera,
PNode newTarget)
|
Uses of PNode in edu.umd.cs.piccolox.nodes |
---|
Subclasses of PNode in edu.umd.cs.piccolox.nodes | |
---|---|
class |
P3DRect
This is a simple node that draws a "3D" rectangle within the bounds of the node. |
class |
PCacheCamera
An extension to PCamera that provides a fast image based animationToCenterBounds method |
class |
PClip
PClip is a simple node that applies a clip before rendering or picking its children. |
class |
PComposite
PComposite is a simple node that makes a group of nodes appear to be a single node when picking and interacting. |
class |
PLens
PLens is a simple default lens implementation for Piccolo. |
class |
PLine
PLine a class for drawing multisegment lines. |
class |
PNodeCache
PNodeCache caches a visual representation of it's children into an image and uses this cached image for painting instead of painting it's children directly. |
class |
PStyledText
|
Methods in edu.umd.cs.piccolox.nodes with parameters of type PNode | |
---|---|
void |
PNodeCache.repaintFrom(PBounds localBounds,
PNode childOrThis)
|
void |
PClip.repaintFrom(PBounds localBounds,
PNode childOrThis)
|
Uses of PNode in edu.umd.cs.piccolox.pswing |
---|
Subclasses of PNode in edu.umd.cs.piccolox.pswing | |
---|---|
class |
PSwing
PSwing is used to add Swing Components to a Piccolo canvas. |
Methods in edu.umd.cs.piccolox.pswing that return PNode | |
---|---|
PNode |
PSwingMouseEvent.getCurrentNode()
Get the current node that is under the cursor. |
PNode |
PSwingMouseEvent.getGrabNode()
Determine the node the event originated at. |
PNode |
PSwingMouseEvent.getNode()
Determine the node the event originated at. |
Constructors in edu.umd.cs.piccolox.pswing with parameters of type PNode | |
---|---|
PSwingEventHandler(PSwingCanvas canvas,
PNode node)
Constructs a new PSwingEventHandler for the given canvas, and a node that will recieve the mouse events. |
Uses of PNode in edu.umd.cs.piccolox.pswing.tests |
---|
Subclasses of PNode in edu.umd.cs.piccolox.pswing.tests | |
---|---|
static class |
TestPSwingFull.ZVisualLeaf
|
Constructors in edu.umd.cs.piccolox.pswing.tests with parameters of type PNode | |
---|---|
TestPSwingFull.ZVisualLeaf(PNode node)
|
Uses of PNode in edu.umd.cs.piccolox.swt |
---|
Subclasses of PNode in edu.umd.cs.piccolox.swt | |
---|---|
class |
PSWTBoundsHandle
PBoundsHandle a handle for resizing the bounds of another node. |
class |
PSWTHandle
PHandle is used to modify some aspect of Piccolo when it is dragged. |
class |
PSWTImage
PImage is a wrapper around a java.awt.Image. |
class |
PSWTPath
PPath is a wrapper around a java.awt.geom.GeneralPath. |
class |
PSWTRoot
PSWTRoot is a subclass of PRoot that is designed to work in the SWT environment. |
class |
PSWTStickyHandleManager
|
class |
PSWTText
PSWTText creates a visual component to support text. |
Methods in edu.umd.cs.piccolox.swt with parameters of type PNode | |
---|---|
static void |
PSWTBoundsHandle.addBoundsHandlesTo(PNode aNode)
|
static void |
PSWTBoundsHandle.addStickyBoundsHandlesTo(PNode aNode,
PCamera camera)
|
void |
PSWTSelectionEventHandler.decorateSelectedNode(PNode node)
|
static void |
PSWTBoundsHandle.removeBoundsHandlesFrom(PNode aNode)
|
void |
PSWTStickyHandleManager.setCameraTarget(PCamera newCamera,
PNode newTarget)
|
void |
PSWTHandle.setParent(PNode newParent)
|
void |
PSWTSelectionEventHandler.undecorateSelectedNode(PNode node)
|
Constructors in edu.umd.cs.piccolox.swt with parameters of type PNode | |
---|---|
PSWTSelectionEventHandler(PNode marqueeParent,
java.util.List selectableParents)
Creates a selection event handler. |
|
PSWTSelectionEventHandler(PNode marqueeParent,
PNode selectableParent)
Creates a selection event handler. |
|
PSWTStickyHandleManager(PCamera newCamera,
PNode newTarget)
|
Uses of PNode in edu.umd.cs.piccolox.util |
---|
Fields in edu.umd.cs.piccolox.util declared as PNode | |
---|---|
protected PNode |
PNodeLocator.node
|
Methods in edu.umd.cs.piccolox.util that return PNode | |
---|---|
PNode |
PNodeLocator.getNode()
|
Methods in edu.umd.cs.piccolox.util with parameters of type PNode | |
---|---|
static PBoundsLocator |
PBoundsLocator.createEastLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createNorthEastLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createNorthLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createNorthWestLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createSouthEastLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createSouthLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createSouthWestLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createWestLocator(PNode node)
|
void |
POcclusionDetection.detectOcclusions(PNode n,
PPickPath pickPath)
|
void |
POcclusionDetection.detectOccusions(PNode n,
PBounds parentBounds)
Traverse from the bottom right of the scene graph (top visible node) up the tree determining which parent nodes are occluded by their children nodes. |
void |
PNodeLocator.setNode(PNode node)
|
Constructors in edu.umd.cs.piccolox.util with parameters of type PNode | |
---|---|
PBoundsLocator(PNode node,
int aSide)
|
|
PNodeLocator(PNode node)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |