Package | Description |
---|---|
edu.umd.cs.piccolo |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
edu.umd.cs.piccolo.examples | |
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.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.
|
Modifier and Type | Method and Description |
---|---|
PBounds |
PNode.computeFullBounds(PBounds dstBounds)
Compute and return the full bounds of this node.
|
PBounds |
PNode.getBounds()
Return a copy of this node's bounds.
|
PBounds |
PNode.getBoundsReference()
Return a direct reference to this node's bounds.
|
PBounds |
PNode.getFullBounds()
Return a copy of this node's full bounds.
|
PBounds |
PNode.getFullBoundsReference()
Return a reference to this node's full bounds cache.
|
PBounds |
PNode.getGlobalBounds()
Return a copy of the bounds of this node in the global coordinate system.
|
PBounds |
PNode.getGlobalFullBounds()
Return a copy of the full bounds of this node in the global coordinate
system.
|
PBounds |
PNode.getUnionOfChildrenBounds(PBounds dstBounds)
Compute and return the union of the full bounds of all the children of
this node.
|
PBounds |
PCamera.getUnionOfLayerFullBounds()
Return the union of the full bounds of each layer in the list of layers
viewed by this camera, or empty bounds if the list of layers viewed by
this camera is empty.
|
PBounds |
PCamera.getViewBounds()
Return the bounds of this camera in the view coordinate system.
|
Modifier and Type | Method and Description |
---|---|
PBounds |
PNode.computeFullBounds(PBounds dstBounds)
Compute and return the full bounds of this node.
|
PBounds |
PNode.getUnionOfChildrenBounds(PBounds dstBounds)
Compute and return the union of the full bounds of all the children of
this node.
|
protected void |
PLayer.notifyCameras(PBounds parentBounds)
Dispatches repaint notification to all registered cameras.
|
void |
PCanvas.repaint(PBounds bounds)
Called to notify PComponent that given bounds need repainting.
|
void |
PComponent.repaint(PBounds bounds)
Called to notify PComponent that given bounds need repainting.
|
void |
POffscreenCanvas.repaint(PBounds repaintBounds)
Called to notify PComponent that given bounds need repainting.
|
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 |
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.repaintFromLayer(PBounds viewBounds,
PLayer repaintedLayer)
Repaint from one of the camera's layers.
|
void |
PCamera.repaintFromLayer(PBounds viewBounds,
PNode repaintedLayer)
Deprecated.
by
PCamera.repaintFromLayer(PBounds, PLayer) . Will be removed
in version 2.0. |
Modifier and Type | Field and Description |
---|---|
(package private) PBounds |
VolatileDecoratorGroup.cachedChildBounds |
(package private) PBounds |
DecoratorGroup.cachedChildBounds |
(package private) PBounds |
VolatileDecoratorGroup.comparisonBounds |
(package private) PBounds |
DecoratorGroup.comparisonBounds |
Modifier and Type | Method and Description |
---|---|
PBounds |
DecoratorGroup.computeFullBounds(PBounds dstBounds)
Change the full bounds computation to take into account that we are
expanding the children's bounds Do this instead of overriding
getBoundsReference() since the node is not volatile
|
PBounds |
VolatileDecoratorGroup.getBoundsReference()
Since our bounds are volatile, we can override this method to indicate
that we are expanding our bounds beyond our children
|
Modifier and Type | Method and Description |
---|---|
PBounds |
DecoratorGroup.computeFullBounds(PBounds dstBounds)
Change the full bounds computation to take into account that we are
expanding the children's bounds Do this instead of overriding
getBoundsReference() since the node is not volatile
|
Modifier and Type | Method and Description |
---|---|
PBounds |
PPickPath.getPickBounds()
Returns the bounds of the entire PickPath taken as a whole.
|
PBounds |
PBounds.inset(double dx,
double dy)
Adjust the measurements of this bounds so that they are the amounts given
"in" from their previous border.
|
PBounds |
PBounds.moveBy(double dx,
double dy)
Translates the bounds by the given deltas.
|
PBounds |
PBounds.reset()
Flags this bounds as empty.
|
PBounds |
PBounds.resetToZero()
Resets the bounds to (0,0,0,0) and flags it as empty.
|
PBounds |
PBounds.setOrigin(double x,
double y)
Changes the origin of these bounds.
|
Modifier and Type | Method and Description |
---|---|
void |
PBounds.add(PBounds bounds)
Changes this bounds to contain the provided bounds.
|
void |
PBounds.setRect(PBounds b)
Sets the bounds to the same shape as the bounds provided.
|
Constructor and Description |
---|
PBounds(PBounds aBounds)
Creates a bounds identical to the one provided.
|
PPickPath(PCamera camera,
PBounds aScreenPickBounds)
Creates a pick pack originating from the provided camera and with the
given screen pick bounds.
|
Modifier and Type | Method and Description |
---|---|
protected PBounds |
PSelectionEventHandler.getMarqueeBounds()
Returns the bounds of the current selection marquee.
|
Modifier and Type | Method and Description |
---|---|
protected PNodeFilter |
PSelectionEventHandler.createNodeFilter(PBounds bounds)
Creates a node filter that will filter all nodes not touching the bounds
provided.
|
Constructor and Description |
---|
PSelectionEventHandler.BoundsFilter(PBounds bounds)
Constructs a BoundsFilter for the given bounds.
|
Modifier and Type | Method and Description |
---|---|
PBounds |
PStickyHandleManager.getBoundsReference()
The sticky handle manager's bounds as computed by examining its target
through its camera.
|
Modifier and Type | Method and Description |
---|---|
PBounds |
PClip.computeFullBounds(PBounds dstBounds)
Computes the full bounds and stores them in dstBounds, if dstBounds is
null, create a new Bounds and returns it.
|
Modifier and Type | Method and Description |
---|---|
PBounds |
PClip.computeFullBounds(PBounds dstBounds)
Computes the full bounds and stores them in dstBounds, if dstBounds is
null, create a new Bounds and returns it.
|
void |
PClip.repaintFrom(PBounds localBounds,
PNode childOrThis)
Callback that receives notification of repaint requests from nodes in
this node's tree.
|
void |
PNodeCache.repaintFrom(PBounds localBounds,
PNode childOrThis)
Handles a repaint event issued from a node in this node's tree.
|
Modifier and Type | Method and Description |
---|---|
void |
PSwing.repaint(PBounds repaintBounds)
Repaints the specified portion of this visual component.
|
Modifier and Type | Method and Description |
---|---|
PBounds |
PSWTStickyHandleManager.getBoundsReference()
Return a direct reference to this node's bounds.
|
protected PBounds |
PSWTSelectionEventHandler.getMarqueeBounds()
Returns the bounds of the current selection marquee.
|
Modifier and Type | Method and Description |
---|---|
void |
PSWTCanvas.repaint(PBounds bounds)
Flags the bounds provided as needing to be redrawn.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 1995-2012 Piccolo2D. All Rights Reserved.