|
|||||||||||
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 | |
edu.umd.cs.piccolox.handles | |
edu.umd.cs.piccolox.nodes | |
edu.umd.cs.piccolox.swt | |
edu.umd.cs.piccolox.util |
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.getParent()
Return the parent of this node. |
PNode |
PNode.removeChild(PNode child)
Remove the given child from this node's children list. |
PNode |
PNode.removeChild(int index)
Remove the child at the specified position of this group node's children. |
PNode |
PNode.getChild(int index)
Return the child node at the specified index. |
Methods in edu.umd.cs.piccolo with parameters of type PNode | |
void |
PLayer.repaintFrom(PBounds localBounds,
PNode childOrThis)
Override repaints and forward them to the cameras that are viewing this layer. |
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 |
PNode.addChild(PNode child)
Add a node to be a new child of this node. |
void |
PNode.addChild(int index,
PNode child)
Add a node to be a new child of this node at the specified index. |
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 after the given sibling node. |
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.setParent(PNode newParent)
Set the parent of this node. |
int |
PNode.indexOfChild(PNode child)
Return the index where the given child is stored. |
PNode |
PNode.removeChild(PNode child)
Remove the given child from this node's children list. |
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 |
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. |
Uses of PNode in edu.umd.cs.piccolo.event |
Methods in edu.umd.cs.piccolo.event that return PNode | |
PNode |
PInputEvent.getPickedNode()
Return the bottom node on the current pickpath, that is the picked node furthest from the root node. |
protected PNode |
PDragEventHandler.getDraggedNode()
|
Methods in edu.umd.cs.piccolo.event with parameters of type PNode | |
java.awt.geom.Point2D |
PInputEvent.getPositionRelativeTo(PNode nodeOnPath)
Return the mouse position relative to a given node on the pick path. |
PDimension |
PInputEvent.getDeltaRelativeTo(PNode nodeOnPath)
Return the delta between the last and current mouse positions 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)
|
void |
PPickPath.pushNode(PNode aNode)
|
void |
PPickPath.popNode(PNode aNode)
|
PAffineTransform |
PPickPath.getPathTransformTo(PNode nodeOnPath)
|
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.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.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. |
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 |
PNavigationEventHandler.nodeIsNeighborInDirection(PNode aNode,
int aDirection)
|
PActivity |
PNavigationEventHandler.directCameraViewToFocus(PCamera aCamera,
PNode aFocusNode,
int duration)
|
void |
PSelectionEventHandler.select(PNode node)
|
void |
PSelectionEventHandler.decorateSelectedNode(PNode node)
|
void |
PSelectionEventHandler.unselect(PNode node)
|
void |
PSelectionEventHandler.undecorateSelectedNode(PNode node)
|
boolean |
PSelectionEventHandler.isSelected(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. |
void |
PSelectionEventHandler.addSelectableParent(PNode node)
|
void |
PSelectionEventHandler.removeSelectableParent(PNode node)
|
void |
PSelectionEventHandler.setSelectableParent(PNode node)
|
boolean |
PSelectionEventHandler.BoundsFilter.accept(PNode node)
|
boolean |
PSelectionEventHandler.BoundsFilter.acceptChildrenOf(PNode node)
|
boolean |
PSelectionEventHandler.BoundsFilter.isCameraLayer(PNode node)
|
Constructors in edu.umd.cs.piccolox.event with parameters of type PNode | |
PSelectionEventHandler(PNode marqueeParent,
PNode selectableParent)
Creates a selection event handler. |
|
PSelectionEventHandler(PNode marqueeParent,
java.util.List selectableParents)
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 | |
void |
PHandle.setParent(PNode newParent)
|
void |
PStickyHandleManager.setCameraTarget(PCamera newCamera,
PNode newTarget)
|
static void |
PBoundsHandle.addBoundsHandlesTo(PNode aNode)
|
static void |
PBoundsHandle.addStickyBoundsHandlesTo(PNode aNode,
PCamera camera)
|
static void |
PBoundsHandle.removeBoundsHandlesFrom(PNode aNode)
|
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 |
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.swt |
Subclasses of PNode in edu.umd.cs.piccolox.swt | |
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 |
PSWTText
PSWTText creates a visual component to support text. |
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.createNorthWestLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createNorthLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createSouthLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createWestLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createSouthWestLocator(PNode node)
|
static PBoundsLocator |
PBoundsLocator.createSouthEastLocator(PNode node)
|
void |
PNodeLocator.setNode(PNode node)
|
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 |
POcclusionDetection.detectOcclusions(PNode n,
PPickPath pickPath)
|
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 |