- accept(PNode) - Method in interface org.piccolo2d.util.PNodeFilter
-
Return true if the filter should accept the given node.
- acceptAllClickCounts() - Method in class org.piccolo2d.event.PInputEventFilter
-
Makes this filter accept all mouse click combinations.
- acceptAllEventTypes() - Method in class org.piccolo2d.event.PInputEventFilter
-
Makes the filter accept all event types.
- acceptChildrenOf(PNode) - Method in interface org.piccolo2d.util.PNodeFilter
-
Return true if the filter should test the children of the given node for
acceptance.
- acceptEverything() - Method in class org.piccolo2d.event.PInputEventFilter
-
Makes this filter accept absolutely everything.
- acceptsEvent(PInputEvent, int) - Method in class org.piccolo2d.event.PBasicInputEventHandler
-
Returns true if the event would be dispatched if passed to processEvent.
- acceptsEvent(PInputEvent, int) - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns true if the passed event is one that is accepted.
- acceptsNode(PNode) - Method in class org.piccolo2d.util.PPickPath
-
Determines if the passed node has been excluded from being a member of
the pickpath.
- ACTIVITY_SCHEDULER_FRAME_DELAY - Static variable in class org.piccolo2d.util.PUtil
-
Rate in milliseconds at which the activity timer will get invoked.
- activityFinished() - Method in class org.piccolo2d.activities.PActivity
-
This method is called after an activity is has finished running and the
activity has been removed from the PActivityScheduler queue.
- activityFinished(PActivity) - Method in interface org.piccolo2d.activities.PActivity.PActivityDelegate
-
Gets called when the activity finishes.
- activityFinished() - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Called whenever the activity finishes.
- activityStarted() - Method in class org.piccolo2d.activities.PActivity
-
This method is called right before an activity is scheduled to start
running.
- activityStarted(PActivity) - Method in interface org.piccolo2d.activities.PActivity.PActivityDelegate
-
Gets called when the activity starts.
- activityStarted() - Method in class org.piccolo2d.activities.PColorActivity
-
Overrides it's parent to ensure that the source color is the color of the
node being animated.
- activityStarted() - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Called when activity is started.
- activityStarted() - Method in class org.piccolo2d.activities.PTransformActivity
-
Is invoked when the activity is started.
- activityStep(long) - Method in class org.piccolo2d.activities.PActivity
-
This is the method that most activities override to perform their
behavior.
- activityStep(long) - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Called at each step of the activity.
- activityStepped(PActivity) - Method in interface org.piccolo2d.activities.PActivity.PActivityDelegate
-
Gets called for each step of the activity.
- add(Area) - Method in class org.piccolo2d.nodes.PArea
-
Add the shape of the specified area to the shape of this area node.
- add(double, double) - Method in class org.piccolo2d.util.PBounds
-
Grows the bounds to contain the coordinate provided.
- add(Rectangle2D) - Method in class org.piccolo2d.util.PBounds
-
Grows bounds to contain the rectangle if needed.
- add(PBounds) - Method in class org.piccolo2d.util.PBounds
-
Changes this bounds to contain the provided bounds.
- addActivity(PActivity) - Method in class org.piccolo2d.activities.PActivityScheduler
-
Adds the given activity to the scheduler if not already found.
- addActivity(PActivity, boolean) - Method in class org.piccolo2d.activities.PActivityScheduler
-
Add this activity to the scheduler.
- addActivity(PActivity) - Method in class org.piccolo2d.PNode
-
Schedule the given activity with the root, note that only scheduled
activities will be stepped.
- addActivity(PActivity) - Method in class org.piccolo2d.PRoot
-
Add an activity to the activity scheduler associated with this root.
- addAttribute(Object, Object) - Method in class org.piccolo2d.PNode
-
Add an arbitrary key/value to this node.
- addCamera(PCamera) - Method in class org.piccolo2d.PLayer
-
Add a camera to this layer's camera list.
- addCamera(int, PCamera) - Method in class org.piccolo2d.PLayer
-
Add a camera to this layer's camera list at the specified index.
- addChild(PNode) - Method in class org.piccolo2d.PNode
-
Add a node to be a new child of this node.
- addChild(int, PNode) - Method in class org.piccolo2d.PNode
-
Add a node to be a new child of this node at the specified index.
- addChildren(Collection) - Method in class org.piccolo2d.PNode
-
Add a collection of nodes to be children of this node.
- addInputEventListener(PInputEventListener) - Method in class org.piccolo2d.PCanvas
-
Add an input listener to the camera associated with this canvas.
- addInputEventListener(PInputEventListener) - Method in class org.piccolo2d.PNode
-
Adds the specified input event listener to receive input events from this
node.
- addInputSource(PRoot.InputSource) - Method in class org.piccolo2d.PRoot
-
Advanced.
- addLayer(PLayer) - Method in class org.piccolo2d.PCamera
-
Inserts the specified layer at the end of the list of layers viewed by this camera.
- addLayer(int, PLayer) - Method in class org.piccolo2d.PCamera
-
Inserts the specified layer at the specified position in the list of layers viewed by this camera.
- addPropertyChangeListener(PropertyChangeListener) - Method in class org.piccolo2d.PNode
-
Add a PropertyChangeListener to the listener list.
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.piccolo2d.PNode
-
Add a PropertyChangeListener for a specific property.
- ALL_MODIFIERS_MASK - Static variable in class org.piccolo2d.event.PInputEventFilter
-
Mask representing all possible modifiers.
- animateToBounds(double, double, double, double, long) - Method in class org.piccolo2d.PNode
-
Animate this node's bounds from their current location when the activity
starts to the specified bounds.
- animateToColor(Color, long) - Method in class org.piccolo2d.PNode
-
Animate this node's color from its current value to the new value
specified.
- animateToPositionScaleRotation(double, double, double, double, long) - Method in class org.piccolo2d.PNode
-
Animate this node's transform from its current location when the activity
starts to the specified location, scale, and rotation.
- animateToRelativePosition(Point2D, Point2D, Rectangle2D, int) - Method in class org.piccolo2d.PNode
-
This will calculate the necessary transform in order to make this node
appear at a particular position relative to the specified bounding box.
- animateToTransform(AffineTransform, long) - Method in class org.piccolo2d.PNode
-
Animate this node's transform from its current values when the activity
starts to the new values specified in the given transform.
- animateToTransparency(float, long) - Method in class org.piccolo2d.PNode
-
Animate this node's transparency from its current value to the new value
specified.
- animateTransformToBounds(double, double, double, double, long) - Method in class org.piccolo2d.PNode
-
Animate this node from it's current transform when the activity starts a
new transform that will fit the node into the given bounds.
- animateViewToCenterBounds(Rectangle2D, boolean, long) - Method in class org.piccolo2d.PCamera
-
Animate the camera's view from its current transform when the activity
starts to a new transform that centers the given bounds in the camera
layer's coordinate system into the cameras view bounds.
- animateViewToPanToBounds(Rectangle2D, long) - Method in class org.piccolo2d.PCamera
-
Pan the camera's view from its current transform when the activity starts
to a new transform so that the view bounds will contain (if possible,
intersect if not possible) the new bounds in the camera layers coordinate
system.
- animateViewToTransform(AffineTransform, long) - Method in class org.piccolo2d.PCamera
-
Animate the cameras view transform from its current value when the
activity starts to the new destination transform value.
- append(Shape, boolean) - Method in class org.piccolo2d.nodes.PPath
-
Append the geometry of the specified shape to this path node, possibly
connecting the new geometry to the existing path segments with a line
segment.
- append(PathIterator, boolean) - Method in class org.piccolo2d.nodes.PPath
-
Append the geometry of the specified path iterator to this path node, possibly
connecting the new geometry to the existing path segments with a line segment.
- applyViewConstraints() - Method in class org.piccolo2d.PCamera
-
Transforms the view so that it conforms to the given constraint.
- getAcceptsAlreadyHandledEvents() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts events that have already been flagged
as handled.
- getAcceptsFocusEvents() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts focus events.
- getAcceptsKeyPressed() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts key pressed events.
- getAcceptsKeyReleased() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts key released events.
- getAcceptsKeyTyped() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts key typed events.
- getAcceptsMouseClicked() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts mouse clicked events.
- getAcceptsMouseDragged() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts mouse dragged events.
- getAcceptsMouseEntered() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts mouse entered events.
- getAcceptsMouseExited() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts mouse exited events.
- getAcceptsMouseMoved() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts mouse moved events.
- getAcceptsMousePressed() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts mouse pressed events.
- getAcceptsMouseReleased() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts mouse released events.
- getAcceptsMouseWheelRotated() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter accepts mouse wheel rotated events.
- getActivitiesReference() - Method in class org.piccolo2d.activities.PActivityScheduler
-
Returns a reference to the current activities list.
- getActivityScheduler() - Method in class org.piccolo2d.activities.PActivity
-
Returns the activity scheduler associated with this activity.
- getActivityScheduler() - Method in class org.piccolo2d.PRoot
-
Get the activity scheduler associated with this root.
- getActivityTimer() - Method in class org.piccolo2d.activities.PActivityScheduler
-
Returns the activity timer.
- getAllNodes() - Method in class org.piccolo2d.PNode
-
Return a collection containing this node and all of its descendant nodes.
- getAllNodes(PNodeFilter, Collection) - Method in class org.piccolo2d.PNode
-
Return a collection containing the subset of this node and all of its
descendant nodes that are accepted by the given node filter.
- getAnimating() - Method in class org.piccolo2d.activities.PActivityScheduler
-
Return true if any of the scheduled activities are animations.
- getAnimating() - Method in class org.piccolo2d.PCanvas
-
Return true if any activities that respond with true to the method
isAnimating were run in the last PRoot.processInputs() loop.
- getAnimatingRenderQuality() - Method in class org.piccolo2d.PCanvas
-
Returns the quality to use when animating.
- getApproximateUsedMemory() - Static method in class org.piccolo2d.util.PDebug
-
Returns an approximation of the amount of memory that is being used.
- getArea() - Method in class org.piccolo2d.nodes.PArea
-
Return a copy of the area backing this area node.
- getAreaReference() - Method in class org.piccolo2d.nodes.PArea
-
Return the area backing this node.
- getAttribute(Object) - Method in class org.piccolo2d.PNode
-
Returns the value of the client attribute with the specified key.
- getAttribute(Object, Object) - Method in class org.piccolo2d.PNode
-
Fetches the value of the requested attribute, returning defaultValue is
not found.
- getAutopan() - Method in class org.piccolo2d.event.PPanEventHandler
-
Returns whether the auto-panning functoinality is enabled.
- getBackground() - Method in class org.piccolo2d.POffscreenCanvas
-
Return the background color for this offscreen canvas.
- getBooleanAttribute(Object, boolean) - Method in class org.piccolo2d.PNode
-
Fetches the boolean value of the requested attribute, returning
defaultValue is not found.
- getBottomCamera() - Method in class org.piccolo2d.util.PPickPath
-
Get the bottom camera on the pick path.
- getBounds() - Method in class org.piccolo2d.PNode
-
Return a copy of this node's bounds.
- getBoundsChanged() - Method in class org.piccolo2d.PNode
-
Return true if this node's bounds have recently changed.
- getBoundsReference() - Method in class org.piccolo2d.PNode
-
Return a direct reference to this node's bounds.
- getBoundsVolatile() - Method in class org.piccolo2d.PNode
-
Return true if this nodes bounds may change at any time.
- getBoundsWithStroke() - Method in class org.piccolo2d.nodes.PShape
-
Return the bounds of this node, taking the stroke into consideration if necessary.
- getButton() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the mouse button value of the underlying mouse event.
- getCamera() - Method in class org.piccolo2d.event.PInputEvent
-
Return the bottom most camera that is currently painting.
- getCamera() - Method in class org.piccolo2d.PCanvas
-
Return the camera associated with this canvas.
- getCamera(int) - Method in class org.piccolo2d.PLayer
-
Get the camera in this layer's camera list at the specified index.
- getCamera() - Method in class org.piccolo2d.POffscreenCanvas
-
Return the camera for this offscreen canvas.
- getCamera() - Method in class org.piccolo2d.util.PPaintContext
-
Returns the camera at the top of the camera stack, or null if stack is
empty.
- getCameraCount() - Method in class org.piccolo2d.PLayer
-
Get the number of cameras viewing this layer.
- getCamerasReference() - Method in class org.piccolo2d.PLayer
-
Get the list of cameras viewing this layer.
- getCanvasDelta() - Method in class org.piccolo2d.event.PInputEvent
-
Return the delta between the last and current mouse position in PCanvas
coordinates.
- getCanvasPosition() - Method in class org.piccolo2d.event.PInputEvent
-
Return the mouse position in PCanvas coordinates.
- getCenter2D() - Method in class org.piccolo2d.util.PBounds
-
Returns the midpoint of the bounds.
- getChild(int) - Method in class org.piccolo2d.PNode
-
Return the child node at the specified index.
- getChildBoundsInvalid() - Method in class org.piccolo2d.PNode
-
Return true if one of this node's descendants has invalid bounds.
- getChildBoundsVolatile() - Method in class org.piccolo2d.PNode
-
Return true if this node has a child with volatile bounds.
- getChildPaintInvalid() - Method in class org.piccolo2d.PNode
-
Return true if this node has a child with invalid paint.
- getChildrenCount() - Method in class org.piccolo2d.PNode
-
Return the number of children that this node has.
- getChildrenIterator() - Method in class org.piccolo2d.PNode
-
Return an iterator over this node's direct descendant children.
- getChildrenPickable() - Method in class org.piccolo2d.PNode
-
Return true if the children of this node should be picked.
- getChildrenReference() - Method in class org.piccolo2d.PNode
-
Return a reference to the list used to manage this node's children.
- getClickCount() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the click count of the mouse event.
- getClientProperties() - Method in class org.piccolo2d.PNode
-
Return mutable attributed set of client properties associated with this
node.
- getClientPropertyKeysEnumeration() - Method in class org.piccolo2d.PNode
-
Returns an enumeration of all keys maped to attribute values values.
- getColor() - Method in interface org.piccolo2d.activities.PColorActivity.Target
-
This method is called right before the color activity starts.
- getComponent() - Method in class org.piccolo2d.event.PInputEvent
-
Get the canvas associated with the top camera.
- getComponent() - Method in class org.piccolo2d.PCamera
-
Return the component for this camera, or null
if no
component has been associated with this camera, as may be the case for
internal cameras.
- getCurrentCanvasPosition() - Method in class org.piccolo2d.PInputManager
-
Returns the position of the current canvas event.
- getDebugPaintColor() - Static method in class org.piccolo2d.util.PDebug
-
Generates a color for use while debugging.
- getDefaultInputManager() - Method in class org.piccolo2d.PRoot
-
Get the default input manager to be used when processing input events.
- getDelegate() - Method in class org.piccolo2d.activities.PActivity
-
Get the delegate for this activity.
- getDelta() - Method in class org.piccolo2d.event.PInputEvent
-
Return the delta between the last and current mouse positions transformed
through the view transform of the bottom camera.
- getDeltaRelativeTo(PNode) - Method in class org.piccolo2d.event.PInputEvent
-
Return the delta between the last and current mouse positions relative to
a given node on the pick path.
- getDestinationColor() - Method in class org.piccolo2d.activities.PColorActivity
-
Return the final color that will be set on the color activities target
when the activity stops stepping.
- getDestinationTransform() - Method in class org.piccolo2d.activities.PTransformActivity
-
Return the final transform that will be set on the transform activities
target when the transform activity stops stepping.
- getDoubleAttribute(Object, double) - Method in class org.piccolo2d.PNode
-
Fetches the double value of the requested attribute, returning
defaultValue is not found.
- getDragActivity() - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Returns the scheduled activity that's updating the scene as a result to
the current drag activity (if any).
- getDraggedNode() - Method in class org.piccolo2d.event.PDragEventHandler
-
Returns the node that is currently being dragged, or null if none.
- getDuration() - Method in class org.piccolo2d.activities.PActivity
-
Return the amount of time that this activity should take to complete,
after the startStepping method is called.
- getErrantTransform() - Method in exception org.piccolo2d.util.PAffineTransformException
-
Used to access the transform related to this exception.
- getEventFilter() - Method in class org.piccolo2d.event.PBasicInputEventHandler
-
Returns the event filter responsible for filtering incoming events.
- getFirstLoop() - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Return true if the activity is executing its first loop.
- getFont() - Method in class org.piccolo2d.nodes.PHtmlView
-
Return the font for this HTML text node.
- getFont() - Method in class org.piccolo2d.nodes.PText
-
Return the font for this text node.
- getFramesProcessed() - Method in class org.piccolo2d.util.PDebug
-
Return the number of frames that have been processed since the last time
resetFPSTiming was called.
- getFullBounds() - Method in class org.piccolo2d.PNode
-
Return a copy of this node's full bounds.
- getFullBoundsInvalid() - Method in class org.piccolo2d.PNode
-
Return true if the full bounds of this node are invalid.
- getFullBoundsReference() - Method in class org.piccolo2d.PNode
-
Return a reference to this node's full bounds cache.
- getGlobalBounds() - Method in class org.piccolo2d.PNode
-
Return a copy of the bounds of this node in the global coordinate system.
- getGlobalFullBounds() - Method in class org.piccolo2d.PNode
-
Return a copy of the full bounds of this node in the global coordinate
system.
- getGlobalRotation() - Method in class org.piccolo2d.PNode
-
Return the total amount of rotation applied to this node by its own
transform together with the transforms of all its ancestors.
- getGlobalScale() - Method in class org.piccolo2d.PNode
-
Return the global scale that is being applied to this node by its
transform together with the transforms of all its ancestors.
- getGlobalTime() - Method in class org.piccolo2d.PRoot
-
Get the global Piccolo2D time.
- getGlobalToLocalTransform(PAffineTransform) - Method in class org.piccolo2d.PNode
-
Return the transform that converts global coordinates to local
coordinates of this node.
- getGlobalTranslation() - Method in class org.piccolo2d.PNode
-
Return the global translation that is being applied to this node by its
transform together with the transforms of all its ancestors.
- getGraphics() - Method in class org.piccolo2d.util.PPaintContext
-
Returns the graphics context associated with this paint context.
- getGreekThreshold() - Method in class org.piccolo2d.nodes.PText
-
Return the greek threshold in screen font size.
- getHeight() - Method in class org.piccolo2d.PNode
-
Return the height (in local coords) of this node's bounds.
- getHeight() - Method in class org.piccolo2d.util.PDimension
-
Returns the height of the dimension.
- getHorizontalAlignment() - Method in class org.piccolo2d.nodes.PText
-
Return the horizontal alignment for this text node.
- getImage() - Method in class org.piccolo2d.nodes.PImage
-
Returns the image that is shown by this node, or null if none.
- getInputEventListeners() - Method in class org.piccolo2d.PCanvas
-
Returns the input event listeners registered to receive input events.
- getInputEventListeners() - Method in class org.piccolo2d.PNode
-
Returns an array of input event listeners that are attached to this node.
- getInputFPS() - Static method in class org.piccolo2d.util.PDebug
-
Return the frames per second used to process input events and activities.
- getInputManager() - Method in class org.piccolo2d.event.PInputEvent
-
Return the input manager that dispatched this event.
- getIntegerAttribute(Object, int) - Method in class org.piccolo2d.PNode
-
Fetches the integer value of the requested attribute, returning
defaultValue is not found.
- getInteracting() - Method in class org.piccolo2d.PCanvas
-
Return true if this canvas has been marked as interacting, or whether
it's root is interacting.
- getInteracting() - Method in class org.piccolo2d.PRoot
-
Return true if this root has been marked as interacting.
- getInteractingRenderQuality() - Method in class org.piccolo2d.PCanvas
-
Returns the quality to use when interacting.
- getInverseTransform() - Method in class org.piccolo2d.PNode
-
Return an inverted copy of the transform associated with this node.
- getKeyboardFocus() - Method in class org.piccolo2d.PInputManager
-
Return the node that currently has the keyboard focus.
- getKeyChar() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the character associated with a key event.
- getKeyCode() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the key code associated with a key event.
- getKeyLocation() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the location on the keyboard from which the key stroke
originated.
- getLastCanvasPosition() - Method in class org.piccolo2d.PInputManager
-
Returns the position on the Canvas of the last event.
- getLayer(int) - Method in class org.piccolo2d.PCamera
-
Return the layer at the specified position in the list of layers viewed by this camera.
- getLayer() - Method in class org.piccolo2d.PCanvas
-
Return layer for this canvas.
- getLayerCount() - Method in class org.piccolo2d.PCamera
-
Return the number of layers in the list of layers viewed by this camera.
- getLayersReference() - Method in class org.piccolo2d.PCamera
-
Return a reference to the list of layers viewed by this camera.
- getLinkAddressAt(Point2D) - Method in class org.piccolo2d.nodes.PHtmlView
-
Return the address specified in the HTML link at the specified point in
this node's local coordinate system, if any.
- getLinkAddressAt(double, double) - Method in class org.piccolo2d.nodes.PHtmlView
-
Return the address specified in the HTML link at the specified x and y
coordinates in this node's local coordinate system, if any.
- getListenerList() - Method in class org.piccolo2d.PNode
-
Return the list of event listeners associated with this node.
- getLocalClip() - Method in class org.piccolo2d.util.PPaintContext
-
Returns the clipping region in the local coordinate system applied by
graphics.
- getLocalToGlobalTransform(PAffineTransform) - Method in class org.piccolo2d.PNode
-
Return the transform that converts local coordinates at this node to the
global coordinate system.
- getLoopCount() - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Return the number of times the activity should automatically reschedule
itself after it has finished.
- getMarksAcceptedEventsAsHandled() - Method in class org.piccolo2d.event.PInputEventFilter
-
Returns whether this filter marks events as handled if they are accepted.
- getMaxAutoPanSpeed() - Method in class org.piccolo2d.event.PPanEventHandler
-
Returns the maxAutoPan speed in pixels per second.
- getMaxScale() - Method in class org.piccolo2d.event.PZoomEventHandler
-
Returns the maximum view magnification factor that this event handler is
bound by.
- getMinAutoPanSpeed() - Method in class org.piccolo2d.event.PPanEventHandler
-
Returns the minAutoPan speed in pixels per second.
- getMinDragStartDistance() - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Returns the minimum distance (in screen coordinates) before a pressed
mouse movement is registered as a drag event.
- getMinScale() - Method in class org.piccolo2d.event.PZoomEventHandler
-
Returns the minimum view magnification factor that this event handler is
bound by.
- getMode() - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Return the mode used for interpolation.
- getModifiers() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the modifiers provided for the input event by swing.
- getModifiersEx() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the extended modifiers provided for the input event by swing.
- getMouseFocus() - Method in class org.piccolo2d.PInputManager
-
Return the current Pick Path under the mouse focus.
- getMouseOver() - Method in class org.piccolo2d.PInputManager
-
Return the node the the mouse is currently over.
- getMousePressedCanvasPoint() - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Return the point in canvas coordinates where the mouse was last pressed.
- getName() - Method in class org.piccolo2d.PNode
-
Returns the name given to this node.
- getNextStepTime() - Method in class org.piccolo2d.activities.PActivity
-
Gets the next step time desired for this activity.
- getNodeStackReference() - Method in class org.piccolo2d.util.PPickPath
-
Returns a reference to the node stack.
- getNormalRenderQuality() - Method in class org.piccolo2d.PCanvas
-
Returns the quality to use when not animating or interacting.
- getOccluded() - Method in class org.piccolo2d.PNode
-
Returns whether this node has been flagged as occluded.
- getOffset() - Method in class org.piccolo2d.PNode
-
Return the offset that is being applied to this node by its transform.
- getOrigin() - Method in class org.piccolo2d.util.PBounds
-
Returns the x,y coordinate of the bounds.
- getOutputFPS() - Static method in class org.piccolo2d.util.PDebug
-
Return the frames per seconds used to paint graphics to the screen.
- getPaint() - Method in class org.piccolo2d.PNode
-
Return the paint used while painting this node.
- getPaintInvalid() - Method in class org.piccolo2d.PNode
-
Return true if this nodes paint is invalid, in which case the node needs
to be repainted.
- getPanEventHandler() - Method in class org.piccolo2d.PCanvas
-
Get the pan event handler associated with this canvas.
- getParent() - Method in class org.piccolo2d.PNode
-
Return the parent of this node.
- getPath() - Method in class org.piccolo2d.event.PInputEvent
-
Return the PPickPath associated with this input event.
- getPath() - Method in class org.piccolo2d.nodes.PPath
-
Return a copy of the path backing this path node.
- getPathReference() - Method in class org.piccolo2d.nodes.PPath
-
Return the path backing this node.
- getPathTransformTo(PNode) - Method in class org.piccolo2d.util.PPickPath
-
Calculates the context at which the given node is being interacted with.
- getPickable() - Method in class org.piccolo2d.PNode
-
Return true if this node is pickable.
- getPickBounds() - Method in class org.piccolo2d.util.PPickPath
-
Returns the bounds of the entire PickPath taken as a whole.
- getPickedNode() - Method in class org.piccolo2d.event.PInputEvent
-
Return the bottom node on the current pickpath, that is the picked node
furthest from the root node.
- getPickedNode() - Method in class org.piccolo2d.util.PPickPath
-
Get the bottom node on the pick path node stack.
- getPosition() - Method in class org.piccolo2d.event.PInputEvent
-
Return the mouse position transformed through the view transform of the
bottom camera.
- getPositionRelativeTo(PNode) - Method in class org.piccolo2d.event.PInputEvent
-
Return the mouse position relative to a given node on the pick path.
- getProcessingOutput() - Static method in class org.piccolo2d.util.PDebug
-
Returns whether output is being processed.
- getPropertyChangeParentMask() - Method in class org.piccolo2d.PNode
-
Return the propertyChangeParentMask that determines which property change
events are forwared to this nodes parent so that its property change
listeners will also be notified.
- getRaiseToTopOnPress() - Method in class org.piccolo2d.event.PDragEventHandler
-
Returns whether this drag event handler has been informed to raise nodes
to the top of all other on drag.
- getRenderQuality() - Method in class org.piccolo2d.POffscreenCanvas
-
Return the render quality hint for this offscreen canvas.
- getRenderQuality() - Method in class org.piccolo2d.util.PPaintContext
-
Return the render quality used by this paint context.
- getRoot() - Method in class org.piccolo2d.activities.PActivityScheduler
-
Returns the node from which all activities will be attached.
- getRoot() - Method in class org.piccolo2d.PCanvas
-
Return root for this canvas.
- getRoot() - Method in class org.piccolo2d.PNode
-
Return the root node (instance of PRoot).
- getRoot() - Method in class org.piccolo2d.POffscreenCanvas
-
Return the root node of the scene graph for this offscreen canvas.
- getRoot() - Method in class org.piccolo2d.PRoot
-
Since getRoot is handled recursively, and root is the lowest point in the
hierarchy, simply returns itself.
- getRotation() - Method in class org.piccolo2d.PNode
-
Returns the rotation applied by this node's transform in radians.
- getRotation() - Method in class org.piccolo2d.util.PAffineTransform
-
Returns the rotation applied to this affine transform in radians.
- getScale() - Method in class org.piccolo2d.PNode
-
Return the scale applied by this node's transform.
- getScale() - Method in class org.piccolo2d.util.PAffineTransform
-
Returns the scale applied to this transform.
- getScale() - Method in class org.piccolo2d.util.PPaintContext
-
Returns scale of the current graphics context.
- getScale() - Method in class org.piccolo2d.util.PPickPath
-
Returns the resulting scale of applying the transforms of the entire pick
path.
- getScaleFactor() - Method in class org.piccolo2d.event.PMouseWheelZoomEventHandler
-
Return the scale factor for this mouse wheel zoom event handler.
- getShape() - Method in class org.piccolo2d.nodes.PArea
-
Return the shape for this shape node.
- getShape() - Method in class org.piccolo2d.nodes.PPath
-
Return the shape for this shape node.
- getShape() - Method in class org.piccolo2d.nodes.PShape
-
Return the shape for this shape node.
- getSize() - Method in class org.piccolo2d.util.PBounds
-
Returns the size of the bounds.
- getSlowInSlowOut() - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Returns whether this interpolation accelerates and then decelerates as it
interpolates.
- getSourceMatrix(double[]) - Method in interface org.piccolo2d.activities.PTransformActivity.Target
-
This method is called right before the transform activity starts.
- getSourceSwingEvent() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the underlying swing event that this PInputEvent is wrapping.
- getStartTime() - Method in class org.piccolo2d.activities.PActivity
-
Return the time that this activity should start running in PRoot global
time.
- getStepRate() - Method in class org.piccolo2d.activities.PActivity
-
Return the amount of time that this activity should delay between steps.
- getStopTime() - Method in class org.piccolo2d.activities.PActivity
-
Return the time when this activity should finish running.
- getStroke() - Method in class org.piccolo2d.nodes.PShape
-
Return the stroke for this shape node.
- getStrokePaint() - Method in class org.piccolo2d.nodes.PShape
-
Return the stroke paint for this shape node.
- getText() - Method in class org.piccolo2d.nodes.PHtmlView
-
Return the HTML text for this HTML text node.
- getText() - Method in class org.piccolo2d.nodes.PText
-
Return the text for this text node.
- getTextColor() - Method in class org.piccolo2d.nodes.PHtmlView
-
Return the text color for this HTML text node.
- getTextPaint() - Method in class org.piccolo2d.nodes.PText
-
Return the paint used to paint this node's text.
- getTopCamera() - Method in class org.piccolo2d.event.PInputEvent
-
Return the topmost camera this is painting.
- getTopCamera() - Method in class org.piccolo2d.util.PPickPath
-
Get the top camera on the pick path.
- getTotalFPS() - Static method in class org.piccolo2d.util.PDebug
-
Return how many frames are processed and painted per second.
- getTransform() - Method in class org.piccolo2d.PNode
-
Return a copy of the transform associated with this node.
- getTransformReference(boolean) - Method in class org.piccolo2d.PNode
-
Return a reference to the transform associated with this node.
- getTransparency() - Method in class org.piccolo2d.PNode
-
Return the transparency used when painting this node.
- getUnionOfChildrenBounds(PBounds) - Method in class org.piccolo2d.PNode
-
Compute and return the union of the full bounds of all the children of
this node.
- getUnionOfLayerFullBounds() - Method in class org.piccolo2d.PCamera
-
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.
- getViewBounds() - Method in class org.piccolo2d.PCamera
-
Return the bounds of this camera in the view coordinate system.
- getViewConstraint() - Method in class org.piccolo2d.PCamera
-
Return the constraint applied to the view.
- getViewScale() - Method in class org.piccolo2d.PCamera
-
Return the scale applied by the view transform to the list of layers
viewed by this camera.
- getViewTransform() - Method in class org.piccolo2d.PCamera
-
Return a copy of the view transform applied to the list of layers
viewed by this camera.
- getViewTransformReference() - Method in class org.piccolo2d.PCamera
-
Return a reference to the view transform applied to the list of layers
viewed by this camera.
- getVisible() - Method in class org.piccolo2d.PNode
-
Return true if this node is visible, that is if it will paint itself and
descendants.
- getWheelRotation() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the current value of the wheel rotation on Mouse Wheel Rotation
events.
- getWhen() - Method in class org.piccolo2d.event.PInputEvent
-
Returns the time at which the event was emitted.
- getWidth() - Method in class org.piccolo2d.PNode
-
Return the width (in local coords) of this node's bounds.
- getWidth() - Method in class org.piccolo2d.util.PDimension
-
Returns the width of the dimension.
- getX() - Method in class org.piccolo2d.PNode
-
Return the x position (in local coords) of this node's bounds.
- getXOffset() - Method in class org.piccolo2d.PNode
-
Returns the x offset of this node as applied by its transform.
- getY() - Method in class org.piccolo2d.PNode
-
Return the y position (in local coords) of this node's bounds.
- getYOffset() - Method in class org.piccolo2d.PNode
-
Returns the y offset of this node as applied by its transform.
- getZoomEventHandler() - Method in class org.piccolo2d.PCanvas
-
Get the zoom event handler associated with this canvas.
- globalToLocal(Point2D) - Method in class org.piccolo2d.PNode
-
Transform the given point from global coordinates to this node's local
coordinate system.
- globalToLocal(Dimension2D) - Method in class org.piccolo2d.PNode
-
Transform the given dimension from global coordinates to this node's
local coordinate system.
- globalToLocal(Rectangle2D) - Method in class org.piccolo2d.PNode
-
Transform the given rectangle from global coordinates to this node's
local coordinate system.
- greekThreshold - Variable in class org.piccolo2d.nodes.PText
-
Greek threshold in screen font size for this text node.
- indexOfChild(PNode) - Method in class org.piccolo2d.PNode
-
Return the index where the given child is stored.
- indexOfLayer(PLayer) - Method in class org.piccolo2d.PCamera
-
Return the index of the first occurrence of the specified layer in the
list of layers viewed by this camera, or -1
if the list of layers
viewed by this camera does not contain the specified layer.
- inset(double, double) - Method in class org.piccolo2d.util.PBounds
-
Adjust the measurements of this bounds so that they are the amounts given
"in" from their previous border.
- installInputSources() - Method in class org.piccolo2d.PCanvas
-
This method installs mouse and key listeners on the canvas that forward
those events to piccolo.
- internalUpdateBounds(double, double, double, double) - Method in class org.piccolo2d.nodes.PShape
-
Gives nodes a chance to update their internal structure before bounds
changed notifications are sent.
- internalUpdateBounds(double, double, double, double) - Method in class org.piccolo2d.nodes.PText
-
Gives nodes a chance to update their internal structure before bounds
changed notifications are sent.
- internalUpdateBounds(double, double, double, double) - Method in class org.piccolo2d.PNode
-
Gives nodes a chance to update their internal structure before bounds
changed notifications are sent.
- intersect(Area) - Method in class org.piccolo2d.nodes.PArea
-
Set the shape of this area node to the intersection of its current shape
and the shape of the specified area.
- intersects(Rectangle2D) - Method in class org.piccolo2d.nodes.PShape
-
Return true if this node intersects the given rectangle specified in
local bounds.
- intersects(Rectangle2D) - Method in class org.piccolo2d.PNode
-
Return true if this node intersects the given rectangle specified in
local bounds.
- invalidateFullBounds() - Method in class org.piccolo2d.PNode
-
Invalidates the full bounds of this node, and sets the child bounds
invalid flag on each of this node's ancestors.
- invalidateLayout() - Method in class org.piccolo2d.PNode
-
Invalidate this node's layout, so that later layoutChildren will get
called.
- invalidatePaint() - Method in class org.piccolo2d.PNode
-
Invalidate this node's paint, and mark all of its ancestors as having a
node with invalid paint.
- inverseTransform(Point2D, Point2D) - Method in class org.piccolo2d.util.PAffineTransform
-
Applies the inverse of this transform to the source point if possible.
- inverseTransform(Dimension2D, Dimension2D) - Method in class org.piccolo2d.util.PAffineTransform
-
Applies the inverse of this transform to the source dimension if
possible.
- inverseTransform(Rectangle2D, Rectangle2D) - Method in class org.piccolo2d.util.PAffineTransform
-
Applies the inverse of this transform to the source rectangle and stores
the result in rectDst.
- isActionKey() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the key event involves the action key.
- isAltDown() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the alt key is currently down.
- isAncestorOf(PNode) - Method in class org.piccolo2d.PNode
-
Return true if this node is an ancestor of the parameter node.
- isAnimation() - Method in class org.piccolo2d.activities.PActivity
-
Return true if this activity is performing an animation.
- isAnimation() - Method in class org.piccolo2d.activities.PColorActivity
-
Returns true since all PColorActivities animate the scene.
- isAnimation() - Method in class org.piccolo2d.activities.PTransformActivity
-
Whether each step invalidates paint.
- isConstrainHeightToTextHeight() - Method in class org.piccolo2d.nodes.PText
-
Return true if this text node should constrain its height to the height
of its text.
- isConstrainWidthToTextWidth() - Method in class org.piccolo2d.nodes.PText
-
Return true if this text node should constrain its width to the width of
its text.
- isControlDown() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the control key is currently down.
- isDescendentOf(PNode) - Method in class org.piccolo2d.PNode
-
Return true if this node is a descendant of the parameter node.
- isDescendentOfRoot() - Method in class org.piccolo2d.PNode
-
Return true if this node descends from the root.
- isDragging() - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Returns true if this event handler is in the process of handling a drag.
- isEmpty() - Method in class org.piccolo2d.nodes.PArea
-
Return true if this area node represents an empty area.
- isEmpty() - Method in class org.piccolo2d.util.PBounds
-
Returns true if this bounds has been flagged as empty.
- isFocusEvent() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the underlying event is a Focus Event.
- isHandled() - Method in class org.piccolo2d.event.PInputEvent
-
Return true if another event handler has already handled this event.
- isKeyEvent() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the underlying event is a KeyEvent.
- isLeftMouseButton() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the mouse event involves the left mouse button.
- isMetaDown() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the meta key is currently down.
- isMiddleMouseButton() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the mouse event involves the middle mouse button.
- isMouseEnteredOrMouseExited() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the underlying event is a mouse entered or exited event.
- isMouseEvent() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the underlying event is a MouseEvent.
- isMouseWheelEvent() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the underlying event is a Mouse Wheel Event.
- isOpaque(Rectangle2D) - Method in class org.piccolo2d.PNode
-
Returns whether this node is Opaque.
- isOpaque() - Method in class org.piccolo2d.POffscreenCanvas
-
Return true if this offscreen canvas is opaque.
- isPolygonal() - Method in class org.piccolo2d.nodes.PArea
-
Return true if this area node consists entirely of straight-edged polygonal geometry.
- isPopupTrigger() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether or not this event is a popup menu trigger event for the
platform.
- isRectangular() - Method in class org.piccolo2d.nodes.PArea
-
Return true if this area node is rectangular in shape.
- isRightMouseButton() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the mouse event involves the right mouse button.
- isShiftDown() - Method in class org.piccolo2d.event.PInputEvent
-
Returns whether the shift key is currently down.
- isSingular() - Method in class org.piccolo2d.nodes.PArea
-
Return true if this area node is comprised of a single closed subpath.
- isStepping() - Method in class org.piccolo2d.activities.PActivity
-
Return true if this activity is stepping.
- PActivity - Class in org.piccolo2d.activities
-
PActivity controls some time dependent aspect of Piccolo, such as
animation.
- PActivity(long) - Constructor for class org.piccolo2d.activities.PActivity
-
Constructs a new PActivity.
- PActivity(long, long) - Constructor for class org.piccolo2d.activities.PActivity
-
Constructs a new PActivity.
- PActivity(long, long, long) - Constructor for class org.piccolo2d.activities.PActivity
-
Constructs a new PActivity.
- PActivity.PActivityDelegate - Interface in org.piccolo2d.activities
-
PActivityDelegate is used by classes to learn about and act on the
different states that a PActivity goes through, such as when the activity
starts and stops stepping.
- PActivityScheduler - Class in org.piccolo2d.activities
-
PActivityScheduler is responsible for maintaining a list of
activities.
- PActivityScheduler(PRoot) - Constructor for class org.piccolo2d.activities.PActivityScheduler
-
Constructs an instance of PActivityScheduler.
- PAffineTransform - Class in org.piccolo2d.util
-
PAffineTransform is a subclass of AffineTransform that has been
extended with convenience methods.
- PAffineTransform() - Constructor for class org.piccolo2d.util.PAffineTransform
-
Constructs a new AffineTransform representing the Identity
transformation.
- PAffineTransform(double[]) - Constructor for class org.piccolo2d.util.PAffineTransform
-
Constructs a new AffineTransform from an array of double precision values
representing either the 4 non-translation entries or the 6 specifiable
entries of the 3x3 transformation matrix.
- PAffineTransform(float[]) - Constructor for class org.piccolo2d.util.PAffineTransform
-
Constructs a new AffineTransform from an array of floating point values
representing either the 4 non-translation entries or the 6 specifiable
entries of the 3x3 transformation matrix.
- PAffineTransform(double, double, double, double, double, double) - Constructor for class org.piccolo2d.util.PAffineTransform
-
Constructs a new AffineTransform from 6 double precision values
representing the 6 specifiable entries of the 3x3 transformation matrix.
- PAffineTransform(float, float, float, float, float, float) - Constructor for class org.piccolo2d.util.PAffineTransform
-
Constructs a new AffineTransform from 6 floating point values
representing the 6 specifiable entries of the 3x3 transformation matrix.
- PAffineTransform(AffineTransform) - Constructor for class org.piccolo2d.util.PAffineTransform
-
Constructs a new AffineTransform that is a copy of the specified
AffineTransform object.
- PAffineTransformException - Exception in org.piccolo2d.util
-
This class is used to encapsulate exceptions that may occur while performing transform operations.
- PAffineTransformException(PAffineTransform) - Constructor for exception org.piccolo2d.util.PAffineTransformException
-
Constructs an Exception that represents an error with the
errantTransform.
- PAffineTransformException(String, PAffineTransform) - Constructor for exception org.piccolo2d.util.PAffineTransformException
-
Constructs an Exception that represents an error with the
errantTransform.
- PAffineTransformException(Throwable, PAffineTransform) - Constructor for exception org.piccolo2d.util.PAffineTransformException
-
Constructs an Exception that wraps another and records the errant
transform.
- PAffineTransformException(String, Throwable, PAffineTransform) - Constructor for exception org.piccolo2d.util.PAffineTransformException
-
Constructs an Exception that wraps another and records the errant
transform and provides a human readable message about the exception's
context.
- paint(PPaintContext) - Method in class org.piccolo2d.nodes.PHtmlView
-
Paint this node behind any of its children nodes.
- paint(PPaintContext) - Method in class org.piccolo2d.nodes.PImage
-
Renders the wrapped Image, stretching it appropriately if the bounds of
this PImage doesn't match the bounds of the image.
- paint(PPaintContext) - Method in class org.piccolo2d.nodes.PShape
-
Paint this node behind any of its children nodes.
- paint(PPaintContext) - Method in class org.piccolo2d.nodes.PText
-
Paint this node behind any of its children nodes.
- paint(PPaintContext) - Method in class org.piccolo2d.PCamera
-
Paint this camera and then paint this camera's view through its view
transform.
- paint(PPaintContext) - Method in class org.piccolo2d.PNode
-
Paint this node behind any of its children nodes.
- paintAfterChildren(PPaintContext) - Method in class org.piccolo2d.PNode
-
Subclasses that wish to do additional painting after their children are
painted should override this method and do that painting here.
- paintCameraView(PPaintContext) - Method in class org.piccolo2d.PCamera
-
Paint all the layers in the list of layers viewed by this camera.
- paintComponent(Graphics) - Method in class org.piccolo2d.PCanvas
- paintDebugInfo(PPaintContext) - Method in class org.piccolo2d.PCamera
-
Renders debug info onto the newly painted scene.
- paintGreek(PPaintContext) - Method in class org.piccolo2d.nodes.PText
-
Paint greek with the specified paint context.
- paintImmediately() - Method in class org.piccolo2d.PCanvas
-
If not painting immediately, send paint notification to RepaintManager,
otherwise does nothing.
- paintImmediately() - Method in interface org.piccolo2d.PComponent
-
Sends a repaint notification the repaint manager if PComponent is not
already painting immediately.
- paintImmediately() - Method in class org.piccolo2d.POffscreenCanvas
-
Sends a repaint notification the repaint manager if PComponent is not
already painting immediately.
- paintText(PPaintContext) - Method in class org.piccolo2d.nodes.PText
-
Paint text with the specified paint context.
- pan(PInputEvent) - Method in class org.piccolo2d.event.PPanEventHandler
-
Pans the camera in response to the pan event provided.
- PArea - Class in org.piccolo2d.nodes
-
Area node.
- PArea() - Constructor for class org.piccolo2d.nodes.PArea
-
Create a new area node with an empty area.
- PArea(Stroke) - Constructor for class org.piccolo2d.nodes.PArea
-
Create a new area node with an empty area and the specified stroke.
- PArea(Shape) - Constructor for class org.piccolo2d.nodes.PArea
-
Create a new area node with the specified shape.
- PArea(Shape, Stroke) - Constructor for class org.piccolo2d.nodes.PArea
-
Create a new area node with the specified shape and stroke.
- PArea(Area) - Constructor for class org.piccolo2d.nodes.PArea
-
Create a new area node with the specified area.
- PArea(Area, Stroke) - Constructor for class org.piccolo2d.nodes.PArea
-
Create a new area node with the specified area and stroke.
- parentBoundsChanged() - Method in class org.piccolo2d.PNode
-
A notification that the bounds of this node's parent have changed.
- parentToLocal(Point2D) - Method in class org.piccolo2d.PNode
-
Transform the given point from this node's parent's local coordinate
system to the local coordinate system of this node.
- parentToLocal(Dimension2D) - Method in class org.piccolo2d.PNode
-
Transform the given dimension from this node's parent's local coordinate
system to the local coordinate system of this node.
- parentToLocal(Rectangle2D) - Method in class org.piccolo2d.PNode
-
Transform the given rectangle from this node's parent's local coordinate
system to the local coordinate system of this node.
- PBasicInputEventHandler - Class in org.piccolo2d.event
-
PBasicInputEventHandler is the standard class in Piccolo that is used
to register for mouse and keyboard events on a PNode.
- PBasicInputEventHandler() - Constructor for class org.piccolo2d.event.PBasicInputEventHandler
-
Constructs a PBasicInputEventHandler with a wide open event filter.
- PBounds - Class in org.piccolo2d.util
-
PBounds is simply a Rectangle2D.Double with extra methods that more
properly deal with the case when the rectangle is "empty".
- PBounds() - Constructor for class org.piccolo2d.util.PBounds
-
Creates an empty bounds.
- PBounds(PBounds) - Constructor for class org.piccolo2d.util.PBounds
-
Creates a bounds identical to the one provided.
- PBounds(Rectangle2D) - Constructor for class org.piccolo2d.util.PBounds
-
Creates a bounds with the same shape as the rectangle provided.
- PBounds(Point2D, double, double) - Constructor for class org.piccolo2d.util.PBounds
-
Constructs a PBounds object with the given center point and the specified
insets.
- PBounds(double, double, double, double) - Constructor for class org.piccolo2d.util.PBounds
-
Constructs a PBounds object at the given coordinates with the given
dimensions.
- PCamera - Class in org.piccolo2d
-
PCamera represents a viewport onto a list of layer nodes.
- PCamera() - Constructor for class org.piccolo2d.PCamera
-
Create a new camera with an empy list of layers.
- PCanvas - Class in org.piccolo2d
-
PCanvas is a simple Swing component that can be used to embed Piccolo
into a Java Swing application.
- PCanvas() - Constructor for class org.piccolo2d.PCanvas
-
Construct a canvas with the basic scene graph consisting of a root,
camera, and layer.
- PColorActivity - Class in org.piccolo2d.activities
-
PColorActivity interpolates between two colors for its target over the
duration of the animation.
- PColorActivity(long, long, PColorActivity.Target) - Constructor for class org.piccolo2d.activities.PColorActivity
-
Constructs a color activity for the given target that will animate for
the duration provided at an interval of stepRate.
- PColorActivity(long, long, PColorActivity.Target, Color) - Constructor for class org.piccolo2d.activities.PColorActivity
-
Constructs a color activity for the given target that will animate for
the duration provided at an interval of stepRate from the target's
starting color to the destination color.
- PColorActivity(long, long, int, int, PColorActivity.Target, Color) - Constructor for class org.piccolo2d.activities.PColorActivity
-
Create a new PColorActivity.
- PColorActivity.Target - Interface in org.piccolo2d.activities
-
Target Objects that want their color to be set by the color
activity must implement this interface.
- PComponent - Interface in org.piccolo2d
-
Interface that a component needs to implement if it wants to act as a Piccolo
canvas.
- PDebug - Class in org.piccolo2d.util
-
PDebug is used to set framework wide debugging flags.
- PDimension - Class in org.piccolo2d.util
-
PDimension this class should be removed once a concrete Dimension2D
that supports doubles is added to java.
- PDimension() - Constructor for class org.piccolo2d.util.PDimension
-
Returns a dimension with no width or height.
- PDimension(Dimension2D) - Constructor for class org.piccolo2d.util.PDimension
-
Copies the provided dimension.
- PDimension(double, double) - Constructor for class org.piccolo2d.util.PDimension
-
Creates a dimension with the provided dimensions.
- PDimension(Point2D, Point2D) - Constructor for class org.piccolo2d.util.PDimension
-
Creates a dimension that's the size of a rectangel with the points
provided as opposite corners.
- PDragEventHandler - Class in org.piccolo2d.event
-
PDragEventHandler is a simple event handler for dragging a node on the
canvas.
- PDragEventHandler() - Constructor for class org.piccolo2d.event.PDragEventHandler
-
Constructs a drag event handler which defaults to not raising the node to
the top on drag.
- PDragSequenceEventHandler - Class in org.piccolo2d.event
-
PDragSequenceEventHandler is designed to support mouse pressed,
dragged, and released interaction sequences.
- PDragSequenceEventHandler() - Constructor for class org.piccolo2d.event.PDragSequenceEventHandler
-
Constructs a drag sequence event handler instance.
- peek() - Method in class org.piccolo2d.util.PStack
-
Returns topmost element on the stack, or null if stack is empty.
- PHtmlView - Class in org.piccolo2d.nodes
-
PHtmlView is a Piccolo node for rendering HTML text.
- PHtmlView() - Constructor for class org.piccolo2d.nodes.PHtmlView
-
Create an empty HTML text node with the default font and text color.
- PHtmlView(String) - Constructor for class org.piccolo2d.nodes.PHtmlView
-
Create a HTML text node with the specified HTML text and the default font
and text color.
- PHtmlView(String, Font, Color) - Constructor for class org.piccolo2d.nodes.PHtmlView
-
Create a HTML text node with the specified HTML text, font, and text
color.
- pick(double, double, double) - Method in class org.piccolo2d.PCamera
-
Generate and return a PPickPath for the point x,y specified in the local
coord system of this camera.
- pick(PPickPath) - Method in class org.piccolo2d.PNode
-
Try to pick this node before its children have had a chance to be picked.
- pickAfterChildren(PPickPath) - Method in class org.piccolo2d.PCamera
-
Try to pick this node after its children have had a chance to be picked.
- pickAfterChildren(PPickPath) - Method in class org.piccolo2d.PNode
-
Try to pick this node after its children have had a chance to be picked.
- pickCameraView(PPickPath) - Method in class org.piccolo2d.PCamera
-
Try to pick all of the layers in the list of layers viewed by this
camera.
- PImage - Class in org.piccolo2d.nodes
-
PImage is a wrapper around a java.awt.Image.
- PImage() - Constructor for class org.piccolo2d.nodes.PImage
-
Constructs a PImage without a java.awt.Image attached.
- PImage(String) - Constructor for class org.piccolo2d.nodes.PImage
-
Construct a new PImage by loading the given fileName and wrapping the
resulting java.awt.Image.
- PImage(Image) - Constructor for class org.piccolo2d.nodes.PImage
-
Construct a new PImage wrapping the given java.awt.Image.
- PImage(URL) - Constructor for class org.piccolo2d.nodes.PImage
-
Construct a new PImage by loading the given url and wrapping the
resulting java.awt.Image.
- PInputEvent - Class in org.piccolo2d.event
-
PInputEvent is used to notify PInputEventListeners of keyboard and
mouse input.
- PInputEvent(PInputManager, InputEvent) - Constructor for class org.piccolo2d.event.PInputEvent
-
Create an event with the given inputManager and based on the given swing
event.
- PInputEventFilter - Class in org.piccolo2d.event
-
PInputEventFilter is a class that filters input events based on the
events modifiers and type.
- PInputEventFilter() - Constructor for class org.piccolo2d.event.PInputEventFilter
-
Creates a PInputEventFilter that accepts everything.
- PInputEventFilter(int) - Constructor for class org.piccolo2d.event.PInputEventFilter
-
Creates a PInputEventFilter that will accept events if they have the
given andMask.
- PInputEventFilter(int, int) - Constructor for class org.piccolo2d.event.PInputEventFilter
-
Creates a PInputEventFilter that will accept events if they have the
given andMask and do not contain any of the bits in the notMask.
- PInputEventListener - Interface in org.piccolo2d.event
-
PInputEventListener defines the most basic interface for objects that
want to listen to PNodes for input events.
- PInputManager - Class in org.piccolo2d
-
PInputManager is responsible for dispatching PInputEvents to node's
event listeners.
- PInputManager() - Constructor for class org.piccolo2d.PInputManager
-
Creates a PInputManager and sets positions (last, current) to the origin
(0,0).
- PInterpolatingActivity - Class in org.piccolo2d.activities
-
PInterpolatingActivity interpolates between two states (source and
destination) over the duration of the activity.
- PInterpolatingActivity(long) - Constructor for class org.piccolo2d.activities.PInterpolatingActivity
-
Constructs an interpolating activity that will last the duration given.
- PInterpolatingActivity(long, long) - Constructor for class org.piccolo2d.activities.PInterpolatingActivity
-
Constructs an interpolating activity that will last the duration given
and will update its target at the given rate.
- PInterpolatingActivity(long, long, int, int) - Constructor for class org.piccolo2d.activities.PInterpolatingActivity
-
Constructs an interpolating activity that will last the duration given
and will update its target at the given rate.
- PInterpolatingActivity(long, long, long, int, int) - Constructor for class org.piccolo2d.activities.PInterpolatingActivity
-
Create a new PInterpolatingActivity.
- PLayer - Class in org.piccolo2d
-
PLayer is a node that can be viewed directly by multiple camera nodes.
- PLayer() - Constructor for class org.piccolo2d.PLayer
-
Creates a PLayer without any cameras attached to it.
- PMouseWheelZoomEventHandler - Class in org.piccolo2d.event
-
Zoom event handler that scales the camera view transform in response to mouse wheel events.
- PMouseWheelZoomEventHandler() - Constructor for class org.piccolo2d.event.PMouseWheelZoomEventHandler
-
Create a new mouse wheel zoom event handler.
- PNode - Class in org.piccolo2d
-
PNode is the central abstraction in Piccolo.
- PNode(String) - Constructor for class org.piccolo2d.PNode
-
Creates a new PNode with the given name.
- PNode() - Constructor for class org.piccolo2d.PNode
-
Constructs a new PNode.
- PNode.PSceneGraphDelegate - Interface in org.piccolo2d
-
PSceneGraphDelegate is an interface to receive low level node
events.
- PNodeFilter - Interface in org.piccolo2d.util
-
PNodeFilter is a interface that filters (accepts or rejects) nodes.
- PObjectOutputStream - Class in org.piccolo2d.util
-
PObjectOutputStream is an extension of ObjectOutputStream to handle
optional elements.
- PObjectOutputStream(OutputStream) - Constructor for class org.piccolo2d.util.PObjectOutputStream
-
Constructs a PObjectOutputStream that wraps the provided OutputStream.
- POffscreenCanvas - Class in org.piccolo2d
-
Offscreen canvas.
- POffscreenCanvas(int, int) - Constructor for class org.piccolo2d.POffscreenCanvas
-
Create a new offscreen canvas the specified width and height.
- pop() - Method in class org.piccolo2d.util.PStack
-
Removes top element on the stack and returns it.
- popCamera() - Method in class org.piccolo2d.util.PPaintContext
-
Removes the camera at the top of the camera stack.
- popClip(Shape) - Method in class org.piccolo2d.util.PPaintContext
-
Removes the topmost clipping region from the clipping stack.
- popCursor() - Method in class org.piccolo2d.event.PInputEvent
-
Removes the top most cursor from the cursor stack and sets it as the
current cursor.
- popCursor() - Method in class org.piccolo2d.PCanvas
-
Pop the cursor on top of the cursorStack and set it as the canvas cursor.
- popCursor() - Method in interface org.piccolo2d.PComponent
-
Pops the topmost cursor from the stack and sets it as the current one.
- popCursor() - Method in class org.piccolo2d.POffscreenCanvas
-
Pops the topmost cursor from the stack and sets it as the current one.
- popNode(PNode) - Method in class org.piccolo2d.util.PPickPath
-
Removes the topmost node from the node stack.
- popTransform(PAffineTransform) - Method in class org.piccolo2d.util.PPaintContext
-
Pops the topmost Transform from the top of the transform if the passed in
transform is not null.
- popTransform(PAffineTransform) - Method in class org.piccolo2d.util.PPickPath
-
Pops the top most transform from the pick path.
- popTransparency(float) - Method in class org.piccolo2d.util.PPaintContext
-
Removes the topmost transparency if the given transparency is not opaque
(1f).
- PPaintContext - Class in org.piccolo2d.util
-
PPaintContext is used by piccolo nodes to paint themselves on the
screen.
- PPaintContext(Graphics2D) - Constructor for class org.piccolo2d.util.PPaintContext
-
Creates a PPaintContext associated with the given graphics context.
- PPanEventHandler - Class in org.piccolo2d.event
-
PPanEventHandler provides event handlers for basic panning of the
canvas view with the left mouse.
- PPanEventHandler() - Constructor for class org.piccolo2d.event.PPanEventHandler
-
Constructs a Pan Event Handler that will by default perform auto-panning.
- PPath - Class in org.piccolo2d.nodes
-
Abstract path node.
- PPath.Double - Class in org.piccolo2d.nodes
-
Path node with coordinates stored in double precision floating point.
- PPath.Double() - Constructor for class org.piccolo2d.nodes.PPath.Double
-
Create a new empty path node.
- PPath.Double(Stroke) - Constructor for class org.piccolo2d.nodes.PPath.Double
-
Create a new empty path node with the specified stroke.
- PPath.Double(Shape) - Constructor for class org.piccolo2d.nodes.PPath.Double
-
Create a new path node with the specified shape.
- PPath.Double(Shape, Stroke) - Constructor for class org.piccolo2d.nodes.PPath.Double
-
Create a new path node with the specified shape and stroke.
- PPath.Double(Path2D.Double) - Constructor for class org.piccolo2d.nodes.PPath.Double
-
Create a new path node with the specified path.
- PPath.Double(Path2D.Double, Stroke) - Constructor for class org.piccolo2d.nodes.PPath.Double
-
Create a new path node with the specified path and stroke.
- PPath.Float - Class in org.piccolo2d.nodes
-
Path node with coordinates stored in single precision floating point.
- PPath.Float() - Constructor for class org.piccolo2d.nodes.PPath.Float
-
Create a new empty path node.
- PPath.Float(Stroke) - Constructor for class org.piccolo2d.nodes.PPath.Float
-
Create a new empty path node with the specified stroke.
- PPath.Float(Shape) - Constructor for class org.piccolo2d.nodes.PPath.Float
-
Create a new path node with the specified shape.
- PPath.Float(Shape, Stroke) - Constructor for class org.piccolo2d.nodes.PPath.Float
-
Create a new path node with the specified shape and stroke.
- PPath.Float(Path2D.Float) - Constructor for class org.piccolo2d.nodes.PPath.Float
-
Create a new path node with the specified path.
- PPath.Float(Path2D.Float, Stroke) - Constructor for class org.piccolo2d.nodes.PPath.Float
-
Create a new path node with the specified path and stroke.
- PPickPath - Class in org.piccolo2d.util
-
PPickPath represents a ordered list of nodes that have been picked.
- PPickPath(PCamera, PBounds) - Constructor for class org.piccolo2d.util.PPickPath
-
Creates a pick pack originating from the provided camera and with the
given screen pick bounds.
- print() - Method in class org.piccolo2d.PNode
-
Constructs a new PrinterJob, allows the user to select which printer to
print to, And then prints the node.
- print(Graphics, PageFormat, int) - Method in class org.piccolo2d.PNode
-
Prints the node into the given Graphics context using the specified
format.
- printAll(Graphics) - Method in class org.piccolo2d.PCanvas
-
Prints the entire scene regardless of what the viewable area is.
- printResultsFrameRate - Static variable in class org.piccolo2d.util.PDebug
-
How often in frames result info should be printed to the console.
- processActivities(long) - Method in class org.piccolo2d.activities.PActivityScheduler
-
Process all scheduled activities for the given time.
- processEvent(PInputEvent, int) - Method in class org.piccolo2d.event.PBasicInputEventHandler
-
Dispatches a generic event to a more specific method.
- processEvent(PInputEvent, int) - Method in interface org.piccolo2d.event.PInputEventListener
-
Called whenever an event is emitted.
- processEvent(PInputEvent, int) - Method in class org.piccolo2d.util.PPickPath
-
Process Events - Give each node in the pick path, starting at the bottom
most one, a chance to handle the event.
- processEventFromCamera(InputEvent, int, PCamera) - Method in class org.piccolo2d.PInputManager
-
Flags the given event as needing to be processed.
- processingInputs - Variable in class org.piccolo2d.PRoot
-
Whether this not is currently processing inputs.
- processInput() - Method in class org.piccolo2d.PInputManager
-
Causes the system to process any pending Input Events.
- processInput() - Method in interface org.piccolo2d.PRoot.InputSource
-
Causes the system to process any pending Input Events.
- processInputs() - Method in class org.piccolo2d.PRoot
-
This is the heartbeat of the Piccolo2D framework.
- processInputsScheduled - Variable in class org.piccolo2d.PRoot
-
Whether this node needs to have its inputs processed.
- processRepaint() - Static method in class org.piccolo2d.util.PDebug
-
Ensures that painting is not invalidating paint regions and that it's
being called from the dispatch thread.
- processStep(long) - Method in class org.piccolo2d.activities.PActivity
-
The activity scheduler calls this method and it is here that the activity
decides if it should do a step or not for the given time.
- PRoot - Class in org.piccolo2d
-
PRoot serves as the top node in Piccolo2D's runtime structure.
- PRoot() - Constructor for class org.piccolo2d.PRoot
-
Construct a new PRoot().
- PRoot.InputSource - Interface in org.piccolo2d
-
This interfaces is for advanced use only.
- PROPERTY_BOUNDS - Static variable in class org.piccolo2d.PNode
-
- PROPERTY_CAMERAS - Static variable in class org.piccolo2d.PLayer
-
- PROPERTY_CHILDREN - Static variable in class org.piccolo2d.PNode
-
- PROPERTY_CHILDREN_PICKABLE - Static variable in class org.piccolo2d.PNode
-
The property name that identifies a change of this node's children
pickable status (see
getChildrenPickable
).
- PROPERTY_CLIENT_PROPERTIES - Static variable in class org.piccolo2d.PNode
-
The property name that identifies a change in this node's client
propertie (see getClientProperty
).
- PROPERTY_CODE_BOUNDS - Static variable in class org.piccolo2d.PNode
-
- PROPERTY_CODE_CAMERAS - Static variable in class org.piccolo2d.PLayer
-
- PROPERTY_CODE_CHILDREN - Static variable in class org.piccolo2d.PNode
-
- PROPERTY_CODE_CHILDREN_PICKABLE - Static variable in class org.piccolo2d.PNode
-
The property code that identifies a change of this node's children
pickable status (see
getChildrenPickable
).
- PROPERTY_CODE_CLIENT_PROPERTIES - Static variable in class org.piccolo2d.PNode
-
The property code that identifies a change in this node's client
propertie (see getClientProperty
).
- PROPERTY_CODE_FONT - Static variable in class org.piccolo2d.nodes.PHtmlView
-
The property code that identifies a change of this node's font (see
getFont
).
- PROPERTY_CODE_FONT - Static variable in class org.piccolo2d.nodes.PText
-
The property code that identifies a change of this node's font (see
getFont
).
- PROPERTY_CODE_FULL_BOUNDS - Static variable in class org.piccolo2d.PNode
-
- PROPERTY_CODE_IMAGE - Static variable in class org.piccolo2d.nodes.PImage
-
The property code that identifies a change of this node's image (see
getImage
).
- PROPERTY_CODE_INPUT_SOURCES - Static variable in class org.piccolo2d.PRoot
-
The property code that identifies a change in the set of this root's
input sources (see
InputSource
).
- PROPERTY_CODE_INTERACTING_CHANGED - Static variable in class org.piccolo2d.PRoot
-
The property code that identifies a change in this node's interacting
state.
- PROPERTY_CODE_LAYERS - Static variable in class org.piccolo2d.PCamera
-
- PROPERTY_CODE_PAINT - Static variable in class org.piccolo2d.PNode
-
The property code that identifies a change of this node's paint (see
getPaint
).
- PROPERTY_CODE_PARENT - Static variable in class org.piccolo2d.PNode
-
The property code that identifies a change of this node's parent (see
getParent
).
- PROPERTY_CODE_PICKABLE - Static variable in class org.piccolo2d.PNode
-
The property code that identifies a change of this node's pickable status
(see
getPickable
).
- PROPERTY_CODE_TEXT - Static variable in class org.piccolo2d.nodes.PHtmlView
-
The property code that identifies a change of this node's HTML text (see
getText
).
- PROPERTY_CODE_TEXT - Static variable in class org.piccolo2d.nodes.PText
-
The property code that identifies a change of this node's text (see
getText
).
- PROPERTY_CODE_TEXT_COLOR - Static variable in class org.piccolo2d.nodes.PHtmlView
-
The property code that identifies a change of this node's HTML text color
(see
getTextColor
).
- PROPERTY_CODE_TEXT_PAINT - Static variable in class org.piccolo2d.nodes.PText
-
The property code that identifies a change of this node's text paint (see
getTextPaint
).
- PROPERTY_CODE_TRANSFORM - Static variable in class org.piccolo2d.PNode
-
- PROPERTY_CODE_TRANSPARENCY - Static variable in class org.piccolo2d.PNode
-
The property code that identifies a change of this node's transparency
(see
getTransparency
).
- PROPERTY_CODE_VIEW_TRANSFORM - Static variable in class org.piccolo2d.PCamera
-
- PROPERTY_CODE_VISIBLE - Static variable in class org.piccolo2d.PNode
-
The property code that identifies a change of this node's visibility (see
getVisible
).
- PROPERTY_FONT - Static variable in class org.piccolo2d.nodes.PHtmlView
-
The property name that identifies a change of this node's font (see
getFont
).
- PROPERTY_FONT - Static variable in class org.piccolo2d.nodes.PText
-
The property name that identifies a change of this node's font (see
getFont
).
- PROPERTY_FULL_BOUNDS - Static variable in class org.piccolo2d.PNode
-
- PROPERTY_IMAGE - Static variable in class org.piccolo2d.nodes.PImage
-
The property name that identifies a change of this node's image (see
getImage
).
- PROPERTY_INPUT_SOURCES - Static variable in class org.piccolo2d.PRoot
-
The property name that identifies a change in the set of this root's
input sources (see
InputSource
).
- PROPERTY_INTERACTING - Static variable in class org.piccolo2d.PCanvas
-
The property name that identifies a change in the interacting state.
- PROPERTY_INTERACTING_CHANGED - Static variable in class org.piccolo2d.PRoot
-
The property name that identifies a change in this node's interacting
state.
- PROPERTY_LAYERS - Static variable in class org.piccolo2d.PCamera
-
- PROPERTY_PAINT - Static variable in class org.piccolo2d.PNode
-
The property name that identifies a change of this node's paint (see
getPaint
).
- PROPERTY_PARENT - Static variable in class org.piccolo2d.PNode
-
The property name that identifies a change of this node's parent (see
getParent
).
- PROPERTY_PICKABLE - Static variable in class org.piccolo2d.PNode
-
The property name that identifies a change of this node's pickable status
(see
getPickable
).
- PROPERTY_TEXT - Static variable in class org.piccolo2d.nodes.PHtmlView
-
The property name that identifies a change of this node's HTML text (see
getText
).
- PROPERTY_TEXT - Static variable in class org.piccolo2d.nodes.PText
-
The property name that identifies a change of this node's text (see
getText
).
- PROPERTY_TEXT_COLOR - Static variable in class org.piccolo2d.nodes.PHtmlView
-
The property name that identifies a change of this node's HTML text color
(see
getTextColor
).
- PROPERTY_TEXT_PAINT - Static variable in class org.piccolo2d.nodes.PText
-
The property name that identifies a change of this node's text paint (see
getTextPaint
).
- PROPERTY_TRANSFORM - Static variable in class org.piccolo2d.PNode
-
- PROPERTY_TRANSPARENCY - Static variable in class org.piccolo2d.PNode
-
The property name that identifies a change of this node's transparency
(see
getTransparency
).
- PROPERTY_VIEW_TRANSFORM - Static variable in class org.piccolo2d.PCamera
-
- PROPERTY_VISIBLE - Static variable in class org.piccolo2d.PNode
-
The property name that identifies a change of this node's visibility (see
getVisible
).
- PShape - Class in org.piccolo2d.nodes
-
Abstract shape node.
- PShape() - Constructor for class org.piccolo2d.nodes.PShape
-
This is an abstract class that cannot be instantiated directly.
- PStack - Class in org.piccolo2d.util
-
PStack this class should be removed when a non thread safe stack is
added to the java class libraries.
- PStack() - Constructor for class org.piccolo2d.util.PStack
-
Creates an empty stack.
- PText - Class in org.piccolo2d.nodes
-
PText is a multi-line text node.
- PText() - Constructor for class org.piccolo2d.nodes.PText
-
Create a new text node with no text (""
).
- PText(String) - Constructor for class org.piccolo2d.nodes.PText
-
Create a new text node with the specified text.
- PTransformActivity - Class in org.piccolo2d.activities
-
PTransformActivity interpolates between two transforms setting its
target's transform as it goes.
- PTransformActivity(long, long, PTransformActivity.Target) - Constructor for class org.piccolo2d.activities.PTransformActivity
-
Constructs a transform activity that will last for the specified
duration, will update at the given step rate and will be applied to the
target.
- PTransformActivity(long, long, PTransformActivity.Target, AffineTransform) - Constructor for class org.piccolo2d.activities.PTransformActivity
-
Constructs a activity that will change the target's transform in the
destination transform.
- PTransformActivity(long, long, int, int, PTransformActivity.Target, AffineTransform) - Constructor for class org.piccolo2d.activities.PTransformActivity
-
Create a new PTransformActivity.
- PTransformActivity.Target - Interface in org.piccolo2d.activities
-
Target Objects that want to get transformed by the transform
activity must implement this interface.
- push(Object) - Method in class org.piccolo2d.util.PStack
-
Pushes the provided object onto the top of the stack.
- pushCamera(PCamera) - Method in class org.piccolo2d.util.PPaintContext
-
Pushes the camera onto the camera stack.
- pushClip(Shape) - Method in class org.piccolo2d.util.PPaintContext
-
Pushes the given clip to the pain context.
- pushCursor(Cursor) - Method in class org.piccolo2d.event.PInputEvent
-
Changes the cursor to the one provided and stores it on the cursor stack
for later retrieval.
- pushCursor(Cursor) - Method in class org.piccolo2d.PCanvas
-
Set the canvas cursor, and remember the previous cursor on the cursor
stack.
- pushCursor(Cursor) - Method in interface org.piccolo2d.PComponent
-
Pushes the given cursor onto the cursor stack and sets the current cursor
to the one provided.
- pushCursor(Cursor) - Method in class org.piccolo2d.POffscreenCanvas
-
Pushes the given cursor onto the cursor stack and sets the current cursor
to the one provided.
- pushNode(PNode) - Method in class org.piccolo2d.util.PPickPath
-
Pushes the provided node to the top of the pick path.
- pushTransform(PAffineTransform) - Method in class org.piccolo2d.util.PPaintContext
-
Pushed the provided transform onto the transform stack if it is not null.
- pushTransform(PAffineTransform) - Method in class org.piccolo2d.util.PPickPath
-
Adds the transform to the pick path's transform.
- pushTransparency(float) - Method in class org.piccolo2d.util.PPaintContext
-
Pushes the provided transparency onto the transparency stack if
necessary.
- PUtil - Class in org.piccolo2d.util
-
PUtil util methods for the Piccolo framework.
- PUtil() - Constructor for class org.piccolo2d.util.PUtil
-
- PZoomEventHandler - Class in org.piccolo2d.event
-
ZoomEventhandler provides event handlers for basic zooming of the
canvas view with the right (third) button.
- PZoomEventHandler() - Constructor for class org.piccolo2d.event.PZoomEventHandler
-
Creates a new zoom handler.
- raise() - Method in class org.piccolo2d.PNode
-
Raise this node within the Z-order of its parent.
- raise(PNode) - Method in class org.piccolo2d.PNode
-
Raise the specified child node within the Z-order of this.
- raiseAbove(PNode) - Method in class org.piccolo2d.PNode
-
Raise this node within the Z-order of its parent above the specified sibling node.
- raiseToTop() - Method in class org.piccolo2d.PNode
-
Raise this node within the Z-order of its parent to the top.
- raiseToTop(PNode) - Method in class org.piccolo2d.PNode
-
Raise the specified child node within the Z-order of this to the top.
- readPath(ObjectInputStream) - Static method in class org.piccolo2d.util.PUtil
-
Reads a path from the provided inputStream in accordance with the
serialization policy defined in writePath.
- readStroke(ObjectInputStream) - Static method in class org.piccolo2d.util.PUtil
-
Reconstitutes a stroke from the provided Object Input Stream.
- recomputeLayout() - Method in class org.piccolo2d.nodes.PText
-
Compute the bounds of the text wrapped by this node.
- recordUnconditionallyWritten(Object) - Method in class org.piccolo2d.util.PObjectOutputStream
-
Performs a scan of objects that can be serialized once.
- rejectAllClickCounts() - Method in class org.piccolo2d.event.PInputEventFilter
-
Flags all mouse click events as disallowed, regardless of button
configuration.
- rejectAllEventTypes() - Method in class org.piccolo2d.event.PInputEventFilter
-
Configures filter so that no events will ever get accepted.
- removeActivity(PActivity) - Method in class org.piccolo2d.activities.PActivityScheduler
-
Removes the given activity from the scheduled activities.
- removeAllActivities() - Method in class org.piccolo2d.activities.PActivityScheduler
-
Removes all activities from the list of scheduled activities.
- removeAllChildren() - Method in class org.piccolo2d.PNode
-
Remove all the children from this node.
- removeCamera(PCamera) - Method in class org.piccolo2d.PLayer
-
Remove the camera from this layer's camera list.
- removeCamera(int) - Method in class org.piccolo2d.PLayer
-
Remove the camera at the given index from this layer's camera list.
- removeChild(PNode) - Method in class org.piccolo2d.PNode
-
Remove the given child from this node's children list.
- removeChild(int) - Method in class org.piccolo2d.PNode
-
Remove the child at the specified position of this group node's children.
- removeChildren(Collection) - Method in class org.piccolo2d.PNode
-
Remove all the children in the given collection from this node's list of
children.
- removeFromParent() - Method in class org.piccolo2d.PNode
-
Delete this node by removing it from its parent's list of children.
- removeInputEventListener(PInputEventListener) - Method in class org.piccolo2d.PCanvas
-
Remove an input listener to the camera associated with this canvas.
- removeInputEventListener(PInputEventListener) - Method in class org.piccolo2d.PNode
-
Removes the specified input event listener so that it no longer receives
input events from this node.
- removeInputSource(PRoot.InputSource) - Method in class org.piccolo2d.PRoot
-
Advanced.
- removeInputSources() - Method in class org.piccolo2d.PCanvas
-
This method removes mouse and key listeners on the canvas that forward
those events to piccolo.
- removeLayer(PLayer) - Method in class org.piccolo2d.PCamera
-
Removes the first occurrence of the specified layer from the list of
layers viewed by this camera, if it is present.
- removeLayer(int) - Method in class org.piccolo2d.PCamera
-
Removes the element at the specified position from the list of layers
viewed by this camera.
- removePropertyChangeListener(PropertyChangeListener) - Method in class org.piccolo2d.PNode
-
Remove a PropertyChangeListener from the listener list.
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.piccolo2d.PNode
-
Remove a PropertyChangeListener for a specific property.
- render(Graphics2D) - Method in class org.piccolo2d.POffscreenCanvas
-
Render this offscreen canvas to the specified graphics.
- RENDER_QUALITY_HIGH_FRC - Static variable in class org.piccolo2d.util.PPaintContext
-
Font context to use while in high quality rendering.
- RENDER_QUALITY_LOW_FRC - Static variable in class org.piccolo2d.util.PPaintContext
-
Font context to use while in low quality rendering.
- renderQuality - Variable in class org.piccolo2d.util.PPaintContext
-
The current render quality that all rendering should be done in.
- repaint(PBounds) - Method in class org.piccolo2d.PCanvas
-
Called to notify PComponent that given bounds need repainting.
- repaint(PBounds) - Method in interface org.piccolo2d.PComponent
-
Called to notify PComponent that given bounds need repainting.
- repaint() - Method in class org.piccolo2d.PNode
-
Mark the area on the screen represented by this nodes full bounds as
needing a repaint.
- repaint(PBounds) - Method in class org.piccolo2d.POffscreenCanvas
-
Called to notify PComponent that given bounds need repainting.
- repaintFrom(PBounds, PNode) - Method in class org.piccolo2d.PCamera
-
Repaint this camera and forward the repaint request to the component
for this camera, if it is non-null.
- repaintFrom(PBounds, PNode) - Method in class org.piccolo2d.PLayer
-
Override repaints and forward them to the cameras that are viewing this
layer.
- repaintFrom(PBounds, PNode) - Method in class org.piccolo2d.PNode
-
Pass the given repaint request up the tree, so that any cameras can
invalidate that region on their associated canvas.
- repaintFromLayer(PBounds, PLayer) - Method in class org.piccolo2d.PCamera
-
Repaint from one of the camera's layers.
- reparent(PNode) - Method in class org.piccolo2d.PNode
-
Set the parent of this node, and transform the node in such a way that it
doesn't move in global coordinates.
- replaceWith(PNode) - Method in class org.piccolo2d.PNode
-
Swaps this node out of the scene graph tree, and replaces it with the
specified replacement node.
- reset() - Method in class org.piccolo2d.nodes.PArea
-
Removes all of the geometry from this area node and restores it to an empty area.
- reset() - Method in class org.piccolo2d.nodes.PPath
-
Reset the geometry for this path node to empty.
- reset() - Method in class org.piccolo2d.util.PBounds
-
Flags this bounds as empty.
- reset() - Method in class org.piccolo2d.util.PObjectOutputStream
-
Resets the ObjectOutputStream clearing any memory about objects already
being written while it's at it.
- resetBounds() - Method in class org.piccolo2d.PNode
-
Set the empty bit of this bounds to true.
- resetFPSTiming() - Static method in class org.piccolo2d.util.PDebug
-
Reset the variables used to track FPS.
- resetToZero() - Method in class org.piccolo2d.util.PBounds
-
Resets the bounds to (0,0,0,0) and flags it as empty.
- rotate(double) - Method in class org.piccolo2d.PNode
-
Rotates this node by theta (in radians) about the 0,0 point.
- rotateAboutPoint(double, Point2D) - Method in class org.piccolo2d.PNode
-
Rotates this node by theta (in radians) about the given point.
- rotateAboutPoint(double, double, double) - Method in class org.piccolo2d.PNode
-
Rotates this node by theta (in radians) about the given point.
- rotateInPlace(double) - Method in class org.piccolo2d.PNode
-
Rotates this node by theta (in radians), and then translates the node so
that the x, y position of its fullBounds stays constant.
- scale(double) - Method in class org.piccolo2d.PNode
-
Scale this nodes transform by the given amount.
- scaleAboutPoint(double, Point2D) - Method in class org.piccolo2d.PNode
-
Scale this nodes transform by the given amount about the specified point.
- scaleAboutPoint(double, double, double) - Method in class org.piccolo2d.PNode
-
Scale this nodes transform by the given amount about the specified point.
- scaleAboutPoint(double, double, double) - Method in class org.piccolo2d.util.PAffineTransform
-
Scales the transform about the given point by the given scale.
- scaleView(double) - Method in class org.piccolo2d.PCamera
-
Scale the view transform applied to the list of layers viewed by this
camera by scale
about the point [0, 0]
.
- scaleViewAboutPoint(double, double, double) - Method in class org.piccolo2d.PCamera
-
Scale the view transform applied to the list of layers viewed by this
camera by scale
about the specified point
[x, y]
.
- SCENE_GRAPH_DELEGATE - Static variable in class org.piccolo2d.PNode
-
The single scene graph delegate that receives low level node events.
- scheduleProcessInputs() - Static method in class org.piccolo2d.util.PDebug
-
Checks that process inputs is being doing from the Swing Dispatch Thread.
- scheduleProcessInputsIfNeeded() - Method in class org.piccolo2d.PRoot
-
Schedule process inputs if needed.
- sendInputEventToInputManager(InputEvent, int) - Method in class org.piccolo2d.PCanvas
-
Sends the given input event with the given type to the current
InputManager.
- setAcceptClickCount(short) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets the number of clicks that an incoming event must have to be accepted.
- setAcceptsAlreadyHandledEvents(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether already handled events should be accepted.
- setAcceptsFocusEvents(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts focus events.
- setAcceptsKeyPressed(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts key pressed events.
- setAcceptsKeyReleased(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts key released events.
- setAcceptsKeyTyped(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts key typed events.
- setAcceptsMouseClicked(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts mouse clicked events.
- setAcceptsMouseDragged(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts mouse dragged events.
- setAcceptsMouseEntered(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts mouse entered events.
- setAcceptsMouseExited(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts mouse exited events.
- setAcceptsMouseMoved(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts mouse moved events.
- setAcceptsMousePressed(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts mouse pressed events.
- setAcceptsMouseReleased(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts mouse released events.
- setAcceptsMouseWheelRotated(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether this filter accepts mouse wheel rotation events.
- setActivityScheduler(PActivityScheduler) - Method in class org.piccolo2d.activities.PActivity
-
Informs the activity of the scheduler that will be responsible for
scheduling it.
- setAndMask(int) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets and mask used to filter events.
- setAnimatingRenderQuality(int) - Method in class org.piccolo2d.PCanvas
-
Set the render quality that should be used when rendering this canvas
when it is animating.
- setAutopan(boolean) - Method in class org.piccolo2d.event.PPanEventHandler
-
Determines if auto-panning will occur or not.
- setBackground(Color) - Method in class org.piccolo2d.POffscreenCanvas
-
Set the background color for this offscreen canvas to backgroundColor
.
- setBounds(double, double, double, double) - Method in class org.piccolo2d.nodes.PHtmlView
-
Set the bounds of this node to the given position and size.
- setBounds(Rectangle2D) - Method in class org.piccolo2d.nodes.PHtmlView
-
Set the bounds of this node to the given value.
- setBounds(int, int, int, int) - Method in class org.piccolo2d.PCanvas
-
Updates the bounds of the component and updates the camera accordingly.
- setBounds(Rectangle2D) - Method in class org.piccolo2d.PNode
-
Set the bounds of this node to the given value.
- setBounds(double, double, double, double) - Method in class org.piccolo2d.PNode
-
Set the bounds of this node to the given position and size.
- setBoundsChanged(boolean) - Method in class org.piccolo2d.PNode
-
Set the bounds chnaged flag.
- setCamera(PCamera) - Method in class org.piccolo2d.PCanvas
-
Set the camera associated with this canvas.
- setCamera(PCamera) - Method in class org.piccolo2d.POffscreenCanvas
-
Set the camera for this offscreen canvas to camera
.
- setChildBoundsInvalid(boolean) - Method in class org.piccolo2d.PNode
-
Set the flag indicating that one of this node's descendants has invalid
bounds.
- setChildBoundsInvalid(boolean) - Method in class org.piccolo2d.PRoot
-
Set the flag indicating that one of this node's descendants has invalid
bounds.
- setChildBoundsVolatile(boolean) - Method in class org.piccolo2d.PNode
-
Set if this node has a child with volatile bounds.
- setChildPaintInvalid(boolean) - Method in class org.piccolo2d.PNode
-
Mark this node as having a child with invalid paint.
- setChildPaintInvalid(boolean) - Method in class org.piccolo2d.PRoot
-
Mark this node as having a child with invalid paint.
- setChildrenPickable(boolean) - Method in class org.piccolo2d.PNode
-
Set the children pickable flag.
- setColor(Color) - Method in interface org.piccolo2d.activities.PColorActivity.Target
-
This will be called by the color activity for each new interpolated
color that it computes while it is stepping.
- setComponent(PComponent) - Method in class org.piccolo2d.PCamera
-
Set the component for this camera to component
.
- setConstrainHeightToTextHeight(boolean) - Method in class org.piccolo2d.nodes.PText
-
Set to true
if this text node should constrain its height to
the height of its text.
- setConstrainWidthToTextWidth(boolean) - Method in class org.piccolo2d.nodes.PText
-
Set to true
if this text node should constrain its width to
the width of its text.
- setDefaultRenderQuality(int) - Method in class org.piccolo2d.PCanvas
-
Set the render quality that should be used when rendering this canvas
when it is not interacting or animating.
- setDelegate(PActivity.PActivityDelegate) - Method in class org.piccolo2d.activities.PActivity
-
Set the delegate for this activity.
- setDestinationColor(Color) - Method in class org.piccolo2d.activities.PColorActivity
-
Set the final color that will be set on the color activities target when
the activity stops stepping.
- setDestinationTransform(double[]) - Method in class org.piccolo2d.activities.PTransformActivity
-
Set the final transform that will be set on the transform activities
target when the transform activity stops stepping.
- setDraggedNode(PNode) - Method in class org.piccolo2d.event.PDragEventHandler
-
Set's the node that is currently being dragged.
- setDuration(long) - Method in class org.piccolo2d.activities.PActivity
-
Set the amount of time that this activity should take to complete, after
the startStepping method is called.
- setDuration(long) - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Set the amount of time that this activity should take to complete, after
the startStepping method is called.
- setEnabled(boolean) - Method in class org.piccolo2d.PCanvas
-
Override setEnabled to install/remove canvas input sources as needed.
- setEventFilter(PInputEventFilter) - Method in class org.piccolo2d.event.PBasicInputEventHandler
-
Changes this event handler's filter to the one provided.
- setFirstLoop(boolean) - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Set if the activity is executing its first loop.
- setFont(Font) - Method in class org.piccolo2d.nodes.PHtmlView
-
Set the font for this HTML text node to font
.
- setFont(Font) - Method in class org.piccolo2d.nodes.PText
-
Set the font for this text node to font
.
- setFullBoundsInvalid(boolean) - Method in class org.piccolo2d.PNode
-
Set the full bounds invalid flag.
- setFullBoundsInvalid(boolean) - Method in class org.piccolo2d.PRoot
-
Set the full bounds invalid flag.
- setGlobalRotation(double) - Method in class org.piccolo2d.PNode
-
Set the global rotation (in radians) of this node.
- setGlobalScale(double) - Method in class org.piccolo2d.PNode
-
Set the global scale of this node.
- setGlobalTranslation(Point2D) - Method in class org.piccolo2d.PNode
-
Set the global translation of this node.
- setGreekThreshold(double) - Method in class org.piccolo2d.nodes.PText
-
Set the greek threshold in screen font size to
greekThreshold
.
- setHandled(boolean) - Method in class org.piccolo2d.event.PInputEvent
-
Set that this event has been handled by an event handler.
- setHeight(double) - Method in class org.piccolo2d.PNode
-
Set's this node's bounds height, leaving x, y, and width unchanged.
- setHorizontalAlignment(float) - Method in class org.piccolo2d.nodes.PText
-
Set the horizontal alignment for this text node to
horizontalAlignment
.
- setImage(String) - Method in class org.piccolo2d.nodes.PImage
-
Set the image that is wrapped by this PImage node.
- setImage(Image) - Method in class org.piccolo2d.nodes.PImage
-
Set the image that is wrapped by this PImage node.
- setInteracting(boolean) - Method in class org.piccolo2d.PCanvas
-
Set if this canvas is interacting.
- setInteracting(boolean) - Method in interface org.piccolo2d.PComponent
-
Sets whether the component is currently being interacted with.
- setInteracting(boolean) - Method in class org.piccolo2d.POffscreenCanvas
-
Sets whether the component is currently being interacted with.
- setInteracting(boolean) - Method in class org.piccolo2d.PRoot
-
Set if this root is interacting.
- setInteractingRenderQuality(int) - Method in class org.piccolo2d.PCanvas
-
Set the render quality that should be used when rendering this canvas
when it is interacting.
- setIsDragging(boolean) - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Used to inform this handler that it is in the process of handling a drag.
- setKeyboardFocus(PInputEventListener) - Method in class org.piccolo2d.PInputManager
-
Set the node that should receive key events.
- setLoopCount(int) - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Set the number of times the activity should automatically reschedule
itself after it has finished.
- setMarksAcceptedEventsAsHandled(boolean) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets whether events will be marked as dirty once accepted.
- setMaxAutopanSpeed(double) - Method in class org.piccolo2d.event.PPanEventHandler
-
Set the maxAutoPan speed in pixels per second.
- setMaxScale(double) - Method in class org.piccolo2d.event.PZoomEventHandler
-
Sets the maximum view magnification factor that this event handler is
bound by.
- setMinAutopanSpeed(double) - Method in class org.piccolo2d.event.PPanEventHandler
-
Set the minAutoPan speed in pixels per second.
- setMinDragStartDistance(double) - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Set the minimum distance that the mouse should be dragged (in screen
coordinates) before a new drag sequence is initiate.
- setMinScale(double) - Method in class org.piccolo2d.event.PZoomEventHandler
-
Sets the minimum view magnification factor that this event handler is
bound by.
- setMode(int) - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Set the direction in which interpolation is going to occur.
- setMouseFocus(PPickPath) - Method in class org.piccolo2d.PInputManager
-
Sets the current Pick Path under the mouse focus.
- setMouseOver(PPickPath) - Method in class org.piccolo2d.PInputManager
-
Records the path which is directly below the mouse.
- setName(String) - Method in class org.piccolo2d.PNode
-
Sets the name of this node, may be null.
- setNotMask(int) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets not mask used to filter events.
- setOccluded(boolean) - Method in class org.piccolo2d.PNode
-
Flags this node as occluded.
- setOffset(Point2D) - Method in class org.piccolo2d.PNode
-
Set the offset that is being applied to this node by its transform.
- setOffset(double, double) - Method in class org.piccolo2d.PNode
-
Set the offset that is being applied to this node by its transform.
- setOffset(double, double) - Method in class org.piccolo2d.util.PAffineTransform
-
Applies modifies the transform so that it translates by the given offset.
- setOpaque(boolean) - Method in class org.piccolo2d.POffscreenCanvas
-
Set to true if this offscreen canvas is opaque.
- setOrigin(double, double) - Method in class org.piccolo2d.util.PBounds
-
Changes the origin of these bounds.
- setOrMask(int) - Method in class org.piccolo2d.event.PInputEventFilter
-
Sets or mask used to filter events.
- setPaint(Paint) - Method in class org.piccolo2d.PNode
-
Set the paint used to paint this node, which may be null.
- setPaintInvalid(boolean) - Method in class org.piccolo2d.PNode
-
Mark this node as having invalid paint.
- setPaintInvalid(boolean) - Method in class org.piccolo2d.PRoot
-
Mark this node as having invalid paint.
- setPanEventHandler(PPanEventHandler) - Method in class org.piccolo2d.PCanvas
-
Set the pan event handler associated with this canvas.
- setParent(PNode) - Method in class org.piccolo2d.PNode
-
Set the parent of this node.
- setPath(PPickPath) - Method in class org.piccolo2d.event.PInputEvent
-
Sets the PIckPath associated with this mouse event.
- setPickable(boolean) - Method in class org.piccolo2d.PNode
-
Set the pickable flag for this node.
- setPropertyChangeParentMask(int) - Method in class org.piccolo2d.PNode
-
Set the propertyChangeParentMask that determines which property change
events are forwared to this nodes parent so that its property change
listeners will also be notified.
- setRaiseToTopOnPress(boolean) - Method in class org.piccolo2d.event.PDragEventHandler
-
Informs this drag event handler whether it should raise nodes to the top
when they are dragged.
- setRect(Rectangle2D) - Method in class org.piccolo2d.util.PBounds
-
Sets the bounds to the same shape as the rectangle.
- setRect(PBounds) - Method in class org.piccolo2d.util.PBounds
-
Sets the bounds to the same shape as the bounds provided.
- setRect(double, double, double, double) - Method in class org.piccolo2d.util.PBounds
-
Sets the shape of the bounds to the position and dimension provided.
- setRelativeTargetValue(float) - Method in class org.piccolo2d.activities.PColorActivity
-
Interpolates the target node's color by mixing the source color and the
destination color.
- setRelativeTargetValue(float) - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Subclasses should override this method and set the value on their target
(the object that they are modifying) accordingly.
- setRelativeTargetValue(float) - Method in class org.piccolo2d.activities.PTransformActivity
-
Set's the target value to be the interpolation between the source and
destination transforms.
- setRelativeTargetValueAdjustingForMode(float) - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Assigns relative target value taking the mode into account.
- setRenderQuality(int) - Method in class org.piccolo2d.POffscreenCanvas
-
Set the render quality hint for this offscreen canvas to
renderQuality
.
- setRenderQuality(int) - Method in class org.piccolo2d.util.PPaintContext
-
Set the rendering hints for this paint context.
- setRotation(double) - Method in class org.piccolo2d.PNode
-
Sets the rotation of this nodes transform in radians.
- setRotation(double) - Method in class org.piccolo2d.util.PAffineTransform
-
Set rotation in radians.
- setScale(double) - Method in class org.piccolo2d.PNode
-
Set the scale of this node's transform.
- setScale(double) - Method in class org.piccolo2d.util.PAffineTransform
-
Sets the scale about to the origin of this transform to the scale
provided.
- setScaleFactor(double) - Method in class org.piccolo2d.event.PMouseWheelZoomEventHandler
-
Set the scale factor for this mouse wheel zoom event handler to scaleFactor
.
- setSize(double, double) - Method in class org.piccolo2d.util.PBounds
-
Changes the size of the bounds, but retains the origin.
- setSize(double, double) - Method in class org.piccolo2d.util.PDimension
-
Resizes the dimension to have the dimensions provided.
- setSlowInSlowOut(boolean) - Method in class org.piccolo2d.activities.PInterpolatingActivity
-
Sets whether this interpolation accelerates and then decelerates as it
interpolates.
- setStartTime(long) - Method in class org.piccolo2d.activities.PActivity
-
Set the time that this activity should start running in PRoot global
time.
- setStepRate(long) - Method in class org.piccolo2d.activities.PActivity
-
Set the amount of time that this activity should delay between steps.
- setStroke(Stroke) - Method in class org.piccolo2d.nodes.PShape
-
Set the stroke for this shape node to stroke
.
- setStrokePaint(Paint) - Method in class org.piccolo2d.nodes.PShape
-
Set the stroke paint for this shape node to strokePaint
.
- setText(String) - Method in class org.piccolo2d.nodes.PHtmlView
-
Set the HTML text for this HTML text node to text
.
- setText(String) - Method in class org.piccolo2d.nodes.PText
-
Set the text for this node to text
.
- setTextColor(Color) - Method in class org.piccolo2d.nodes.PHtmlView
-
Set the text color for this HTML text node to textColor
.
- setTextPaint(Paint) - Method in class org.piccolo2d.nodes.PText
-
Set the paint used to paint this node's text to textPaint
.
- setTransform(AffineTransform) - Method in interface org.piccolo2d.activities.PTransformActivity.Target
-
This will be called by the transform activity for each new transform
that it computes while it is stepping.
- setTransform(AffineTransform) - Method in class org.piccolo2d.PNode
-
Set the transform applied to this node.
- setTransparency(float) - Method in class org.piccolo2d.PNode
-
Set the transparency used to paint this node.
- setViewBounds(Rectangle2D) - Method in class org.piccolo2d.PCamera
-
Animates the camera's view so that the given bounds (in camera layer's
coordinate system) are centered within the cameras view bounds.
- setViewConstraint(int) - Method in class org.piccolo2d.PCamera
-
Set the view constraint to apply to the view to viewConstraint
.
- setViewOffset(double, double) - Method in class org.piccolo2d.PCamera
-
Set the offset for the view transform applied to the list of layers
viewed by this camera to [x, y]
.
- setViewScale(double) - Method in class org.piccolo2d.PCamera
-
Set the scale applied by the view transform to the list of layers
viewed by this camera to scale
.
- setViewTransform(AffineTransform) - Method in class org.piccolo2d.PCamera
-
Set the view transform applied to the list of layers
viewed by this camera to viewTransform
.
- setVisible(boolean) - Method in class org.piccolo2d.PNode
-
Set the visibility of this node and its descendants.
- setWidth(double) - Method in class org.piccolo2d.PNode
-
Set's this node's bounds width, leaving x, y, and height unchanged.
- setX(double) - Method in class org.piccolo2d.PNode
-
Set's this node's bounds left position, leaving y, width, and height
unchanged.
- setY(double) - Method in class org.piccolo2d.PNode
-
Set's this node's bounds top position, leaving x, width, and height
unchanged.
- setZoomEventHandler(PZoomEventHandler) - Method in class org.piccolo2d.PCanvas
-
Set the zoom event handler associated with this canvas.
- shouldStartDragInteraction(PInputEvent) - Method in class org.piccolo2d.event.PDragEventHandler
-
Returns whether the given event should be start a drag interaction.
- shouldStartDragInteraction(PInputEvent) - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Returns true if the provided event represents a valid start for a drag
sequence.
- signalBoundsChanged() - Method in class org.piccolo2d.PNode
-
This method should be called when the bounds of this node are changed.
- SOURCE_TO_DESTINATION - Static variable in class org.piccolo2d.activities.PInterpolatingActivity
-
Specifies that interpolation will be from the source value to the
destination value.
- SOURCE_TO_DESTINATION_TO_SOURCE - Static variable in class org.piccolo2d.activities.PInterpolatingActivity
-
Specifies that interpolation proceed from the source to the destination
then back to the source.
- startActivityTimer() - Method in class org.piccolo2d.activities.PActivityScheduler
-
Starts the current activity timer.
- startAfter(PActivity) - Method in class org.piccolo2d.activities.PActivity
-
Schedules this activity to start after the first activity has finished.
- startDrag(PInputEvent) - Method in class org.piccolo2d.event.PDragEventHandler
-
Starts a drag event and moves the dragged node to the front if this
handler has been directed to do so with a call to setRaiseToTopOnDrag.
- startDrag(PInputEvent) - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Subclasses should override this method to get notified of the start of a
new drag sequence.
- startDragActivity(PInputEvent) - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Schedules the "infinite" drag activity so that auto-panning and zooming
will continue to update the scene even if there are no further drag
events fired.
- startProcessingInput() - Static method in class org.piccolo2d.util.PDebug
-
Records that processing of input has started.
- startProcessingOutput() - Static method in class org.piccolo2d.util.PDebug
-
Records that processing of ouptut has begun.
- startResizeBounds() - Method in class org.piccolo2d.PNode
-
Notify this node that you will begin to repeatedly call setBounds
.
- stopActivityTimer() - Method in class org.piccolo2d.activities.PActivityScheduler
-
Stops the current activity timer.
- stopDragActivity(PInputEvent) - Method in class org.piccolo2d.event.PDragSequenceEventHandler
-
Stops the activity responsible for updating the scene.
- subtract(Area) - Method in class org.piccolo2d.nodes.PArea
-
Subtract the shape of the specified area from the shape of this area node.