Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(PNode) - Method in interface edu.umd.cs.piccolo.util.PNodeFilter
-
Return true if the filter should accept the given node.
- acceptAllClickCounts() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Makes this filter accept all mouse click combinations.
- acceptAllEventTypes() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Makes the filter accept all event types.
- acceptChildrenOf(PNode) - Method in interface edu.umd.cs.piccolo.util.PNodeFilter
-
Return true if the filter should test the children of the given node for acceptance.
- acceptEverything() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Makes this filter accept absolutely everything.
- acceptsEvent(PInputEvent, int) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Returns true if the event would be dispatched if passed to processEvent.
- acceptsEvent(PInputEvent, int) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns true if the passed event is one that is accepted.
- acceptsNode(PNode) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.util.PUtil
-
Rate in milliseconds at which the activity timer will get invoked.
- activityFinished() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
This method is called after an activity is has finished running and the activity has been removed from the PActivityScheduler queue.
- activityFinished() - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Called whenever the activity finishes.
- activityFinished(PActivity) - Method in interface edu.umd.cs.piccolo.activities.PActivity.PActivityDelegate
-
Gets called when the activity finishes.
- activityStarted() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
This method is called right before an activity is scheduled to start running.
- activityStarted() - Method in class edu.umd.cs.piccolo.activities.PColorActivity
-
Overrides it's parent to ensure that the source color is the color of the node being animated.
- activityStarted() - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Called when activity is started.
- activityStarted() - Method in class edu.umd.cs.piccolo.activities.PTransformActivity
-
Is invoked when the activity is started.
- activityStarted(PActivity) - Method in interface edu.umd.cs.piccolo.activities.PActivity.PActivityDelegate
-
Gets called when the activity starts.
- activityStep(long) - Method in class edu.umd.cs.piccolo.activities.PActivity
-
This is the method that most activities override to perform their behavior.
- activityStep(long) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Called at each step of the activity.
- activityStepped(PActivity) - Method in interface edu.umd.cs.piccolo.activities.PActivity.PActivityDelegate
-
Gets called for each step of the activity.
- add(double, double) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Grows the bounds to contain the coordinate provided.
- add(PBounds) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Changes this bounds to contain the provided bounds.
- add(Rectangle2D) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Grows bounds to contain the rectangle if needed.
- addActivity(PActivity) - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Adds the given activity to the scheduler if not already found.
- addActivity(PActivity) - Method in class edu.umd.cs.piccolo.PNode
-
Schedule the given activity with the root, note that only scheduled activities will be stepped.
- addActivity(PActivity) - Method in class edu.umd.cs.piccolo.PRoot
-
Add an activity to the activity scheduler associated with this root.
- addActivity(PActivity, boolean) - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Add this activity to the scheduler.
- addAttribute(Object, Object) - Method in class edu.umd.cs.piccolo.PNode
-
Add an arbitrary key/value to this node.
- addCamera(int, PCamera) - Method in class edu.umd.cs.piccolo.PLayer
-
Add a camera to this layer's camera list at the specified index.
- addCamera(PCamera) - Method in class edu.umd.cs.piccolo.PLayer
-
Add a camera to this layer's camera list.
- addChild(int, PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Add a node to be a new child of this node at the specified index.
- addChild(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Add a node to be a new child of this node.
- addChildren(Collection) - Method in class edu.umd.cs.piccolo.PNode
-
Add a collection of nodes to be children of this node.
- addClientProperty(Object, Object) - Method in class edu.umd.cs.piccolo.PNode
-
Deprecated.use addAttribute(Object key, Object value)instead.
- addInputEventListener(PInputEventListener) - Method in class edu.umd.cs.piccolo.PCanvas
-
Add an input listener to the camera associated with this canvas.
- addInputEventListener(PInputEventListener) - Method in class edu.umd.cs.piccolo.PNode
-
Adds the specified input event listener to receive input events from this node.
- addInputSource(PRoot.InputSource) - Method in class edu.umd.cs.piccolo.PRoot
-
Advanced.
- addLayer(int, PLayer) - Method in class edu.umd.cs.piccolo.PCamera
-
Inserts the specified layer at the specified position in the list of layers viewed by this camera.
- addLayer(PLayer) - Method in class edu.umd.cs.piccolo.PCamera
-
Inserts the specified layer at the end of the list of layers viewed by this camera.
- addPropertyChangeListener(PropertyChangeListener) - Method in class edu.umd.cs.piccolo.PNode
-
Add a PropertyChangeListener to the listener list.
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class edu.umd.cs.piccolo.PNode
-
Add a PropertyChangeListener for a specific property.
- ALL_MODIFIERS_MASK - Static variable in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Mask representing all possible modifiers.
- animateToBounds(double, double, double, double, long) - Method in class edu.umd.cs.piccolo.PNode
-
Animate this node's bounds from their current location when the activity starts to the specified bounds.
- animateToColor(Color, long) - Method in class edu.umd.cs.piccolo.PNode
-
Animate this node's color from its current value to the new value specified.
- animateToPositionScaleRotation(double, double, double, double, long) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
Animate this node's transparency from its current value to the new value specified.
- animateTransformToBounds(double, double, double, double, long) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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.
- animateViewToIncludeBounds(Rectangle2D, long) - Method in class edu.umd.cs.piccolo.PCamera
-
Deprecated.Renamed to animateViewToPanToBounds
- animateViewToPanToBounds(Rectangle2D, long) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.nodes.PPath
-
Appends the provided shape to the end of this path, it may conditionally connect them together if they are disjoint.
- applyViewConstraints() - Method in class edu.umd.cs.piccolo.PCamera
-
Transforms the view so that it conforms to the given constraint.
C
- cameraStack - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Stack of cameras through which the node being painted is being viewed.
- canvasToLocal(Dimension2D, PNode) - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Convert the given dimension from the canvas coordinates, down through the pick path (and through any camera view transforms applied to the path) to the local coordinates of the given node.
- canvasToLocal(Point2D, PNode) - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Convert the given point from the canvas coordinates, down through the pick path (and through any camera view transforms applied to the path) to the local coordinates of the given node.
- canvasToLocal(Rectangle2D, PNode) - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Convert the given rectangle from the canvas coordinates, down through the pick path (and through any camera view transforms applied to the path) to the local coordinates of the given node.
- centerBoundsOnPoint(double, double) - Method in class edu.umd.cs.piccolo.PNode
-
Center the bounds of this node so that they are centered on the given point specified on the local coordinates of this node.
- centerFullBoundsOnPoint(double, double) - Method in class edu.umd.cs.piccolo.PNode
-
Center the full bounds of this node so that they are centered on the given point specified on the local coordinates of this nodes parent.
- checkForMouseEnteredAndExited(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Fires events whenever the mouse moves from PNode to PNode.
- clipStack - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Used to optimize clipping region.
- clone() - Method in class edu.umd.cs.piccolo.PNode
-
The copy method copies this node and all of its descendants.
- clone() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns a clone of this node.
- closePath() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Marks the path as closed.
- compositeStack - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Used while computing transparency.
- computeFullBounds(PBounds) - Method in class edu.umd.cs.piccolo.PNode
-
Compute and return the full bounds of this node.
- computeNextLayout(LineBreakMeasurer, float, int) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Compute the next layout using the specified line break measurer, available width, and next line break offset.
- computeSlowInSlowOut(float) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Computes percent or linear interpolation to apply when taking acceleration into account.
- createBasicScenegraph() - Static method in class edu.umd.cs.piccolo.util.PUtil
-
Creates the simplest possible scene graph.
- createDefaultCamera() - Method in class edu.umd.cs.piccolo.PCanvas
-
Creates and returns a basic Scene Graph.
- createEllipse(float, float, float, float) - Static method in class edu.umd.cs.piccolo.nodes.PPath
-
Creates a PPath object in the shape of an ellipse.
- createInputEvent(InputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Creates a
PInputEventbased on the given SwingInputEvent.
Has been introduced for enabling the "injection" of specialized implementations (subclasses) via overriding this factory method, and, hence, is called instead of callingPInputEvent(PInputManager, InputEvent)directly. - createLine(float, float, float, float) - Static method in class edu.umd.cs.piccolo.nodes.PPath
-
Creates a PPath in the shape of a line.
- createPolyline(float[], float[]) - Static method in class edu.umd.cs.piccolo.nodes.PPath
-
Creates a PPath for the poly-line for the given points.
- createPolyline(Point2D[]) - Static method in class edu.umd.cs.piccolo.nodes.PPath
-
Creates a PPath for the poly-line for the given points.
- createRectangle(float, float, float, float) - Static method in class edu.umd.cs.piccolo.nodes.PPath
-
Creates a PPath object in the shape of a rectangle.
- createRoundRectangle(float, float, float, float, float, float) - Static method in class edu.umd.cs.piccolo.nodes.PPath
-
Creates a PPath object in the shape of a rounded rectangle.
- createTimer(int, ActionListener) - Method in class edu.umd.cs.piccolo.PCanvas
-
Helper for creating a timer.
- createTimer(int, ActionListener) - Method in class edu.umd.cs.piccolo.PRoot
-
Returns a new timer.
- CURRENT_PAINT_CONTEXT - Static variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Deprecated.will disappear as soon as possible Global for accessing the current paint context while painting.
- CURRENT_PICK_PATH - Static variable in class edu.umd.cs.piccolo.util.PPickPath
-
Global pick path.
- CURRENT_ZCANVAS - Static variable in class edu.umd.cs.piccolo.PCanvas
-
Deprecated.since it falsely assumes that there is only one PCanvas per program
- curveTo(float, float, float, float, float, float) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Adds a curved segment, defined by three new points, to the path by drawing a Bézier curve that intersects both the current coordinates and the coordinates (x3, y3), using the specified points (x1, y1) and (x2, y2) as Bézier control points.
D
- debugBounds - Static variable in class edu.umd.cs.piccolo.util.PDebug
-
Displays bounding boxes around nodes.
- debugFullBounds - Static variable in class edu.umd.cs.piccolo.util.PDebug
-
Displays a tint to all shapes within a bounding box.
- debugPaintCalls - Static variable in class edu.umd.cs.piccolo.util.PDebug
-
Set to true if you want to display common errors with painting and threading.
- debugPrintFrameRate - Static variable in class edu.umd.cs.piccolo.util.PDebug
-
Set to true to display frame rate in the console.
- debugPrintUsedMemory - Static variable in class edu.umd.cs.piccolo.util.PDebug
-
Set to true to display used memory in console.
- debugRegionManagement - Static variable in class edu.umd.cs.piccolo.util.PDebug
-
Set to true to display clip bounds boxes.
- debugThreads - Static variable in class edu.umd.cs.piccolo.util.PDebug
-
Whether to complain whenever common threading issues occur.
- DEFAULT_ACTIVITY_STEP_RATE - Static variable in class edu.umd.cs.piccolo.util.PUtil
-
PActivities are broken into steps, this is how many milliseconds should pass between steps.
- DEFAULT_FONT - Static variable in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Default font if not otherwise specified in the HTML text, 12 point
"SansSerif". - DEFAULT_FONT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
Default font, 12 point
"SansSerif". - DEFAULT_GREEK_THRESHOLD - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
Default greek threshold,
5.5d. - DEFAULT_HORIZONTAL_ALIGNMENT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
Default horizontal alignment,
Component.LEFT_ALIGNMENT. - DEFAULT_TEXT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
Default text,
"". - DEFAULT_TEXT_COLOR - Static variable in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Default text color if not otherwise specified in the HTML text,
Color.BLACK. - DEFAULT_TEXT_PAINT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
Default text paint,
Color.BLACK. - deltaRequiredToCenter(Rectangle2D) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns the required translation in order for this bounds origin to sit on the center of the provided rectangle.
- deltaRequiredToContain(Rectangle2D) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns the required translation in order for these to contain the bounds provided.
- DESTINATION_TO_SOURCE - Static variable in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Specifies that interpolation will be from the destination value to the source value.
- dispatchEventToListener(PInputEvent, int, PInputEventListener) - Method in class edu.umd.cs.piccolo.PInputManager
-
Dispatches the given event to the listener, or does nothing if listener is null.
- drag(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragEventHandler
-
Moves the dragged node in proportion to the drag distance.
- drag(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Subclasses should override this method to get notified of the drag events in a drag sequence.
- drag(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Updates the view in response to a user initiated drag event.
- dragActivityFinalStep(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Subclasses should override this method to get notified when the drag activity stops stepping.
- dragActivityFirstStep(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Subclasses override this method to get notified when the drag activity starts stepping.
- dragActivityFirstStep(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PZoomEventHandler
-
Records the start point of the zoom.
- dragActivityStep(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
During a drag sequence an activity is scheduled that runs continuously while the drag sequence is active.
- dragActivityStep(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Performs auto-panning if enabled, even when the mouse is not moving.
- dragActivityStep(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PZoomEventHandler
-
Updates the current zoom periodically, regardless of whether the mouse has moved recently.
E
- edu.umd.cs.piccolo - package edu.umd.cs.piccolo
-
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
- edu.umd.cs.piccolo.activities - package edu.umd.cs.piccolo.activities
-
This package supports Piccolo activities.
- edu.umd.cs.piccolo.event - package edu.umd.cs.piccolo.event
-
This package supports Piccolo event handlers.
- edu.umd.cs.piccolo.nodes - package edu.umd.cs.piccolo.nodes
-
This package contains nodes that may be useful for Piccolo applications.
- edu.umd.cs.piccolo.util - package edu.umd.cs.piccolo.util
-
This package defines several utility classes that are likely to be useful for Piccolo applications.
- endDrag(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragEventHandler
-
Clears the current drag node.
- endDrag(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Subclasses should override this method to get notified of the end event in a drag sequence.
- endProcessingInput() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Records that processing of input has finished.
- endProcessingOutput(Graphics) - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Flags processing of output as finished.
- endResizeBounds() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Clears the size of the path before resizing.
- endResizeBounds() - Method in class edu.umd.cs.piccolo.PNode
-
Notify this node that you have finished a resize bounds sequence.
- expandNearestIntegerDimensions() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Rounds the rectangle to the next largest bounds who's measurements are integers.
F
- FILL_STRATEGY_ASPECT_COVER - Static variable in class edu.umd.cs.piccolo.PNode
-
toImage fill strategy that stretches the node be large enough to cover the image, and centers it.
- FILL_STRATEGY_ASPECT_FIT - Static variable in class edu.umd.cs.piccolo.PNode
-
toImage fill strategy that stretches the node be as large as possible while still retaining its aspect ratio.
- FILL_STRATEGY_EXACT_FIT - Static variable in class edu.umd.cs.piccolo.PNode
-
toImage fill strategy that stretches the node to be exactly the dimensions of the image.
- findIntersectingNodes(Rectangle2D, ArrayList) - Method in class edu.umd.cs.piccolo.PNode
-
Finds all descendants of this node that intersect with the given bounds and adds them to the results array.
- fireChildPropertyChange(PropertyChangeEvent, int) - Method in class edu.umd.cs.piccolo.PNode
-
Called by child node to forward property change events up the node tree so that property change listeners registered with this node will be notified of property changes of its children nodes.
- firePropertyChange(int, String, Object, Object) - Method in class edu.umd.cs.piccolo.PNode
-
Report a bound property update to any registered listeners.
- fullIntersects(Rectangle2D) - Method in class edu.umd.cs.piccolo.PNode
-
Return true if the full bounds of this node intersects with the specified bounds.
- fullPaint(PPaintContext) - Method in class edu.umd.cs.piccolo.PCamera
-
Paint this node and all of its descendants.
- fullPaint(PPaintContext) - Method in class edu.umd.cs.piccolo.PNode
-
Paint this node and all of its descendants.
- fullPick(PPickPath) - Method in class edu.umd.cs.piccolo.PNode
-
Try to pick this node and all of its descendants.
G
- getAcceptsAlreadyHandledEvents() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts events that have already been flagged as handled.
- getAcceptsFocusEvents() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts focus events.
- getAcceptsKeyPressed() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts key pressed events.
- getAcceptsKeyReleased() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts key released events.
- getAcceptsKeyTyped() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts key typed events.
- getAcceptsMouseClicked() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts mouse clicked events.
- getAcceptsMouseDragged() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts mouse dragged events.
- getAcceptsMouseEntered() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts mouse entered events.
- getAcceptsMouseExited() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts mouse exited events.
- getAcceptsMouseMoved() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts mouse moved events.
- getAcceptsMousePressed() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts mouse pressed events.
- getAcceptsMouseReleased() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts mouse released events.
- getAcceptsMouseWheelRotated() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter accepts mouse wheel rotated events.
- getActivitiesReference() - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Returns a reference to the current activities list.
- getActivityScheduler() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Returns the activity scheduler associated with this activity.
- getActivityScheduler() - Method in class edu.umd.cs.piccolo.PRoot
-
Get the activity scheduler associated with this root.
- getActivityTimer() - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Returns the activity timer.
- getAllNodes() - Method in class edu.umd.cs.piccolo.PNode
-
Return a collection containing this node and all of its descendant nodes.
- getAllNodes(PNodeFilter, Collection) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.activities.PActivityScheduler
-
Return true if any of the scheduled activities are animations.
- getAnimating() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCanvas
-
Returns the quality to use when animating.
- getApproximateUsedMemory() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Returns an approximation of the amount of memory that is being used.
- getAttribute(Object) - Method in class edu.umd.cs.piccolo.PNode
-
Returns the value of the client attribute with the specified key.
- getAttribute(Object, Object) - Method in class edu.umd.cs.piccolo.PNode
-
Fetches the value of the requested attribute, returning defaultValue is not found.
- getAutopan() - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Returns whether the auto-panning functoinality is enabled.
- getBooleanAttribute(Object, boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Fetches the boolean value of the requested attribute, returning defaultValue is not found.
- getBottomCamera() - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Get the bottom camera on the pick path.
- getBounds() - Method in class edu.umd.cs.piccolo.PNode
-
Return a copy of this node's bounds.
- getBoundsChanged() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node's bounds have recently changed.
- getBoundsReference() - Method in class edu.umd.cs.piccolo.PNode
-
Return a direct reference to this node's bounds.
- getBoundsVolatile() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this nodes bounds may change at any time.
- getButton() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the mouse button value of the underlying mouse event.
- getCamera() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the bottom most camera that is currently painting.
- getCamera() - Method in class edu.umd.cs.piccolo.PCanvas
-
Return the camera associated with this canvas.
- getCamera() - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Return the camera for this offscreen canvas.
- getCamera() - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Returns the camera at the top of the camera stack, or null if stack is empty.
- getCamera(int) - Method in class edu.umd.cs.piccolo.PLayer
-
Get the camera in this layer's camera list at the specified index.
- getCameraCount() - Method in class edu.umd.cs.piccolo.PLayer
-
Get the number of cameras viewing this layer.
- getCamerasReference() - Method in class edu.umd.cs.piccolo.PLayer
-
Get the list of cameras viewing this layer.
- getCanvasDelta() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the delta between the last and current mouse position in PCanvas coordinates.
- getCanvasPosition() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the mouse position in PCanvas coordinates.
- getCenter2D() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns the midpoint of the bounds.
- getChild(int) - Method in class edu.umd.cs.piccolo.PNode
-
Return the child node at the specified index.
- getChildBoundsInvalid() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if one of this node's descendants has invalid bounds.
- getChildBoundsVolatile() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node has a child with volatile bounds.
- getChildPaintInvalid() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node has a child with invalid paint.
- getChildrenCount() - Method in class edu.umd.cs.piccolo.PNode
-
Return the number of children that this node has.
- getChildrenIterator() - Method in class edu.umd.cs.piccolo.PNode
-
Return an iterator over this node's direct descendant children.
- getChildrenPickable() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if the children of this node should be picked.
- getChildrenReference() - Method in class edu.umd.cs.piccolo.PNode
-
Return a reference to the list used to manage this node's children.
- getClickCount() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the click count of the mouse event.
- getClientProperties() - Method in class edu.umd.cs.piccolo.PNode
-
Return mutable attributed set of client properties associated with this node.
- getClientProperty(Object) - Method in class edu.umd.cs.piccolo.PNode
-
Deprecated.use getAttribute(Object key)instead.
- getClientPropertyKeysEnumeration() - Method in class edu.umd.cs.piccolo.PNode
-
Returns an enumeration of all keys maped to attribute values values.
- getClientPropertyKeysIterator() - Method in class edu.umd.cs.piccolo.PNode
-
Deprecated.use getClientPropertyKeysEnumerator() instead.
- getColor() - Method in interface edu.umd.cs.piccolo.activities.PColorActivity.Target
-
This method is called right before the color activity starts.
- getComponent() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Get the canvas associated with the top camera.
- getComponent() - Method in class edu.umd.cs.piccolo.PCamera
-
Return the component for this camera, or
nullif no component has been associated with this camera, as may be the case for internal cameras. - getCurrentCanvasPosition() - Method in class edu.umd.cs.piccolo.PInputManager
-
Returns the position of the current canvas event.
- getDebugPaintColor() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Generates a color for use while debugging.
- getDefaultInputManager() - Method in class edu.umd.cs.piccolo.PRoot
-
Get the default input manager to be used when processing input events.
- getDefaultRenderQuality() - Method in class edu.umd.cs.piccolo.PCanvas
-
Deprecated.in favor or getNormalRenderQuality
- getDelegate() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Get the delegate for this activity.
- getDelta() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.activities.PColorActivity
-
Return the final color that will be set on the color activities target when the activity stops stepping.
- getDestinationTransform() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
Fetches the double value of the requested attribute, returning defaultValue is not found.
- getDragActivity() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.event.PDragEventHandler
-
Returns the node that is currently being dragged, or null if none.
- getDuration() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Return the amount of time that this activity should take to complete, after the startStepping method is called.
- getErrantTransform() - Method in exception edu.umd.cs.piccolo.util.PAffineTransformException
-
Used to access the transform related to this exception.
- getEventFilter() - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Returns the event filter responsible for filtering incoming events.
- getFirstLoop() - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Return true if the activity is executing its first loop.
- getFont() - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Return the font for this HTML text node.
- getFont() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Return the font for this text node.
- getFramesProcessed() - Method in class edu.umd.cs.piccolo.util.PDebug
-
Return the number of frames that have been processed since the last time resetFPSTiming was called.
- getFullBounds() - Method in class edu.umd.cs.piccolo.PNode
-
Return a copy of this node's full bounds.
- getFullBoundsInvalid() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if the full bounds of this node are invalid.
- getFullBoundsReference() - Method in class edu.umd.cs.piccolo.PNode
-
Return a reference to this node's full bounds cache.
- getGlobalBounds() - Method in class edu.umd.cs.piccolo.PNode
-
Return a copy of the bounds of this node in the global coordinate system.
- getGlobalFullBounds() - Method in class edu.umd.cs.piccolo.PNode
-
Return a copy of the full bounds of this node in the global coordinate system.
- getGlobalRotation() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PRoot
-
Get the global Piccolo2D time.
- getGlobalToLocalTransform(PAffineTransform) - Method in class edu.umd.cs.piccolo.PNode
-
Return the transform that converts global coordinates to local coordinates of this node.
- getGlobalTranslation() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.util.PPaintContext
-
Returns the graphics context associated with this paint context.
- getGreekThreshold() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Return the greek threshold in screen font size.
- getHeight() - Method in class edu.umd.cs.piccolo.PNode
-
Return the height (in local coords) of this node's bounds.
- getHeight() - Method in class edu.umd.cs.piccolo.util.PDimension
-
Returns the height of the dimension.
- getHorizontalAlignment() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Return the horizontal alignment for this text node.
- getImage() - Method in class edu.umd.cs.piccolo.nodes.PImage
-
Returns the image that is shown by this node, or null if none.
- getInputEventListeners() - Method in class edu.umd.cs.piccolo.PCanvas
-
Returns the input event listeners registered to receive input events.
- getInputEventListeners() - Method in class edu.umd.cs.piccolo.PNode
-
Returns an array of input event listeners that are attached to this node.
- getInputFPS() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Return the frames per second used to process input events and activities.
- getInputManager() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the input manager that dispatched this event.
- getIntegerAttribute(Object, int) - Method in class edu.umd.cs.piccolo.PNode
-
Fetches the integer value of the requested attribute, returning defaultValue is not found.
- getInteracting() - Method in class edu.umd.cs.piccolo.PCanvas
-
Return true if this canvas has been marked as interacting, or whether it's root is interacting.
- getInteracting() - Method in class edu.umd.cs.piccolo.PRoot
-
Return true if this root has been marked as interacting.
- getInteractingRenderQuality() - Method in class edu.umd.cs.piccolo.PCanvas
-
Returns the quality to use when interacting.
- getInverseTransform() - Method in class edu.umd.cs.piccolo.PNode
-
Return an inverted copy of the transform associated with this node.
- getJustification() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Deprecated.
- getKeyboardFocus() - Method in class edu.umd.cs.piccolo.PInputManager
-
Return the node that currently has the keyboard focus.
- getKeyChar() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the character associated with a key event.
- getKeyCode() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the key code associated with a key event.
- getKeyLocation() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the location on the keyboard from which the key stroke originated.
- getLastCanvasPosition() - Method in class edu.umd.cs.piccolo.PInputManager
-
Returns the position on the Canvas of the last event.
- getLayer() - Method in class edu.umd.cs.piccolo.PCanvas
-
Return layer for this canvas.
- getLayer(int) - Method in class edu.umd.cs.piccolo.PCamera
-
Return the layer at the specified position in the list of layers viewed by this camera.
- getLayerCount() - Method in class edu.umd.cs.piccolo.PCamera
-
Return the number of layers in the list of layers viewed by this camera.
- getLayersReference() - Method in class edu.umd.cs.piccolo.PCamera
-
Return a reference to the list of layers viewed by this camera.
- getLinkAddressAt(double, double) - Method in class edu.umd.cs.piccolo.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.
- getLinkAddressAt(Point2D) - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Return the address specified in the HTML link at the specified point in this node's local coordinate system, if any.
- getListenerList() - Method in class edu.umd.cs.piccolo.PNode
-
Return the list of event listeners associated with this node.
- getLocalClip() - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Returns the clipping region in the local coordinate system applied by graphics.
- getLocalToGlobalTransform(PAffineTransform) - Method in class edu.umd.cs.piccolo.PNode
-
Return the transform that converts local coordinates at this node to the global coordinate system.
- getLoopCount() - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Return the number of times the activity should automatically reschedule itself after it has finished.
- getMarksAcceptedEventsAsHandled() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Returns whether this filter marks events as handled if they are accepted.
- getMaxAutoPanSpeed() - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Returns the maxAutoPan speed in pixels per second.
- getMaxScale() - Method in class edu.umd.cs.piccolo.event.PZoomEventHandler
-
Returns the maximum view magnification factor that this event handler is bound by.
- getMinAutoPanSpeed() - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Returns the minAutoPan speed in pixels per second.
- getMinDragStartDistance() - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Returns the minimum distance (in screen coordinates) before a pressed mouse movement is registered as a drag event.
- getMinScale() - Method in class edu.umd.cs.piccolo.event.PZoomEventHandler
-
Returns the minimum view magnification factor that this event handler is bound by.
- getMode() - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Return the mode used for interpolation.
- getModifiers() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the modifiers provided for the input event by swing.
- getModifiersEx() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the extended modifiers provided for the input event by swing.
- getMouseFocus() - Method in class edu.umd.cs.piccolo.PInputManager
-
Return the current Pick Path under the mouse focus.
- getMouseOver() - Method in class edu.umd.cs.piccolo.PInputManager
-
Return the node the the mouse is currently over.
- getMousePressedCanvasPoint() - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Return the point in canvas coordinates where the mouse was last pressed.
- getMoveToFrontOnPress() - Method in class edu.umd.cs.piccolo.event.PDragEventHandler
-
Returns whether this drag event handler has been informed to move nodes to the front of all other on drag.
- getName() - Method in class edu.umd.cs.piccolo.PNode
-
Returns the name given to this node.
- getNextStepTime() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Gets the next step time desired for this activity.
- getNodeStackReference() - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Returns a reference to the node stack.
- getNormalRenderQuality() - Method in class edu.umd.cs.piccolo.PCanvas
-
Returns the quality to use when not animating or interacting.
- getOccluded() - Method in class edu.umd.cs.piccolo.PNode
-
Returns whether this node has been flagged as occluded.
- getOffset() - Method in class edu.umd.cs.piccolo.PNode
-
Return the offset that is being applied to this node by its transform.
- getOrigin() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns the x,y coordinate of the bounds.
- getOutputFPS() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Return the frames per seconds used to paint graphics to the screen.
- getPaint() - Method in class edu.umd.cs.piccolo.PNode
-
Return the paint used while painting this node.
- getPaintInvalid() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this nodes paint is invalid, in which case the node needs to be repainted.
- getPanEventHandler() - Method in class edu.umd.cs.piccolo.PCanvas
-
Get the pan event handler associated with this canvas.
- getParent() - Method in class edu.umd.cs.piccolo.PNode
-
Return the parent of this node.
- getPath() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the PPickPath associated with this input event.
- getPathBoundsWithStroke() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Calculates the path's bounds taking stroke into account.
- getPathReference() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Provides direct access to the underlying GeneralPath object.
- getPathTransformTo(PNode) - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Calculates the context at which the given node is being interacted with.
- getPickable() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node is pickable.
- getPickBounds() - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Returns the bounds of the entire PickPath taken as a whole.
- getPickedNode() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the bottom node on the current pickpath, that is the picked node furthest from the root node.
- getPickedNode() - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Get the bottom node on the pick path node stack.
- getPosition() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the mouse position transformed through the view transform of the bottom camera.
- getPositionRelativeTo(PNode) - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the mouse position relative to a given node on the pick path.
- getProcessingOutput() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Returns whether output is being processed.
- getPropertyChangeParentMask() - Method in class edu.umd.cs.piccolo.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.
- getRenderQuality() - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Return the render quality hint for this offscreen canvas.
- getRenderQuality() - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Return the render quality used by this paint context.
- getRoot() - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Returns the node from which all activities will be attached.
- getRoot() - Method in class edu.umd.cs.piccolo.PCanvas
-
Return root for this canvas.
- getRoot() - Method in class edu.umd.cs.piccolo.PNode
-
Return the root node (instance of PRoot).
- getRoot() - Method in class edu.umd.cs.piccolo.PRoot
-
Since getRoot is handled recursively, and root is the lowest point in the hierarchy, simply returns itself.
- getRotation() - Method in class edu.umd.cs.piccolo.PNode
-
Returns the rotation applied by this node's transform in radians.
- getRotation() - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Returns the rotation applied to this affine transform in radians.
- getScale() - Method in class edu.umd.cs.piccolo.PNode
-
Return the scale applied by this node's transform.
- getScale() - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Returns the scale applied to this transform.
- getScale() - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Returns scale of the current graphics context.
- getScale() - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Returns the resulting scale of applying the transforms of the entire pick path.
- getSize() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns the size of the bounds.
- getSlowInSlowOut() - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Returns whether this interpolation accelerates and then decelerates as it interpolates.
- getSourceMatrix(double[]) - Method in interface edu.umd.cs.piccolo.activities.PTransformActivity.Target
-
This method is called right before the transform activity starts.
- getSourceSwingEvent() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the underlying swing event that this PInputEvent is wrapping.
- getStartTime() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Return the time that this activity should start running in PRoot global time.
- getStepRate() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Return the amount of time that this activity should delay between steps.
- getStopTime() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Return the time when this activity should finish running.
- getStroke() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Returns the stroke to use when drawing the path.
- getStrokePaint() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Returns the stroke paint of the PPath.
- getText() - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Return the HTML text for this HTML text node.
- getText() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Return the text for this text node.
- getTextColor() - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Return the text color for this HTML text node.
- getTextPaint() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Return the paint used to paint this node's text.
- getTopCamera() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the topmost camera this is painting.
- getTopCamera() - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Get the top camera on the pick path.
- getTotalFPS() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Return how many frames are processed and painted per second.
- getTransform() - Method in class edu.umd.cs.piccolo.PNode
-
Return a copy of the transform associated with this node.
- getTransformReference(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Return a reference to the transform associated with this node.
- getTransparency() - Method in class edu.umd.cs.piccolo.PNode
-
Return the transparency used when painting this node.
- getUnionOfChildrenBounds(PBounds) - Method in class edu.umd.cs.piccolo.PNode
-
Compute and return the union of the full bounds of all the children of this node.
- getUnionOfLayerFullBounds() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCamera
-
Return the bounds of this camera in the view coordinate system.
- getViewConstraint() - Method in class edu.umd.cs.piccolo.PCamera
-
Return the constraint applied to the view.
- getViewScale() - Method in class edu.umd.cs.piccolo.PCamera
-
Return the scale applied by the view transform to the list of layers viewed by this camera.
- getViewTransform() - Method in class edu.umd.cs.piccolo.PCamera
-
Return a copy of the view transform applied to the list of layers viewed by this camera.
- getViewTransformReference() - Method in class edu.umd.cs.piccolo.PCamera
-
Return a reference to the view transform applied to the list of layers viewed by this camera.
- getVisible() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node is visible, that is if it will paint itself and descendants.
- getWheelRotation() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the current value of the wheel rotation on Mouse Wheel Rotation events.
- getWhen() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the time at which the event was emitted.
- getWidth() - Method in class edu.umd.cs.piccolo.PNode
-
Return the width (in local coords) of this node's bounds.
- getWidth() - Method in class edu.umd.cs.piccolo.util.PDimension
-
Returns the width of the dimension.
- getX() - Method in class edu.umd.cs.piccolo.PNode
-
Return the x position (in local coords) of this node's bounds.
- getXOffset() - Method in class edu.umd.cs.piccolo.PNode
-
Returns the x offset of this node as applied by its transform.
- getY() - Method in class edu.umd.cs.piccolo.PNode
-
Return the y position (in local coords) of this node's bounds.
- getYOffset() - Method in class edu.umd.cs.piccolo.PNode
-
Returns the y offset of this node as applied by its transform.
- getZoomEventHandler() - Method in class edu.umd.cs.piccolo.PCanvas
-
Get the zoom event handler associated with this canvas.
- globalToLocal(Dimension2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given dimension from global coordinates to this node's local coordinate system.
- globalToLocal(Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given point from global coordinates to this node's local coordinate system.
- globalToLocal(Rectangle2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given rectangle from global coordinates to this node's local coordinate system.
- greekThreshold - Variable in class edu.umd.cs.piccolo.nodes.PText
-
Greek threshold in screen font size for this text node.
H
- height - Variable in class edu.umd.cs.piccolo.util.PDimension
-
The height of the dimension.
- HIGH_QUALITY_RENDERING - Static variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Used for improving quality of rendering when requested.
I
- indexOfChild(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Return the index where the given child is stored.
- indexOfLayer(PLayer) - Method in class edu.umd.cs.piccolo.PCamera
-
Return the index of the first occurrence of the specified layer in the list of layers viewed by this camera, or
-1if the list of layers viewed by this camera does not contain the specified layer. - inset(double, double) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Adjust the measurements of this bounds so that they are the amounts given "in" from their previous border.
- installInputSources() - Method in class edu.umd.cs.piccolo.PCanvas
-
This method installs mouse and key listeners on the canvas that forward those events to piccolo.
- INTERACTING_CHANGED_NOTIFICATION - Static variable in class edu.umd.cs.piccolo.PCanvas
-
Deprecated.in favor of PROPERTY_INTERACTING
- INTERATING_CHANGED_NOTIFICATION - Static variable in class edu.umd.cs.piccolo.PCanvas
-
Deprecated.this is a typo and clients should change their code to reflect the correct spelling
- internalUpdateBounds(double, double, double, double) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Set the bounds of this path.
- internalUpdateBounds(double, double, double, double) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
Gives nodes a chance to update their internal structure before bounds changed notifications are sent.
- intersects(Rectangle2D) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Returns true if path crosses the provided bounds.
- intersects(Rectangle2D) - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node intersects the given rectangle specified in local bounds.
- invalidateFullBounds() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
Invalidate this node's layout, so that later layoutChildren will get called.
- invalidatePaint() - Method in class edu.umd.cs.piccolo.PNode
-
Invalidate this node's paint, and mark all of its ancestors as having a node with invalid paint.
- inverseTransform(Dimension2D, Dimension2D) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Applies the inverse of this transform to the source dimension if possible.
- inverseTransform(Point2D, Point2D) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Applies the inverse of this transform to the source point if possible.
- inverseTransform(Rectangle2D, Rectangle2D) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Applies the inverse of this transform to the source rectangle and stores the result in rectDst.
- isActionKey() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the key event involves the action key.
- isAltDown() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the alt key is currently down.
- isAncestorOf(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node is an ancestor of the parameter node.
- isAnimation() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Return true if this activity is performing an animation.
- isAnimation() - Method in class edu.umd.cs.piccolo.activities.PColorActivity
-
Returns true since all PColorActivities animate the scene.
- isAnimation() - Method in class edu.umd.cs.piccolo.activities.PTransformActivity
-
Whether each step invalidates paint.
- isConstrainHeightToTextHeight() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Return true if this text node should constrain its height to the height of its text.
- isConstrainWidthToTextWidth() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Return true if this text node should constrain its width to the width of its text.
- isControlDown() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the control key is currently down.
- isDescendentOf(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node is a descendant of the parameter node.
- isDescendentOfRoot() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this node descends from the root.
- isDragging() - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Returns true if this event handler is in the process of handling a drag.
- isEmpty() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns true if this bounds has been flagged as empty.
- isFocusEvent() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the underlying event is a Focus Event.
- isHandled() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return true if another event handler has already handled this event.
- isKeyEvent() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the underlying event is a KeyEvent.
- isLeftMouseButton() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the mouse event involves the left mouse button.
- isMetaDown() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the meta key is currently down.
- isMiddleMouseButton() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the mouse event involves the middle mouse button.
- isMouseEnteredOrMouseExited() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the underlying event is a mouse entered or exited event.
- isMouseEvent() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the underlying event is a MouseEvent.
- isMouseWheelEvent() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the underlying event is a Mouse Wheel Event.
- isOpaque(Rectangle2D) - Method in class edu.umd.cs.piccolo.PNode
-
Returns whether this node is Opaque.
- isPopupTrigger() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether or not this event is a popup menu trigger event for the platform.
- isRightMouseButton() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the mouse event involves the right mouse button.
- isShiftDown() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the shift key is currently down.
- isStepping() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Return true if this activity is stepping.
K
- keyboardFocusGained(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
This method is invoked when a node gains the keyboard focus.
- keyboardFocusLost(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
This method is invoked when a node loses the keyboard focus.
- keyPressed(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will get called whenever a key has been pressed down.
- keyPressed(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will get called whenever a key has been pressed down.
- keyReleased(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will get called whenever a key has been released.
- keyReleased(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will get called whenever a key has been released.
- keyTyped(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will be called at the end of a full keystroke (down then up).
- keyTyped(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will be called at the end of a full keystroke (down then up).
L
- layoutChildren() - Method in class edu.umd.cs.piccolo.PNode
-
Nodes that apply layout constraints to their children should override this method and do the layout there.
- lerp(double, double, double) - Static method in class edu.umd.cs.piccolo.PNode
-
Linearly interpolates between a and b, based on t.
- lineTo(float, float) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Draws a line from the last point in the path to point provided.
- localClipStack - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Tracks clipping region in local coordinate system.
- localToGlobal(Dimension2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given dimension from this node's local coordinate system to the global coordinate system.
- localToGlobal(Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given point from this node's local coordinate system to the global coordinate system.
- localToGlobal(Rectangle2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given rectangle from this node's local coordinate system to the global coordinate system.
- localToParent(Dimension2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given dimension from this node's local coordinate system to its parent's local coordinate system.
- localToParent(Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given point from this node's local coordinate system to its parent's local coordinate system.
- localToParent(Rectangle2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given rectangle from this node's local coordinate system to its parent's local coordinate system.
- localToView(Dimension2D) - Method in class edu.umd.cs.piccolo.PCamera
-
Convert the dimension from the camera's local coordinate system to the camera's view coordinate system.
- localToView(Point2D) - Method in class edu.umd.cs.piccolo.PCamera
-
Convert the point from the camera's local coordinate system to the camera's view coordinate system.
- localToView(Rectangle2D) - Method in class edu.umd.cs.piccolo.PCamera
-
Convert the rectangle from the camera's local coordinate system to the camera's view coordinate system.
- LOW_QUALITY_RENDERING - Static variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Used for lowering quality of rendering when requested.
M
- mouseClicked(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will be called at the end of a full click (mouse pressed followed by mouse released).
- mouseClicked(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will be called at the end of a full click (mouse pressed followed by mouse released).
- mouseDragged(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will be called when a drag is occurring.
- mouseDragged(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Subclasses should not override this method, instead they should override the appropriate drag method.
- mouseDragged(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will be called when a drag is occurring.
- mouseEntered(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will be invoked when the mouse enters a specified region.
- mouseEntered(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will be invoked when the mouse enters a specified region.
- mouseExited(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will be invoked when the mouse leaves a specified region.
- mouseExited(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will be invoked when the mouse leaves a specified region.
- mouseMoved(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will be called when the mouse is moved.
- mouseMoved(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will be called when the mouse is moved.
- mousePressed(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will be called when a mouse button is pressed down.
- mousePressed(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Subclasses should not override this method, instead they should override the appropriate drag callbacks.
- mousePressed(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will be called when a mouse button is pressed down.
- mouseReleased(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Will be called when any mouse button is released.
- mouseReleased(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Subclasses should not override this method, instead they should override the appropriate drag method.
- mouseReleased(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Will be called when any mouse button is released.
- mouseWheelRotated(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
This method is invoked when the mouse wheel is rotated.
- mouseWheelRotated(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
This method is invoked when the mouse wheel is rotated.
- mouseWheelRotatedByBlock(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
This method is invoked when the mouse wheel is rotated by a block.
- mouseWheelRotatedByBlock(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
This method is invoked when the mouse wheel is rotated by a block.
- moveBy(double, double) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Translates the bounds by the given deltas.
- moveInBackOf(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Change the order of this node in its parent's children list so that it will draw in back of the specified sibling node.
- moveInFrontOf(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Change the order of this node in its parent's children list so that it will draw in front of the specified sibling node.
- moveTo(float, float) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Appends a "move" operation to the end of the path.
- moveToBack() - Method in class edu.umd.cs.piccolo.PNode
-
Change the order of this node in its parent's children list so that it will draw in back of all of its other sibling nodes.
- moveToFront() - Method in class edu.umd.cs.piccolo.PNode
-
Change the order of this node in its parent's children list so that it will draw in front of all of its other sibling nodes.
N
- nextPickedNode() - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Return the next node that will be picked after the current picked node.
- nodeFullBoundsInvalidated(PNode) - Method in interface edu.umd.cs.piccolo.PNode.PSceneGraphDelegate
-
Called to notify delegate that the node and all it's children need repainting.
- nodePaintInvalidated(PNode) - Method in interface edu.umd.cs.piccolo.PNode.PSceneGraphDelegate
-
Called to notify delegate that the node needs repainting.
- notifyCameras(PBounds) - Method in class edu.umd.cs.piccolo.PLayer
-
Dispatches repaint notification to all registered cameras.
- NULL_ENUMERATION - Static variable in class edu.umd.cs.piccolo.util.PUtil
-
A utility enumeration with no elements.
- NULL_ITERATOR - Static variable in class edu.umd.cs.piccolo.util.PUtil
-
An iterator that iterates over an empty collection.
- NULL_OUTPUT_STREAM - Static variable in class edu.umd.cs.piccolo.util.PUtil
-
Deprecated.This has been moved into a private static class of PObjectOutputStream
O
- offset(double, double) - Method in class edu.umd.cs.piccolo.PNode
-
Offset this node relative to the parents coordinate system, and is NOT effected by this nodes current scale or rotation.
P
- PActivity - Class in edu.umd.cs.piccolo.activities
-
PActivity controls some time dependent aspect of Piccolo, such as animation.
- PActivity(long) - Constructor for class edu.umd.cs.piccolo.activities.PActivity
-
Constructs a new PActivity.
- PActivity(long, long) - Constructor for class edu.umd.cs.piccolo.activities.PActivity
-
Constructs a new PActivity.
- PActivity(long, long, long) - Constructor for class edu.umd.cs.piccolo.activities.PActivity
-
Constructs a new PActivity.
- PActivity.PActivityDelegate - Interface in edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.activities
-
PActivityScheduler is responsible for maintaining a list of activities.
- PActivityScheduler(PRoot) - Constructor for class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Constructs an instance of PActivityScheduler.
- PAffineTransform - Class in edu.umd.cs.piccolo.util
-
PAffineTransform is a subclass of AffineTransform that has been extended with convenience methods.
- PAffineTransform() - Constructor for class edu.umd.cs.piccolo.util.PAffineTransform
-
Constructs a new AffineTransform representing the Identity transformation.
- PAffineTransform(double[]) - Constructor for class edu.umd.cs.piccolo.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(double, double, double, double, double, double) - Constructor for class edu.umd.cs.piccolo.util.PAffineTransform
-
Constructs a new AffineTransform from 6 double precision values representing the 6 specifiable entries of the 3x3 transformation matrix.
- PAffineTransform(float[]) - Constructor for class edu.umd.cs.piccolo.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(float, float, float, float, float, float) - Constructor for class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.util.PAffineTransform
-
Constructs a new AffineTransform that is a copy of the specified AffineTransform object.
- PAffineTransformException - Exception in edu.umd.cs.piccolo.util
-
This class is used to encapsulate exceptions that may occur while performing transform operations.
- PAffineTransformException(PAffineTransform) - Constructor for exception edu.umd.cs.piccolo.util.PAffineTransformException
-
Constructs an Exception that represents an error with the errantTransform.
- PAffineTransformException(String, PAffineTransform) - Constructor for exception edu.umd.cs.piccolo.util.PAffineTransformException
-
Constructs an Exception that represents an error with the errantTransform.
- PAffineTransformException(String, Throwable, PAffineTransform) - Constructor for exception edu.umd.cs.piccolo.util.PAffineTransformException
-
Constructs an Exception that wraps another and records the errant transform and provides a human readable message about the exception's context.
- PAffineTransformException(Throwable, PAffineTransform) - Constructor for exception edu.umd.cs.piccolo.util.PAffineTransformException
-
Constructs an Exception that wraps another and records the errant transform.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Paint this node behind any of its children nodes.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.nodes.PPath
-
Paints the path in the provided paintContext.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Paint this node behind any of its children nodes.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.PCamera
-
Paint this camera and then paint this camera's view through its view transform.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.PNode
-
Paint this node behind any of its children nodes.
- paintAfterChildren(PPaintContext) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCamera
-
Paint all the layers in the list of layers viewed by this camera.
- paintComponent(Graphics) - Method in class edu.umd.cs.piccolo.PCanvas
- paintDebugInfo(PPaintContext) - Method in class edu.umd.cs.piccolo.PCamera
-
Renders debug info onto the newly painted scene.
- paintGreek(PPaintContext) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Paint greek with the specified paint context.
- paintImmediately() - Method in class edu.umd.cs.piccolo.PCanvas
-
If not painting immediately, send paint notification to RepaintManager, otherwise does nothing.
- paintImmediately() - Method in interface edu.umd.cs.piccolo.PComponent
-
Sends a repaint notification the repaint manager if PComponent is not already painting immediately.
- paintImmediately() - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Sends a repaint notification the repaint manager if PComponent is not already painting immediately.
- paintText(PPaintContext) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Paint text with the specified paint context.
- pan(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Pans the camera in response to the pan event provided.
- paramString() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Deprecated.see http://code.google.com/p/piccolo2d/issues/detail?id=99
- paramString() - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Deprecated.see http://code.google.com/p/piccolo2d/issues/detail?id=99
- paramString() - Method in class edu.umd.cs.piccolo.PNode
-
Deprecated.see http://code.google.com/p/piccolo2d/issues/detail?id=99
- parentBoundsChanged() - Method in class edu.umd.cs.piccolo.PNode
-
A notification that the bounds of this node's parent have changed.
- parentToLocal(Dimension2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given dimension from this node's parent's local coordinate system to the local coordinate system of this node.
- parentToLocal(Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given point from this node's parent's local coordinate system to the local coordinate system of this node.
- parentToLocal(Rectangle2D) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Constructs a PBasicInputEventHandler with a wide open event filter.
- PBounds - Class in edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.util.PBounds
-
Creates an empty bounds.
- PBounds(double, double, double, double) - Constructor for class edu.umd.cs.piccolo.util.PBounds
-
Constructs a PBounds object at the given coordinates with the given dimensions.
- PBounds(PBounds) - Constructor for class edu.umd.cs.piccolo.util.PBounds
-
Creates a bounds identical to the one provided.
- PBounds(Point2D, double, double) - Constructor for class edu.umd.cs.piccolo.util.PBounds
-
Constructs a PBounds object with the given center point and the specified insets.
- PBounds(Rectangle2D) - Constructor for class edu.umd.cs.piccolo.util.PBounds
-
Creates a bounds with the same shape as the rectangle provided.
- PCamera - Class in edu.umd.cs.piccolo
-
PCamera represents a viewport onto a list of layer nodes.
- PCamera() - Constructor for class edu.umd.cs.piccolo.PCamera
-
Create a new camera with an empy list of layers.
- PCanvas - Class in edu.umd.cs.piccolo
-
PCanvas is a simple Swing component that can be used to embed Piccolo into a Java Swing application.
- PCanvas() - Constructor for class edu.umd.cs.piccolo.PCanvas
-
Construct a canvas with the basic scene graph consisting of a root, camera, and layer.
- PColorActivity - Class in edu.umd.cs.piccolo.activities
-
PColorActivity interpolates between two colors for its target over the duration of the animation.
- PColorActivity(long, long, int, int, PColorActivity.Target, Color) - Constructor for class edu.umd.cs.piccolo.activities.PColorActivity
-
Create a new PColorActivity.
- PColorActivity(long, long, PColorActivity.Target) - Constructor for class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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.Target - Interface in edu.umd.cs.piccolo.activities
-
Target Objects that want their color to be set by the color activity must implement this interface.
- PComponent - Interface in edu.umd.cs.piccolo
-
Interface that a component needs to implement if it wants to act as a Piccolo canvas.
- PDebug - Class in edu.umd.cs.piccolo.util
-
PDebug is used to set framework wide debugging flags.
- PDimension - Class in edu.umd.cs.piccolo.util
-
PDimension this class should be removed once a concrete Dimension2D that supports doubles is added to java.
- PDimension() - Constructor for class edu.umd.cs.piccolo.util.PDimension
-
Returns a dimension with no width or height.
- PDimension(double, double) - Constructor for class edu.umd.cs.piccolo.util.PDimension
-
Creates a dimension with the provided dimensions.
- PDimension(Dimension2D) - Constructor for class edu.umd.cs.piccolo.util.PDimension
-
Copies the provided dimension.
- PDimension(Point2D, Point2D) - Constructor for class edu.umd.cs.piccolo.util.PDimension
-
Creates a dimension that's the size of a rectangel with the points provided as opposite corners.
- PDragEventHandler - Class in edu.umd.cs.piccolo.event
-
PDragEventHandler is a simple event handler for dragging a node on the canvas.
- PDragEventHandler() - Constructor for class edu.umd.cs.piccolo.event.PDragEventHandler
-
Constructs a drag event handler which defaults to not moving the node to the front on drag.
- PDragSequenceEventHandler - Class in edu.umd.cs.piccolo.event
-
PDragSequenceEventHandler is designed to support mouse pressed, dragged, and released interaction sequences.
- PDragSequenceEventHandler() - Constructor for class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Constructs a drag sequence event handler instance.
- peek() - Method in class edu.umd.cs.piccolo.util.PStack
-
Returns topmost element on the stack, or null if stack is empty.
- PHtmlView - Class in edu.umd.cs.piccolo.nodes
-
PHtmlView is a Piccolo node for rendering HTML text.
- PHtmlView() - Constructor for class edu.umd.cs.piccolo.nodes.PHtmlView
-
Create an empty HTML text node with the default font and text color.
- PHtmlView(String) - Constructor for class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.nodes.PHtmlView
-
Create a HTML text node with the specified HTML text, font, and text color.
- pick(double, double, double) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
Try to pick this node before its children have had a chance to be picked.
- pickAfterChildren(PPickPath) - Method in class edu.umd.cs.piccolo.PCamera
-
Try to pick this node after its children have had a chance to be picked.
- pickAfterChildren(PPickPath) - Method in class edu.umd.cs.piccolo.PNode
-
Try to pick this node after its children have had a chance to be picked.
- pickCameraView(PPickPath) - Method in class edu.umd.cs.piccolo.PCamera
-
Try to pick all of the layers in the list of layers viewed by this camera.
- PImage - Class in edu.umd.cs.piccolo.nodes
-
PImage is a wrapper around a java.awt.Image.
- PImage() - Constructor for class edu.umd.cs.piccolo.nodes.PImage
-
Constructs a PImage without a java.awt.Image attached.
- PImage(Image) - Constructor for class edu.umd.cs.piccolo.nodes.PImage
-
Construct a new PImage wrapping the given java.awt.Image.
- PImage(String) - Constructor for class edu.umd.cs.piccolo.nodes.PImage
-
Construct a new PImage by loading the given fileName and wrapping the resulting java.awt.Image.
- PImage(URL) - Constructor for class edu.umd.cs.piccolo.nodes.PImage
-
Construct a new PImage by loading the given url and wrapping the resulting java.awt.Image.
- PInputEvent - Class in edu.umd.cs.piccolo.event
-
PInputEvent is used to notify PInputEventListeners of keyboard and mouse input.
- PInputEvent(PInputManager, InputEvent) - Constructor for class edu.umd.cs.piccolo.event.PInputEvent
-
Create an event with the given inputManager and based on the given swing event.
- PInputEventFilter - Class in edu.umd.cs.piccolo.event
-
PInputEventFilter is a class that filters input events based on the events modifiers and type.
- PInputEventFilter() - Constructor for class edu.umd.cs.piccolo.event.PInputEventFilter
-
Creates a PInputEventFilter that accepts everything.
- PInputEventFilter(int) - Constructor for class edu.umd.cs.piccolo.event.PInputEventFilter
-
Creates a PInputEventFilter that will accept events if they have the given andMask.
- PInputEventFilter(int, int) - Constructor for class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.event
-
PInputEventListener defines the most basic interface for objects that want to listen to PNodes for input events.
- PInputManager - Class in edu.umd.cs.piccolo
-
PInputManager is responsible for dispatching PInputEvents to node's event listeners.
- PInputManager() - Constructor for class edu.umd.cs.piccolo.PInputManager
-
Creates a PInputManager and sets positions (last, current) to the origin (0,0).
- PInterpolatingActivity - Class in edu.umd.cs.piccolo.activities
-
PInterpolatingActivity interpolates between two states (source and destination) over the duration of the activity.
- PInterpolatingActivity(long) - Constructor for class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Constructs an interpolating activity that will last the duration given.
- PInterpolatingActivity(long, long) - Constructor for class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Create a new PInterpolatingActivity.
- PLayer - Class in edu.umd.cs.piccolo
-
PLayer is a node that can be viewed directly by multiple camera nodes.
- PLayer() - Constructor for class edu.umd.cs.piccolo.PLayer
-
Creates a PLayer without any cameras attached to it.
- PNode - Class in edu.umd.cs.piccolo
-
PNode is the central abstraction in Piccolo.
- PNode() - Constructor for class edu.umd.cs.piccolo.PNode
-
Constructs a new PNode.
- PNode(String) - Constructor for class edu.umd.cs.piccolo.PNode
-
Creates a new PNode with the given name.
- PNode.PSceneGraphDelegate - Interface in edu.umd.cs.piccolo
-
PSceneGraphDelegate is an interface to receive low level node events.
- PNodeFilter - Interface in edu.umd.cs.piccolo.util
-
PNodeFilter is a interface that filters (accepts or rejects) nodes.
- PObjectOutputStream - Class in edu.umd.cs.piccolo.util
-
PObjectOutputStream is an extension of ObjectOutputStream to handle optional elements.
- PObjectOutputStream(OutputStream) - Constructor for class edu.umd.cs.piccolo.util.PObjectOutputStream
-
Constructs a PObjectOutputStream that wraps the provided OutputStream.
- POffscreenCanvas - Class in edu.umd.cs.piccolo
-
Offscreen canvas.
- POffscreenCanvas(int, int) - Constructor for class edu.umd.cs.piccolo.POffscreenCanvas
-
Create a new offscreen canvas the specified width and height.
- pop() - Method in class edu.umd.cs.piccolo.util.PStack
-
Removes top element on the stack and returns it.
- popCamera() - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Removes the camera at the top of the camera stack.
- popCamera(PCamera) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Deprecated.in favor of popCamera()
- popClip(Shape) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Removes the topmost clipping region from the clipping stack.
- popCursor() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Removes the top most cursor from the cursor stack and sets it as the current cursor.
- popCursor() - Method in class edu.umd.cs.piccolo.PCanvas
-
Pop the cursor on top of the cursorStack and set it as the canvas cursor.
- popCursor() - Method in interface edu.umd.cs.piccolo.PComponent
-
Pops the topmost cursor from the stack and sets it as the current one.
- popCursor() - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Pops the topmost cursor from the stack and sets it as the current one.
- popNode(PNode) - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Removes the topmost node from the node stack.
- popTransform(PAffineTransform) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.util.PPickPath
-
Pops the top most transform from the pick path.
- popTransparency(float) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Removes the topmost transparency if the given transparency is not opaque (1f).
- position(Point2D, Point2D, Rectangle2D, int) - Method in class edu.umd.cs.piccolo.PNode
-
Deprecated.in favor of animateToRelativePosition It will calculate the necessary transform in order to make this node appear at a particular position relative to the specified bounding box. The source point specifies a point in the unit square (0, 0) - (1, 1) that represents an anchor point on the corresponding node to this transform. The destination point specifies an anchor point on the reference node. The position method then computes the transform that results in transforming this node so that the source anchor point coincides with the reference anchor point. This can be useful for layout algorithms as it is straightforward to position one object relative to another.
For example, If you have two nodes, A and B, and you call
Point2D srcPt = new Point2D.Double(1.0, 0.0); Point2D destPt = new Point2D.Double(0.0, 0.0); A.position(srcPt, destPt, B.getGlobalBounds(), 750, null);
The result is that A will move so that its upper-right corner is at the same place as the upper-left corner of B, and the transition will be smoothly animated over a period of 750 milliseconds. - PPaintContext - Class in edu.umd.cs.piccolo.util
-
PPaintContext is used by piccolo nodes to paint themselves on the screen.
- PPaintContext(Graphics2D) - Constructor for class edu.umd.cs.piccolo.util.PPaintContext
-
Creates a PPaintContext associated with the given graphics context.
- PPanEventHandler - Class in edu.umd.cs.piccolo.event
-
PPanEventHandler provides event handlers for basic panning of the canvas view with the left mouse.
- PPanEventHandler() - Constructor for class edu.umd.cs.piccolo.event.PPanEventHandler
-
Constructs a Pan Event Handler that will by default perform auto-panning.
- PPath - Class in edu.umd.cs.piccolo.nodes
-
PPath is a wrapper around a java.awt.geom.GeneralPath.
- PPath() - Constructor for class edu.umd.cs.piccolo.nodes.PPath
-
Creates an empty PPath with the default paint and stroke.
- PPath(Shape) - Constructor for class edu.umd.cs.piccolo.nodes.PPath
-
Creates an PPath in the given shape with the default paint and stroke.
- PPath(Shape, Stroke) - Constructor for class edu.umd.cs.piccolo.nodes.PPath
-
Construct this path with the given shape and stroke.
- PPickPath - Class in edu.umd.cs.piccolo.util
-
PPickPath represents a ordered list of nodes that have been picked.
- PPickPath(PCamera, PBounds) - Constructor for class edu.umd.cs.piccolo.util.PPickPath
-
Creates a pick pack originating from the provided camera and with the given screen pick bounds.
- print() - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
Prints the node into the given Graphics context using the specified format.
- printAll(Graphics) - Method in class edu.umd.cs.piccolo.PCanvas
-
Prints the entire scene regardless of what the viewable area is.
- printResultsFrameRate - Static variable in class edu.umd.cs.piccolo.util.PDebug
-
How often in frames result info should be printed to the console.
- processActivities(long) - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Process all scheduled activities for the given time.
- processEvent(PInputEvent, int) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Dispatches a generic event to a more specific method.
- processEvent(PInputEvent, int) - Method in interface edu.umd.cs.piccolo.event.PInputEventListener
-
Called whenever an event is emitted.
- processEvent(PInputEvent, int) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PInputManager
-
Flags the given event as needing to be processed.
- processingInputs - Variable in class edu.umd.cs.piccolo.PRoot
-
Whether this not is currently processing inputs.
- processInput() - Method in class edu.umd.cs.piccolo.PInputManager
-
Causes the system to process any pending Input Events.
- processInput() - Method in interface edu.umd.cs.piccolo.PRoot.InputSource
-
Causes the system to process any pending Input Events.
- processInputs() - Method in class edu.umd.cs.piccolo.PRoot
-
This is the heartbeat of the Piccolo2D framework.
- processInputsScheduled - Variable in class edu.umd.cs.piccolo.PRoot
-
Whether this node needs to have its inputs processed.
- processRepaint() - Static method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo
-
PRoot serves as the top node in Piccolo2D's runtime structure.
- PRoot() - Constructor for class edu.umd.cs.piccolo.PRoot
-
Construct a new PRoot().
- PRoot.InputSource - Interface in edu.umd.cs.piccolo
-
This interfaces is for advanced use only.
- PROPERTY_BOUNDS - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's bounds (see
getBounds,getBoundsReference). - PROPERTY_CAMERAS - Static variable in class edu.umd.cs.piccolo.PLayer
-
The property name that identifies a change in the set of this layer's cameras (see
getCamera,getCameraCount,getCamerasReference). - PROPERTY_CHILDREN - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change in the set of this node's direct children (see
getChildrenReference,getChildrenIterator). - PROPERTY_CHILDREN_PICKABLE - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's children pickable status (see
getChildrenPickable). - PROPERTY_CLIENT_PROPERTIES - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change in this node's client propertie (see
getClientProperty). - PROPERTY_CODE_BOUNDS - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change of this node's bounds (see
getBounds,getBoundsReference). - PROPERTY_CODE_CAMERAS - Static variable in class edu.umd.cs.piccolo.PLayer
-
The property code that identifies a change in the set of this layer's cameras (see
getCamera,getCameraCount,getCamerasReference). - PROPERTY_CODE_CHILDREN - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change in the set of this node's direct children (see
getChildrenReference,getChildrenIterator). - PROPERTY_CODE_CHILDREN_PICKABLE - Static variable in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
The property code that identifies a change in this node's client propertie (see
getClientProperty). - PROPERTY_CODE_FONT - Static variable in class edu.umd.cs.piccolo.nodes.PHtmlView
-
The property code that identifies a change of this node's font (see
getFont). - PROPERTY_CODE_FONT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
The property code that identifies a change of this node's font (see
getFont). - PROPERTY_CODE_FULL_BOUNDS - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change of this node's full bounds (see
getFullBounds,getFullBoundsReference). - PROPERTY_CODE_IMAGE - Static variable in class edu.umd.cs.piccolo.nodes.PImage
-
The property code that identifies a change of this node's image (see
getImage). - PROPERTY_CODE_INPUT_SOURCES - Static variable in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PRoot
-
The property code that identifies a change in this node's interacting state.
- PROPERTY_CODE_LAYERS - Static variable in class edu.umd.cs.piccolo.PCamera
-
The property code that identifies a change in the set of this camera's layers (see
getLayer,getLayerCount,getLayersReference). - PROPERTY_CODE_PAINT - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change of this node's paint (see
getPaint). - PROPERTY_CODE_PARENT - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change of this node's parent (see
getParent). - PROPERTY_CODE_PATH - Static variable in class edu.umd.cs.piccolo.nodes.PPath
-
The property code that identifies a change of this node's path (see
getPathReference). - PROPERTY_CODE_PICKABLE - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change of this node's pickable status (see
getPickable). - PROPERTY_CODE_STROKE - Static variable in class edu.umd.cs.piccolo.nodes.PPath
-
The property code that identifies a change of this node's stroke (see
getStroke). - PROPERTY_CODE_STROKE_PAINT - Static variable in class edu.umd.cs.piccolo.nodes.PPath
-
The property code that identifies a change of this node's stroke paint (see
getStrokePaint). - PROPERTY_CODE_TEXT - Static variable in class edu.umd.cs.piccolo.nodes.PHtmlView
-
The property code that identifies a change of this node's HTML text (see
getText). - PROPERTY_CODE_TEXT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
The property code that identifies a change of this node's text (see
getText). - PROPERTY_CODE_TEXT_COLOR - Static variable in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.nodes.PText
-
The property code that identifies a change of this node's text paint (see
getTextPaint). - PROPERTY_CODE_TRANSFORM - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change of this node's transform (see
getTransform,getTransformReference). - PROPERTY_CODE_TRANSPARENCY - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change of this node's transparency (see
getTransparency). - PROPERTY_CODE_VIEW_TRANSFORM - Static variable in class edu.umd.cs.piccolo.PCamera
-
The property code that identifies a change in this camera's view transform (see
getViewTransform,getViewTransformReference). - PROPERTY_CODE_VISIBLE - Static variable in class edu.umd.cs.piccolo.PNode
-
The property code that identifies a change of this node's visibility (see
getVisible). - PROPERTY_FONT - Static variable in class edu.umd.cs.piccolo.nodes.PHtmlView
-
The property name that identifies a change of this node's font (see
getFont). - PROPERTY_FONT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
The property name that identifies a change of this node's font (see
getFont). - PROPERTY_FULL_BOUNDS - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's full bounds (see
getFullBounds,getFullBoundsReference). - PROPERTY_IMAGE - Static variable in class edu.umd.cs.piccolo.nodes.PImage
-
The property name that identifies a change of this node's image (see
getImage). - PROPERTY_INPUT_SOURCES - Static variable in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCanvas
-
The property name that identifies a change in the interacting state.
- PROPERTY_INTERACTING_CHANGED - Static variable in class edu.umd.cs.piccolo.PRoot
-
The property name that identifies a change in this node's interacting state.
- PROPERTY_LAYERS - Static variable in class edu.umd.cs.piccolo.PCamera
-
The property name that identifies a change in the set of this camera's layers (see
getLayer,getLayerCount,getLayersReference). - PROPERTY_PAINT - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's paint (see
getPaint). - PROPERTY_PARENT - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's parent (see
getParent). - PROPERTY_PATH - Static variable in class edu.umd.cs.piccolo.nodes.PPath
-
The property name that identifies a change of this node's path (see
getPathReference). - PROPERTY_PICKABLE - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's pickable status (see
getPickable). - PROPERTY_STROKE - Static variable in class edu.umd.cs.piccolo.nodes.PPath
-
The property name that identifies a change of this node's stroke (see
getStroke). - PROPERTY_STROKE_PAINT - Static variable in class edu.umd.cs.piccolo.nodes.PPath
-
The property name that identifies a change of this node's stroke paint (see
getStrokePaint). - PROPERTY_TEXT - Static variable in class edu.umd.cs.piccolo.nodes.PHtmlView
-
The property name that identifies a change of this node's HTML text (see
getText). - PROPERTY_TEXT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
The property name that identifies a change of this node's text (see
getText). - PROPERTY_TEXT_COLOR - Static variable in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.nodes.PText
-
The property name that identifies a change of this node's text paint (see
getTextPaint). - PROPERTY_TRANSFORM - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's transform (see
getTransform,getTransformReference). - PROPERTY_TRANSPARENCY - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's transparency (see
getTransparency). - PROPERTY_VIEW_TRANSFORM - Static variable in class edu.umd.cs.piccolo.PCamera
-
The property name that identifies a change in this camera's view transform (see
getViewTransform,getViewTransformReference). - PROPERTY_VISIBLE - Static variable in class edu.umd.cs.piccolo.PNode
-
The property name that identifies a change of this node's visibility (see
getVisible). - PStack - Class in edu.umd.cs.piccolo.util
-
PStack this class should be removed when a non thread safe stack is added to the java class libraries.
- PStack() - Constructor for class edu.umd.cs.piccolo.util.PStack
-
Creates an empty stack.
- PText - Class in edu.umd.cs.piccolo.nodes
-
PText is a multi-line text node.
- PText() - Constructor for class edu.umd.cs.piccolo.nodes.PText
-
Create a new text node with no text (
""). - PText(String) - Constructor for class edu.umd.cs.piccolo.nodes.PText
-
Create a new text node with the specified text.
- PTransformActivity - Class in edu.umd.cs.piccolo.activities
-
PTransformActivity interpolates between two transforms setting its target's transform as it goes.
- PTransformActivity(long, long, int, int, PTransformActivity.Target, AffineTransform) - Constructor for class edu.umd.cs.piccolo.activities.PTransformActivity
-
Create a new PTransformActivity.
- PTransformActivity(long, long, PTransformActivity.Target) - Constructor for class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.activities.PTransformActivity
-
Constructs a activity that will change the target's transform in the destination transform.
- PTransformActivity.Target - Interface in edu.umd.cs.piccolo.activities
-
Target Objects that want to get transformed by the transform activity must implement this interface.
- push(Object) - Method in class edu.umd.cs.piccolo.util.PStack
-
Pushes the provided object onto the top of the stack.
- pushCamera(PCamera) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Pushes the camera onto the camera stack.
- pushClip(Shape) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Pushes the given clip to the pain context.
- pushCursor(Cursor) - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Changes the cursor to the one provided and stores it on the cursor stack for later retrieval.
- pushCursor(Cursor) - Method in class edu.umd.cs.piccolo.PCanvas
-
Set the canvas cursor, and remember the previous cursor on the cursor stack.
- pushCursor(Cursor) - Method in interface edu.umd.cs.piccolo.PComponent
-
Pushes the given cursor onto the cursor stack and sets the current cursor to the one provided.
- pushCursor(Cursor) - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Pushes the given cursor onto the cursor stack and sets the current cursor to the one provided.
- pushNode(PNode) - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Pushes the provided node to the top of the pick path.
- pushTransform(PAffineTransform) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Pushed the provided transform onto the transform stack if it is not null.
- pushTransform(PAffineTransform) - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Adds the transform to the pick path's transform.
- pushTransparency(float) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Pushes the provided transparency onto the transparency stack if necessary.
- PUtil - Class in edu.umd.cs.piccolo.util
-
PUtil util methods for the Piccolo framework.
- PUtil() - Constructor for class edu.umd.cs.piccolo.util.PUtil
- PZoomEventHandler - Class in edu.umd.cs.piccolo.event
-
ZoomEventhandler provides event handlers for basic zooming of the canvas view with the right (third) button.
- PZoomEventHandler() - Constructor for class edu.umd.cs.piccolo.event.PZoomEventHandler
-
Creates a new zoom handler.
Q
- quadTo(float, float, float, float) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Adds a curved segment, defined by two new points, to the path by drawing a Quadratic curve that intersects both the current coordinates and the coordinates (x2, y2), using the specified point (x1, y1) as a quadratic parametric control point.
R
- readPath(ObjectInputStream) - Static method in class edu.umd.cs.piccolo.util.PUtil
-
Reads a path from the provided inputStream in accordance with the serialization policy defined in writePath.
- readStroke(ObjectInputStream) - Static method in class edu.umd.cs.piccolo.util.PUtil
-
Reconstitutes a stroke from the provided Object Input Stream.
- recomputeLayout() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Compute the bounds of the text wrapped by this node.
- recordUnconditionallyWritten(Object) - Method in class edu.umd.cs.piccolo.util.PObjectOutputStream
-
Performs a scan of objects that can be serialized once.
- rejectAllClickCounts() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Flags all mouse click events as disallowed, regardless of button configuration.
- rejectAllEventTypes() - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Configures filter so that no events will ever get accepted.
- removeActivity(PActivity) - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Removes the given activity from the scheduled activities.
- removeAllActivities() - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Removes all activities from the list of scheduled activities.
- removeAllChildren() - Method in class edu.umd.cs.piccolo.PNode
-
Remove all the children from this node.
- removeCamera(int) - Method in class edu.umd.cs.piccolo.PLayer
-
Remove the camera at the given index from this layer's camera list.
- removeCamera(PCamera) - Method in class edu.umd.cs.piccolo.PLayer
-
Remove the camera from this layer's camera list.
- removeChild(int) - Method in class edu.umd.cs.piccolo.PNode
-
Remove the child at the specified position of this group node's children.
- removeChild(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Remove the given child from this node's children list.
- removeChildren(Collection) - Method in class edu.umd.cs.piccolo.PNode
-
Remove all the children in the given collection from this node's list of children.
- removeFromParent() - Method in class edu.umd.cs.piccolo.PNode
-
Delete this node by removing it from its parent's list of children.
- removeInputEventListener(PInputEventListener) - Method in class edu.umd.cs.piccolo.PCanvas
-
Remove an input listener to the camera associated with this canvas.
- removeInputEventListener(PInputEventListener) - Method in class edu.umd.cs.piccolo.PNode
-
Removes the specified input event listener so that it no longer receives input events from this node.
- removeInputSource(PRoot.InputSource) - Method in class edu.umd.cs.piccolo.PRoot
-
Advanced.
- removeInputSources() - Method in class edu.umd.cs.piccolo.PCanvas
-
This method removes mouse and key listeners on the canvas that forward those events to piccolo.
- removeLayer(int) - Method in class edu.umd.cs.piccolo.PCamera
-
Removes the element at the specified position from the list of layers viewed by this camera.
- removeLayer(PLayer) - Method in class edu.umd.cs.piccolo.PCamera
-
Removes the first occurrence of the specified layer from the list of layers viewed by this camera, if it is present.
- removePropertyChangeListener(PropertyChangeListener) - Method in class edu.umd.cs.piccolo.PNode
-
Remove a PropertyChangeListener from the listener list.
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class edu.umd.cs.piccolo.PNode
-
Remove a PropertyChangeListener for a specific property.
- render(Graphics2D) - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Render this offscreen canvas to the specified graphics.
- RENDER_QUALITY_HIGH_FRC - Static variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Font context to use while in high quality rendering.
- RENDER_QUALITY_LOW_FRC - Static variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Font context to use while in low quality rendering.
- renderQuality - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
The current render quality that all rendering should be done in.
- repaint() - Method in class edu.umd.cs.piccolo.PNode
-
Mark the area on the screen represented by this nodes full bounds as needing a repaint.
- repaint(PBounds) - Method in class edu.umd.cs.piccolo.PCanvas
-
Called to notify PComponent that given bounds need repainting.
- repaint(PBounds) - Method in interface edu.umd.cs.piccolo.PComponent
-
Called to notify PComponent that given bounds need repainting.
- repaint(PBounds) - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Called to notify PComponent that given bounds need repainting.
- repaintFrom(PBounds, PNode) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PLayer
-
Override repaints and forward them to the cameras that are viewing this layer.
- repaintFrom(PBounds, PNode) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCamera
-
Repaint from one of the camera's layers.
- repaintFromLayer(PBounds, PNode) - Method in class edu.umd.cs.piccolo.PCamera
-
Deprecated.by
PCamera.repaintFromLayer(PBounds, PLayer). Will be removed in version 2.0. - reparent(PNode) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
Swaps this node out of the scene graph tree, and replaces it with the specified replacement node.
- reset() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Empties the path.
- reset() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Flags this bounds as empty.
- reset() - Method in class edu.umd.cs.piccolo.util.PObjectOutputStream
-
Resets the ObjectOutputStream clearing any memory about objects already being written while it's at it.
- reset() - Method in class edu.umd.cs.piccolo.util.PPickPath
-
Resets the PickPath to its initial state.
- resetBounds() - Method in class edu.umd.cs.piccolo.PNode
-
Set the empty bit of this bounds to true.
- resetFPSTiming() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Reset the variables used to track FPS.
- resetToZero() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Resets the bounds to (0,0,0,0) and flags it as empty.
- rotate(double) - Method in class edu.umd.cs.piccolo.PNode
-
Rotates this node by theta (in radians) about the 0,0 point.
- rotateAboutPoint(double, double, double) - Method in class edu.umd.cs.piccolo.PNode
-
Rotates this node by theta (in radians) about the given point.
- rotateAboutPoint(double, Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Rotates this node by theta (in radians) about the given point.
- rotateInPlace(double) - Method in class edu.umd.cs.piccolo.PNode
-
Rotates this node by theta (in radians), and then translates the node so that the x, y position of its fullBounds stays constant.
S
- scale(double) - Method in class edu.umd.cs.piccolo.PNode
-
Scale this nodes transform by the given amount.
- scaleAboutPoint(double, double, double) - Method in class edu.umd.cs.piccolo.PNode
-
Scale this nodes transform by the given amount about the specified point.
- scaleAboutPoint(double, double, double) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Scales the transform about the given point by the given scale.
- scaleAboutPoint(double, Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Scale this nodes transform by the given amount about the specified point.
- scaleView(double) - Method in class edu.umd.cs.piccolo.PCamera
-
Scale the view transform applied to the list of layers viewed by this camera by
scaleabout the point[0, 0]. - scaleViewAboutPoint(double, double, double) - Method in class edu.umd.cs.piccolo.PCamera
-
Scale the view transform applied to the list of layers viewed by this camera by
scaleabout the specified point[x, y]. - SCENE_GRAPH_DELEGATE - Static variable in class edu.umd.cs.piccolo.PNode
-
The single scene graph delegate that receives low level node events.
- scheduleProcessInputs() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Checks that process inputs is being doing from the Swing Dispatch Thread.
- scheduleProcessInputsIfNeeded() - Method in class edu.umd.cs.piccolo.PRoot
-
Schedule process inputs if needed.
- sendInputEventToInputManager(InputEvent, int) - Method in class edu.umd.cs.piccolo.PCanvas
-
Sends the given input event with the given type to the current InputManager.
- setAcceptClickCount(short) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets the number of clicks that an incoming event must have to be accepted.
- setAcceptsAlreadyHandledEvents(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether already handled events should be accepted.
- setAcceptsFocusEvents(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts focus events.
- setAcceptsKeyPressed(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts key pressed events.
- setAcceptsKeyReleased(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts key released events.
- setAcceptsKeyTyped(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts key typed events.
- setAcceptsMouseClicked(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts mouse clicked events.
- setAcceptsMouseDragged(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts mouse dragged events.
- setAcceptsMouseEntered(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts mouse entered events.
- setAcceptsMouseExited(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts mouse exited events.
- setAcceptsMouseMoved(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts mouse moved events.
- setAcceptsMousePressed(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts mouse pressed events.
- setAcceptsMouseReleased(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts mouse released events.
- setAcceptsMouseWheelRotated(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether this filter accepts mouse wheel rotation events.
- setActivityScheduler(PActivityScheduler) - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Informs the activity of the scheduler that will be responsible for scheduling it.
- setAndMask(int) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets and mask used to filter events.
- setAnimatingRenderQuality(int) - Method in class edu.umd.cs.piccolo.PCanvas
-
Set the render quality that should be used when rendering this canvas when it is animating.
- setAutopan(boolean) - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Determines if auto-panning will occur or not.
- setBounds(double, double, double, double) - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Set the bounds of this node to the given position and size.
- setBounds(double, double, double, double) - Method in class edu.umd.cs.piccolo.PNode
-
Set the bounds of this node to the given position and size.
- setBounds(int, int, int, int) - Method in class edu.umd.cs.piccolo.PCanvas
-
Updates the bounds of the component and updates the camera accordingly.
- setBounds(Rectangle2D) - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Set the bounds of this node to the given value.
- setBounds(Rectangle2D) - Method in class edu.umd.cs.piccolo.PNode
-
Set the bounds of this node to the given value.
- setBoundsChanged(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Set the bounds chnaged flag.
- setCamera(PCamera) - Method in class edu.umd.cs.piccolo.PCanvas
-
Set the camera associated with this canvas.
- setCamera(PCamera) - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Set the camera for this offscreen canvas to
camera. - setChildBoundsInvalid(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Set the flag indicating that one of this node's descendants has invalid bounds.
- setChildBoundsInvalid(boolean) - Method in class edu.umd.cs.piccolo.PRoot
-
Set the flag indicating that one of this node's descendants has invalid bounds.
- setChildBoundsVolatile(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Set if this node has a child with volatile bounds.
- setChildPaintInvalid(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Mark this node as having a child with invalid paint.
- setChildPaintInvalid(boolean) - Method in class edu.umd.cs.piccolo.PRoot
-
Mark this node as having a child with invalid paint.
- setChildrenPickable(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Set the children pickable flag.
- setColor(Color) - Method in interface edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCamera
-
Set the component for this camera to
component. - setConstrainHeightToTextHeight(boolean) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set to
trueif this text node should constrain its height to the height of its text. - setConstrainWidthToTextWidth(boolean) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set to
trueif this text node should constrain its width to the width of its text. - setDefaultRenderQuality(int) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.activities.PActivity
-
Set the delegate for this activity.
- setDestinationColor(Color) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.event.PDragEventHandler
-
Set's the node that is currently being dragged.
- setDuration(long) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCanvas
-
Override setEnabled to install/remove canvas input sources as needed.
- setEventFilter(PInputEventFilter) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Changes this event handler's filter to the one provided.
- setFirstLoop(boolean) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Set if the activity is executing its first loop.
- setFont(Font) - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Set the font for this HTML text node to
font. - setFont(Font) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set the font for this text node to
font. - setFullBoundsInvalid(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Set the full bounds invalid flag.
- setFullBoundsInvalid(boolean) - Method in class edu.umd.cs.piccolo.PRoot
-
Set the full bounds invalid flag.
- setGlobalRotation(double) - Method in class edu.umd.cs.piccolo.PNode
-
Set the global rotation (in radians) of this node.
- setGlobalScale(double) - Method in class edu.umd.cs.piccolo.PNode
-
Set the global scale of this node.
- setGlobalTranslation(Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Set the global translation of this node.
- setGreekThreshold(double) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set the greek threshold in screen font size to
greekThreshold. - setHandled(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Set that this event has been handled by an event handler.
- setHeight(double) - Method in class edu.umd.cs.piccolo.PNode
-
Set's this node's bounds height, leaving x, y, and width unchanged.
- setHorizontalAlignment(float) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set the horizontal alignment for this text node to
horizontalAlignment. - setImage(Image) - Method in class edu.umd.cs.piccolo.nodes.PImage
-
Set the image that is wrapped by this PImage node.
- setImage(String) - Method in class edu.umd.cs.piccolo.nodes.PImage
-
Set the image that is wrapped by this PImage node.
- setInteracting(boolean) - Method in class edu.umd.cs.piccolo.PCanvas
-
Set if this canvas is interacting.
- setInteracting(boolean) - Method in interface edu.umd.cs.piccolo.PComponent
-
Sets whether the component is currently being interacted with.
- setInteracting(boolean) - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Sets whether the component is currently being interacted with.
- setInteracting(boolean) - Method in class edu.umd.cs.piccolo.PRoot
-
Set if this root is interacting.
- setInteractingRenderQuality(int) - Method in class edu.umd.cs.piccolo.PCanvas
-
Set the render quality that should be used when rendering this canvas when it is interacting.
- setIsDragging(boolean) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Used to inform this handler that it is in the process of handling a drag.
- setJustification(float) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Deprecated.
- setKeyboardFocus(PInputEventListener) - Method in class edu.umd.cs.piccolo.PInputManager
-
Set the node that should receive key events.
- setLoopCount(int) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Set the number of times the activity should automatically reschedule itself after it has finished.
- setMarksAcceptedEventsAsHandled(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets whether events will be marked as dirty once accepted.
- setMaxAutopanSpeed(double) - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Set the maxAutoPan speed in pixels per second.
- setMaxScale(double) - Method in class edu.umd.cs.piccolo.event.PZoomEventHandler
-
Sets the maximum view magnification factor that this event handler is bound by.
- setMinAutopanSpeed(double) - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Set the minAutoPan speed in pixels per second.
- setMinDragStartDistance(double) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.event.PZoomEventHandler
-
Sets the minimum view magnification factor that this event handler is bound by.
- setMode(int) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Set the direction in which interpolation is going to occur.
- setMouseFocus(PPickPath) - Method in class edu.umd.cs.piccolo.PInputManager
-
Sets the current Pick Path under the mouse focus.
- setMouseOver(PPickPath) - Method in class edu.umd.cs.piccolo.PInputManager
-
Records the path which is directly below the mouse.
- setMoveToFrontOnPress(boolean) - Method in class edu.umd.cs.piccolo.event.PDragEventHandler
-
Informs this drag event handler whether it should move nodes to the front when they are dragged.
- setName(String) - Method in class edu.umd.cs.piccolo.PNode
-
Sets the name of this null, may be null.
- setNotMask(int) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets not mask used to filter events.
- setOccluded(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Flags this node as occluded.
- setOffset(double, double) - Method in class edu.umd.cs.piccolo.PNode
-
Set the offset that is being applied to this node by its transform.
- setOffset(double, double) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Applies modifies the transform so that it translates by the given offset.
- setOffset(Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Set the offset that is being applied to this node by its transform.
- setOrigin(double, double) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Changes the origin of these bounds.
- setOrMask(int) - Method in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Sets or mask used to filter events.
- setPaint(Paint) - Method in class edu.umd.cs.piccolo.PNode
-
Set the paint used to paint this node, which may be null.
- setPaintInvalid(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Mark this node as having invalid paint.
- setPaintInvalid(boolean) - Method in class edu.umd.cs.piccolo.PRoot
-
Mark this node as having invalid paint.
- setPanEventHandler(PPanEventHandler) - Method in class edu.umd.cs.piccolo.PCanvas
-
Set the pan event handler associated with this canvas.
- setParent(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Set the parent of this node.
- setPath(PPickPath) - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Sets the PIckPath associated with this mouse event.
- setPathTo(Shape) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Replaces this PPath's path with the one provided.
- setPathToEllipse(float, float, float, float) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Resets the path to an ellipse positioned at the coordinate provided with the dimensions provided.
- setPathToPolyline(float[], float[]) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Sets the path to a sequence of segments described by the point components provided.
- setPathToPolyline(Point2D[]) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Sets the path to a sequence of segments described by the points.
- setPathToRectangle(float, float, float, float) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Resets the path to a rectangle with the dimensions and position provided.
- setPickable(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Set the pickable flag for this node.
- setPropertyChangeParentMask(int) - Method in class edu.umd.cs.piccolo.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.
- setRect(double, double, double, double) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Sets the shape of the bounds to the position and dimension provided.
- setRect(PBounds) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Sets the bounds to the same shape as the bounds provided.
- setRect(Rectangle2D) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Sets the bounds to the same shape as the rectangle.
- setRelativeTargetValue(float) - Method in class edu.umd.cs.piccolo.activities.PColorActivity
-
Interpolates the target node's color by mixing the source color and the destination color.
- setRelativeTargetValue(float) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.activities.PTransformActivity
-
Set's the target value to be the interpolation between the source and destination transforms.
- setRelativeTargetValueAdjustingForMode(float) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Assigns relative target value taking the mode into account.
- setRenderQuality(int) - Method in class edu.umd.cs.piccolo.POffscreenCanvas
-
Set the render quality hint for this offscreen canvas to
renderQuality. - setRenderQuality(int) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Set the rendering hints for this paint context.
- setRotation(double) - Method in class edu.umd.cs.piccolo.PNode
-
Sets the rotation of this nodes transform in radians.
- setRotation(double) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Set rotation in radians.
- setScale(double) - Method in class edu.umd.cs.piccolo.PNode
-
Set the scale of this node's transform.
- setScale(double) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Sets the scale about to the origin of this transform to the scale provided.
- setSize(double, double) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Changes the size of the bounds, but retains the origin.
- setSize(double, double) - Method in class edu.umd.cs.piccolo.util.PDimension
-
Resizes the dimension to have the dimensions provided.
- setSlowInSlowOut(boolean) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Sets whether this interpolation accelerates and then decelerates as it interpolates.
- setStartTime(long) - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Set the time that this activity should start running in PRoot global time.
- setStepRate(long) - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Set the amount of time that this activity should delay between steps.
- setStroke(Stroke) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Sets the stroke to use when drawing the path.
- setStrokePaint(Paint) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Sets the stroke paint of the path.
- setText(String) - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Set the HTML text for this HTML text node to
text. - setText(String) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set the text for this node to
text. - setTextColor(Color) - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Set the text color for this HTML text node to
textColor. - setTextPaint(Paint) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set the paint used to paint this node's text to
textPaint. - setTransform(AffineTransform) - Method in interface edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PNode
-
Set the transform applied to this node.
- setTransparency(float) - Method in class edu.umd.cs.piccolo.PNode
-
Set the transparency used to paint this node.
- setViewBounds(Rectangle2D) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCamera
-
Set the view constraint to apply to the view to
viewConstraint. - setViewOffset(double, double) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.PCamera
-
Set the view transform applied to the list of layers viewed by this camera to
viewTransform. - setVisible(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Set the visibility of this node and its descendants.
- setWidth(double) - Method in class edu.umd.cs.piccolo.PNode
-
Set's this node's bounds width, leaving x, y, and height unchanged.
- setX(double) - Method in class edu.umd.cs.piccolo.PNode
-
Set's this node's bounds left position, leaving y, width, and height unchanged.
- setY(double) - Method in class edu.umd.cs.piccolo.PNode
-
Set's this node's bounds top position, leaving x, width, and height unchanged.
- setZoomEventHandler(PZoomEventHandler) - Method in class edu.umd.cs.piccolo.PCanvas
-
Set the zoom event handler associated with this canvas.
- shouldStartDragInteraction(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragEventHandler
-
Returns whether the given event should be start a drag interaction.
- shouldStartDragInteraction(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Returns true if the provided event represents a valid start for a drag sequence.
- signalBoundsChanged() - Method in class edu.umd.cs.piccolo.PNode
-
This method should be called when the bounds of this node are changed.
- SOURCE_TO_DESTINATION - Static variable in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Specifies that interpolation will be from the source value to the destination value.
- SOURCE_TO_DESTINATION_TO_SOURCE - Static variable in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Specifies that interpolation proceed from the source to the destination then back to the source.
- startActivityTimer() - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Starts the current activity timer.
- startAfter(PActivity) - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Schedules this activity to start after the first activity has finished.
- startDrag(PInputEvent) - Method in class edu.umd.cs.piccolo.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 setMoveToFrontOnDrag.
- startDrag(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Subclasses should override this method to get notified of the start of a new drag sequence.
- startDragActivity(PInputEvent) - Method in class edu.umd.cs.piccolo.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 edu.umd.cs.piccolo.util.PDebug
-
Records that processing of input has started.
- startProcessingOutput() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Records that processing of ouptut has begun.
- startResizeBounds() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Stores the original size of the path before resizing started.
- startResizeBounds() - Method in class edu.umd.cs.piccolo.PNode
-
Notify this node that you will begin to repeatedly call
setBounds. - stopActivityTimer() - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Stops the current activity timer.
- stopDragActivity(PInputEvent) - Method in class edu.umd.cs.piccolo.event.PDragSequenceEventHandler
-
Stops the activity responsible for updating the scene.
T
- terminate() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Stop this activity immediately, and remove it from the activity scheduler.
- terminate() - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Stop this activity immediately, and remove it from the activity scheduler.
- terminate(int) - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Stop this activity immediately, and remove it from the activity scheduler.
- TERMINATE_AND_FINISH - Static variable in class edu.umd.cs.piccolo.activities.PActivity
-
Parameter for terminate that signifies that activity should bail out immediately, but flag activity as finished.
- TERMINATE_AND_FINISH_IF_STEPPING - Static variable in class edu.umd.cs.piccolo.activities.PActivity
-
Parameter for terminate that signifies that activity should bail out immediately, if currently active.
- TERMINATE_WITHOUT_FINISHING - Static variable in class edu.umd.cs.piccolo.activities.PActivity
-
Parameter for terminate that signifies that activity should bail out immediately without flagging activity as finished.
- toBufferedImage(Image, boolean) - Static method in class edu.umd.cs.piccolo.nodes.PImage
-
Converts the provided image into a BufferedImage.
- toByteArray(Object) - Static method in class edu.umd.cs.piccolo.util.PObjectOutputStream
-
Transform the given object into an array of bytes.
- toImage() - Method in class edu.umd.cs.piccolo.PNode
-
Return a new Image representing this node and all of its children.
- toImage(int, int, Paint) - Method in class edu.umd.cs.piccolo.PNode
-
Return a new Image of the requested size representing this node and all of its children.
- toImage(BufferedImage, Paint) - Method in class edu.umd.cs.piccolo.PNode
-
Paint a representation of this node into the specified buffered image.
- toImage(BufferedImage, Paint, int) - Method in class edu.umd.cs.piccolo.PNode
-
Paint a representation of this node into the specified buffered image.
- toString() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns a string representation of this object for debugging purposes.
- toString() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns a string representation of this PBounds for debugging purposes.
- toString() - Method in class edu.umd.cs.piccolo.util.PDimension
-
Returns a string representation of this dimension object.
- transform(Dimension2D, Dimension2D) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Applies the transform to the provided dimension.
- transform(Rectangle2D, Rectangle2D) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Applies this transform to the source rectangle and stores the result in rectDst.
- transformBy(AffineTransform) - Method in class edu.umd.cs.piccolo.PNode
-
Transform this nodes transform by the given transform.
- transformStack - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Stack of transforms being applied to the drawing context.
- translate(double, double) - Method in class edu.umd.cs.piccolo.PNode
-
Translate this node's transform by the given amount, using the standard affine transform translate method.
- translateView(double, double) - Method in class edu.umd.cs.piccolo.PCamera
-
Translate the view transform applied to the list of layers viewed by this camera by
[dx, dy].
U
- updateBoundsFromPath() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Recomputes the bounds taking stroke into account.
V
- validateFullBounds() - Method in class edu.umd.cs.piccolo.PNode
-
This method is called to validate the bounds of this node and all of its descendants.
- validateFullPaint() - Method in class edu.umd.cs.piccolo.PNode
-
Repaint this node and any of its descendants if they have invalid paint.
- validatePanningSpeed(double) - Method in class edu.umd.cs.piccolo.event.PPanEventHandler
-
Clips the panning speed to the minimum and maximum auto-pan speeds assigned.
- VIEW_CONSTRAINT_ALL - Static variable in class edu.umd.cs.piccolo.PCamera
-
Enforces that the view be able to see all nodes in the scene.
- VIEW_CONSTRAINT_CENTER - Static variable in class edu.umd.cs.piccolo.PCamera
-
Constrains the the view to be centered on the scene's full bounds.
- VIEW_CONSTRAINT_NONE - Static variable in class edu.umd.cs.piccolo.PCamera
-
Denotes that the view has no constraints.
- viewToLocal(Dimension2D) - Method in class edu.umd.cs.piccolo.PCamera
-
Convert the dimension from the camera's view coordinate system to the camera's local coordinate system.
- viewToLocal(Point2D) - Method in class edu.umd.cs.piccolo.PCamera
-
Convert the point from the camera's view coordinate system to the camera's local coordinate system.
- viewToLocal(Rectangle2D) - Method in class edu.umd.cs.piccolo.PCamera
-
Convert the rectangle from the camera's view coordinate system to the camera's local coordinate system.
W
- waitForActivities() - Method in class edu.umd.cs.piccolo.PRoot
-
Wait for all scheduled activities to finish before returning from this method.
- width - Variable in class edu.umd.cs.piccolo.util.PDimension
-
The width of the dimension.
- writeConditionalObject(Object) - Method in class edu.umd.cs.piccolo.util.PObjectOutputStream
-
Writes the given object, but only if it was not in the object tree multiple times.
- writeObjectTree(Object) - Method in class edu.umd.cs.piccolo.util.PObjectOutputStream
-
Writes the provided object to the underlying stream like an ordination ObjectOutputStream except that it does not record duplicates at all.
- writePath(GeneralPath, ObjectOutputStream) - Static method in class edu.umd.cs.piccolo.util.PUtil
-
Serializes the given path to the provided Object Output Stream.
- writeStroke(Stroke, ObjectOutputStream) - Static method in class edu.umd.cs.piccolo.util.PUtil
-
Serializes the given stroke object to the object output stream provided.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form