- accept(PNode) - Method in interface edu.umd.cs.piccolo.util.PNodeFilter
-
Return true if the filter should accept the given node.
- accept(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler.BoundsFilter
-
Returns true if the node is an acceptable selection.
- 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.
- acceptChildrenOf(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler.BoundsFilter
-
Returns whether this filter should accept all children of a node.
- 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.
- actionPerformed(ActionEvent) - Method in class edu.umd.cs.piccolox.swing.PScrollPane.PNullAction
-
Does nothing.
- actionPerformed(ActionEvent) - Method in class edu.umd.cs.piccolox.swing.PScrollPane.PScrollAction
-
Performs the scroll action if the action was performed on visible
scrollbars and if the viewport is valid.
- actionPerformed(ActionEvent) - Method in class edu.umd.cs.piccolox.swing.PScrollPane.PScrollEndAction
-
Scrolls to the end of the viewport if there are visible scrollbars.
- 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.
- ActivityExample - Class in edu.umd.cs.piccolo.examples
-
This example shows how create and schedule activities.
- ActivityExample() - Constructor for class edu.umd.cs.piccolo.examples.ActivityExample
-
- ActivityExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.ActivityExample
-
- 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(PActivity) - Method in interface edu.umd.cs.piccolo.activities.PActivity.PActivityDelegate
-
Gets called when the activity finishes.
- activityFinished() - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Called whenever the activity finishes.
- ActivityMemoryLeakBugExample - Class in edu.umd.cs.piccolo.examples
-
Example that demonstrates the memory leak in Issue 185.
- ActivityMemoryLeakBugExample() - Constructor for class edu.umd.cs.piccolo.examples.ActivityMemoryLeakBugExample
-
- activityStarted() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
This method is called right before an activity is scheduled to start
running.
- activityStarted(PActivity) - Method in interface edu.umd.cs.piccolo.activities.PActivity.PActivityDelegate
-
Gets called when the activity starts.
- 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.
- 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(Rectangle2D) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Grows bounds to contain the rectangle if needed.
- add(PBounds) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Changes this bounds to contain the provided bounds.
- addActivity(PActivity) - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Adds the given activity to the scheduler if not already found.
- addActivity(PActivity, boolean) - Method in class edu.umd.cs.piccolo.activities.PActivityScheduler
-
Add this activity to the scheduler.
- 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.
- addAttribute(Object, Object) - Method in class edu.umd.cs.piccolo.PNode
-
Add an arbitrary key/value to this node.
- addBoundsHandlesTo(PNode) - Static method in class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Adds bounds handles to the corners and edges of the provided node.
- addBoundsHandlesTo(PNode) - Static method in class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Adds bounds handles to all corners and edges of the provided node.
- addCamera(PCamera) - Method in class edu.umd.cs.piccolo.PLayer
-
Add a camera to this layer's camera list.
- addCamera(int, PCamera) - Method in class edu.umd.cs.piccolo.PLayer
-
Add a camera to this layer's camera list 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.
- 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(int, PNode, Object, SwingLayoutNode.Anchor) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a child at the specified index.
- addChild(int, PNode) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Add a node to be a new child of this node at the specified index.
- addChild(int, PNode, Object) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a child at the specified index.
- addChild(int, PNode, SwingLayoutNode.Anchor) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a child at the specified index.
- addChild(PNode, Object, SwingLayoutNode.Anchor) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a child to the end of the node list.
- addChild(PNode) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a child to the end of the node list.
- addChild(PNode, Object) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a child to the end of the node list and specifies the given
constraints.
- addChild(PNode, SwingLayoutNode.Anchor) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a child to the end of the node list.
- addChildren(Collection) - Method in class edu.umd.cs.piccolo.PNode
-
Add a collection of nodes to be children of this node.
- addChildren(Collection, Object, SwingLayoutNode.Anchor) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a collection of nodes to the end of the list.
- addChildren(Collection) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Add a collection of nodes to be children of this node.
- addChildren(Collection, Object) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a collection of nodes to the end of the list.
- addChildren(Collection, SwingLayoutNode.Anchor) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Adds a collection of nodes to the end of the list.
- addClientProperty(Object, Object) - Method in class edu.umd.cs.piccolo.PNode
-
Deprecated.
use addAttribute(Object key, Object value)instead.
- addDirtyRegion(JComponent, int, int, int, int) - Method in class edu.umd.cs.piccolox.pswing.PSwingRepaintManager
-
This is the method "repaint" now calls in the Swing components.
- addEscapeFullScreenModeListener() - Method in class edu.umd.cs.piccolox.PFrame
-
This method adds a key listener that will take this PFrame out of full
screen mode when the escape key is pressed.
- addExample(String, PNode) - Method in class edu.umd.cs.piccolo.examples.pswing.PSwingExample3.ExampleList
-
- addExample(String, JComponent) - Method in class edu.umd.cs.piccolo.examples.pswing.PSwingExample3.ExampleList
-
- addHandles() - Method in class edu.umd.cs.piccolo.examples.AngleNodeExample.AngleNode
-
- 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.
- addInputEventListener(PInputEventListener) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Add an input listener to the camera associated with this canvas.
- addInputSource(PRoot.InputSource) - Method in class edu.umd.cs.piccolo.PRoot
-
Advanced.
- addInvalidComponent(JComponent) - Method in class edu.umd.cs.piccolox.pswing.PSwingRepaintManager
-
This is the method "invalidate" calls in the Swing components.
- addLayer(PLayer) - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample.BirdsEyeView
-
Add a layer to list of viewed layers
- 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.
- 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(int, PLayer) - Method in class edu.umd.cs.piccolox.nodes.PLens
-
Adds the layer to the camera.
- addListener(Object, String, String, Object) - Method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Registers the 'listener' to receive notifications with the name
'notificationName' and/or containing 'object'.
- addPoint(int, double, double) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Inserts a point at the provided index.
- addPoint(int, double, double) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Adds a point with the given coordinates at the desired index.
- addPoint(int, double, double) - Method in interface edu.umd.cs.piccolox.util.MutablePoints
-
Inserts a point at the specified position.
- addPoint(int, double, double) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Adds a point to the index provided.
- addPoint(int, Point2D) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Inserts the given point at the given index.
- addPoints(int, Points, int, int) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Adds a subsequence of the points provided at the given position.
- addPoints(int, Points) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Inserts all the provided points at the given position.
- 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.
- addPSwing(PSwing) - Method in class edu.umd.cs.piccolox.pswing.PSwingCanvas
-
- addRenderingHints(Map) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- addSelectableParent(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Flags the node provided as a selectable parent.
- addStickyBoundsHandlesTo(PNode, PCamera) - Static method in class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Adds stick handles (always visible regardless of scale since they are
attached to the camera) to the node provided.
- addStickyBoundsHandlesTo(PNode, PCamera) - Static method in class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Adds sticky bounds handles to all corners and edges of the provided node
and for display on the provided camera.
- addTimer(SWTTimer, long) - Method in class edu.umd.cs.piccolox.swt.SWTTimerQueue
-
Adds the provided timer to the queue of scheduled timers.
- adjustForHSB(boolean, Rectangle, Rectangle, Insets) - Method in class edu.umd.cs.piccolox.swing.PScrollPaneLayout
-
Copied FROM javax.swing.ScrollPaneLayout.adjustForHSB.
- adjustForVSB(boolean, Rectangle, Rectangle, Insets, boolean) - Method in class edu.umd.cs.piccolox.swing.PScrollPaneLayout
-
Copied FROM javax.swing.ScrollPaneLayout.adjustForVSB.
- ALL_MODIFIERS_MASK - Static variable in class edu.umd.cs.piccolo.event.PInputEventFilter
-
Mask representing all possible modifiers.
- AngleNodeExample - Class in edu.umd.cs.piccolo.examples
-
This shows how to create a simple node that has two handles and can be used
for specifying angles.
- AngleNodeExample() - Constructor for class edu.umd.cs.piccolo.examples.AngleNodeExample
-
- AngleNodeExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.AngleNodeExample
-
- AngleNodeExample.AngleNode - Class in edu.umd.cs.piccolo.examples
-
- AngleNodeExample.AngleNode() - Constructor for class edu.umd.cs.piccolo.examples.AngleNodeExample.AngleNode
-
- animateCameraViewTransformTo(PCamera, AffineTransform, int) - Method in class edu.umd.cs.piccolox.event.PNavigationEventHandler
-
Animates the camera's view transform into the provided one over the
duration provided.
- animateStaticViewToCenterBoundsFast(Rectangle2D, boolean, long) - Method in class edu.umd.cs.piccolox.nodes.PCacheCamera
-
Mimics the standard animateViewToCenterBounds but uses a cached image for
performance rather than re-rendering the scene at each step.
- animateStaticViewToTransformFast(AffineTransform, long) - Method in class edu.umd.cs.piccolox.nodes.PCacheCamera
-
This copies the behavior of the standard animateViewToTransform but
clears the cache when it is done.
- 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.
- appendPoints(Points) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Adds the provided points to the end of the points.
- applyFont(Graphics2D) - Method in class edu.umd.cs.piccolox.nodes.PStyledText.SegmentInfo
-
Applies this particular SegmentInfo's font to the graphics object
passed in.
- applyViewConstraints() - Method in class edu.umd.cs.piccolo.PCamera
-
Transforms the view so that it conforms to the given constraint.
- areaVisiblePNode - Variable in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample.BirdsEyeView
-
This is the node that shows the viewed area.
- asMouseEvent() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Returns this event as a mouse event.
- asMouseEvent() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Returns this PSwingMouseEvent's MouseEvent.
- asMouseEvent() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Returns this event as a mouse event.
- awtToSWT(Rectangle2D, Rectangle) - Static method in class edu.umd.cs.piccolox.swt.SWTShapeManager
-
Populates the SWT rectangle with the provided Swing Rectangle2D's
coordinates.
- CACHE_COUNT - Static variable in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
The number of Graphics Contexts active as determined by called to
incrementGCCount and decrementGCCount.
- cachedChildBounds - Variable in class edu.umd.cs.piccolo.examples.DecoratorGroup
-
- cachedChildBounds - Variable in class edu.umd.cs.piccolo.examples.VolatileDecoratorGroup
-
- CalendarNode - Class in edu.umd.cs.piccolo.examples.fisheye
-
- CalendarNode() - Constructor for class edu.umd.cs.piccolo.examples.fisheye.CalendarNode
-
- camera - Variable in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
The canvas' camera.
- CameraExample - Class in edu.umd.cs.piccolo.examples
-
This example shows how to create internal cameras
- CameraExample() - Constructor for class edu.umd.cs.piccolo.examples.CameraExample
-
- CameraExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.CameraExample
-
- cameraStack - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Stack of cameras through which the node being painted is being viewed.
- cancelEventOverride() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Resets the internal state to indicate this Timer shouldn't notify any of
its listeners.
- canvas - Variable in class edu.umd.cs.piccolo.tutorial.UserInteraction.SquiggleHandler
-
- canvas - Variable in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Canvas onto which this event handler is attached.
- canvasPressPt - Variable in class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
- 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(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(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.
- CENTER - Static variable in interface edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor
-
Anchors the node's center as the point used when laying it out.
- 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.
- CenterExample - Class in edu.umd.cs.piccolo.examples
-
- CenterExample() - Constructor for class edu.umd.cs.piccolo.examples.CenterExample
-
- CenterExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.CenterExample
-
- 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.
- centerX(PNode, double, double) - Static method in class edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor.AbstractAnchor
-
Returns the x at which the given node would need to be placed so
that its center was in the middle of the horizontal segment
defined by x and width.
- centerY(PNode, double, double) - Static method in class edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor.AbstractAnchor
-
Returns the y at which the given node would need to be placed so
that its center was in the middle of the vertical segment defined
by y and h.
- changeListener - Variable in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample.BirdsEyeView
-
The change listener to know when to update the birds eye view.
- ChartLabelExample - Class in edu.umd.cs.piccolo.examples
-
This example shows how to create a vertical and a horizontal bar which can
move with your graph and always stays on view.
- ChartLabelExample() - Constructor for class edu.umd.cs.piccolo.examples.ChartLabelExample
-
- ChartLabelExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.ChartLabelExample
-
- checkForMouseEnteredAndExited(PInputEvent) - Method in class edu.umd.cs.piccolo.PInputManager
-
Fires events whenever the mouse moves from PNode to PNode.
- chooseBestDisplayMode(GraphicsDevice) - Method in class edu.umd.cs.piccolox.PFrame
-
Sets the display mode to the best device mode that can be determined.
- clearRect(int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- clickCount - Variable in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
-
Number times the mouse was clicked in relation to the wrapped event.
- clip(Shape) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
This method isn't really supported by SWT - so will use the shape bounds.
- ClipExample - Class in edu.umd.cs.piccolo.examples
-
Quick example of how to use a clip.
- ClipExample() - Constructor for class edu.umd.cs.piccolo.examples.ClipExample
-
- ClipExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.ClipExample
-
- clipRect(int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- 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.
- clone() - Method in class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Throws an exception since PFixedWidthStrokes are not serializable.
- clone() - Method in class edu.umd.cs.piccolox.util.XYArray
-
Returns a clone of this XYArray ensuring a deep copy of coordinates is
made.
- cloneShape(Shape) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Clone's the shape provided.
- closePath() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Marks the path as closed.
- colBarLayer - Variable in class edu.umd.cs.piccolo.examples.ChartLabelExample
-
- COLOR_CACHE - Static variable in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Map from awt colors to swt colors.
- comparisonBounds - Variable in class edu.umd.cs.piccolo.examples.DecoratorGroup
-
- comparisonBounds - Variable in class edu.umd.cs.piccolo.examples.VolatileDecoratorGroup
-
- composeOtherNodes() - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample
-
- composeOtherNodes() - Method in class edu.umd.cs.piccolo.examples.NodeExample
-
- CompositeExample - Class in edu.umd.cs.piccolo.examples
-
This example shows how to create a composite node.
- CompositeExample() - Constructor for class edu.umd.cs.piccolo.examples.CompositeExample
-
- CompositeExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.CompositeExample
-
- compositeStack - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
Used while computing transparency.
- computeFullBounds(PBounds) - Method in class edu.umd.cs.piccolo.examples.DecoratorGroup
-
Change the full bounds computation to take into account that we are
expanding the children's bounds Do this instead of overriding
getBoundsReference() since the node is not volatile
- computeFullBounds(PBounds) - Method in class edu.umd.cs.piccolo.PNode
-
Compute and return the full bounds of this node.
- computeFullBounds(PBounds) - Method in class edu.umd.cs.piccolox.nodes.PClip
-
Computes the full bounds and stores them in dstBounds, if dstBounds is
null, create a new Bounds and returns it.
- computeMarqueeSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Sets the selection to be all nodes under the marquee.
- 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.
- computeOptionMarqueeSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Extends the selection to include all nodes under the marquee.
- computePopupBounds(int, int, int, int) - Method in class edu.umd.cs.piccolox.pswing.PComboBox.PBasicComboPopup
-
Computes the bounds for the Popup in Piccolo2D if a PMouseEvent has
been received.
- computeSize(int, int) - Method in class edu.umd.cs.piccolox.swt.examples.SWTBenchTest
-
- computeSize(int, int, boolean) - Method in class edu.umd.cs.piccolox.swt.examples.SWTBenchTest
-
- computeSlowInSlowOut(float) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Computes percent or linear interpolation to apply when taking
acceleration into account.
- connect(PCanvas, PLayer[]) - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample.BirdsEyeView
-
- constrainHeightToTextHeight - Variable in class edu.umd.cs.piccolox.nodes.PStyledText
-
Whether width will be forced to match containing text's height.
- constrainWidthToTextWidth - Variable in class edu.umd.cs.piccolox.nodes.PStyledText
-
Whether width will be forced to match containing text's width.
- contains(double, double, double, double, double, double, boolean, boolean, double) - Static method in class edu.umd.cs.piccolox.util.LineShape
-
Returns whether the given coordinates are on the line defined by (x1,y1)
and (x2,y2) within the given distance.
- contains(double, double, double) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns true if the given coordinates are within d units from any segment
of the LineShape.
- contains(double, double) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns true if point is within 2 pixels of any line segment of this
LineShape.
- contains(Point2D) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns true if point is within 2 pixels of any line segment of this
LineShape.
- contains(double, double, double, double) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Whether the LineShape contains the rectangle defined.
- contains(Rectangle2D) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Whether the LineShape contains the rectangle.
- containsTimer(SWTTimer) - Method in class edu.umd.cs.piccolox.swt.SWTTimerQueue
-
Returns true if this timer queue contains the given timer.
- copyArea(Image, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Copies the image to the specified position.
- copyArea(int, int, int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- copyPoints(Points) - Static method in class edu.umd.cs.piccolox.util.XYArray
-
Creates an XYArray representing the given points.
- create() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- createBasicScenegraph() - Static method in class edu.umd.cs.piccolo.util.PUtil
-
Creates the simplest possible scene graph.
- createBasicSceneGraph() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Builds the basic scene graph associated with this canvas.
- createCanvas() - Method in class edu.umd.cs.piccolox.PApplet
-
Provides an extension point for subclasses so that they can control
what's on the canvas by default.
- createCustomNode() - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample
-
- createCustomNode() - Method in class edu.umd.cs.piccolo.examples.NodeExample
-
- createDefaultCamera() - Method in class edu.umd.cs.piccolo.PCanvas
-
Creates and returns a basic Scene Graph.
- createDefaultCamera() - Method in class edu.umd.cs.piccolox.swing.PCacheCanvas
-
Creates a default scene with 1 root, 1 layer, and 1 PCacheCamera.
- createDefaultEditor() - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Creates a default editor component to be used when editing a PStyledText
node.
- createDocumentListener() - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Returns a document listener that will reshape the editor whenever a
change occurs to its attached document.
- createEastLocator(PNode) - Static method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Creates a locator for tracking the east side of the provided node.
- 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.
- createEllipse(float, float, float, float) - Static method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Creates a path representing an ellipse that covers the rectangle
provided.
- createExampleButtons() - Method in class edu.umd.cs.piccolo.examples.ExampleRunner
-
- createHierarchy(int) - Method in class edu.umd.cs.piccolo.examples.HierarchyZoomExample
-
- createImageCache(Dimension2D) - Method in class edu.umd.cs.piccolox.nodes.PNodeCache
-
Override this method to customize the image cache creation process.
- createLayoutManager() - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Subclasses can override this to install a different layout manager (or
null
) in the constructor.
- createLine(float, float, float, float) - Static method in class edu.umd.cs.piccolo.nodes.PPath
-
Creates a PPath in the shape of a line.
- createMouseEvent(int, MouseEvent, PInputEvent) - Static method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Creates and returns a new PMouse event from a Java MouseEvent.
- createNodeFilter(PBounds) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Creates a node filter that will filter all nodes not touching the bounds
provided.
- createNodeUsingExistingClasses() - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample
-
- createNodeUsingExistingClasses() - Method in class edu.umd.cs.piccolo.examples.NodeExample
-
- createNorthEastLocator(PNode) - Static method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Creates a locator for tracking the north east corner of the provided
node.
- createNorthLocator(PNode) - Static method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Creates a locator for tracking the north side of the provided node.
- createNorthWestLocator(PNode) - Static method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Creates a locator for tracking the north west corner of the provided
node.
- createPolyline(Point2D[]) - Static method in class edu.umd.cs.piccolo.nodes.PPath
-
Creates a PPath for the poly-line for the given points.
- 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.piccolox.swt.PSWTPath
-
Creates a PPath for the poly-line for the given points.
- createPolyline(float[], float[]) - Static method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Creates a PPath for the poly-line for the given points.
- createPopup() - Method in class edu.umd.cs.piccolox.pswing.PComboBox.PBasicComboBoxUI
-
Create our Popup instead of swing's default.
- createPSwing(JComponent) - Method in class edu.umd.cs.piccolo.examples.pswing.PSwingExample1
-
- createPSwing(JComponent) - Method in class edu.umd.cs.piccolo.examples.pswing.PSwingExample4
-
- 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.
- createRectangle(float, float, float, float) - Static method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Creates a path representing the rectangle provided.
- createRectangleEventHandler() - Method in class edu.umd.cs.piccolo.examples.EventHandlerExample
-
- 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.
- createRoundRectangle(float, float, float, float, float, float) - Static method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Creates a path representing the rounded rectangle provided.
- createScrollDirector() - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Subclasses can override this to install a different scroll director in
the constructor.
- createShadow(Image, Paint, int) - Static method in class edu.umd.cs.piccolox.util.ShadowUtils
-
Create and return a new buffered image containing a shadow of the
specified source image using the specifed shadow paint and gaussian blur
radius.
- createSouthEastLocator(PNode) - Static method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Creates a locator for tracking the south east corner of the provided
node.
- createSouthLocator(PNode) - Static method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Creates a locator for tracking the south side of the provided node.
- createSouthWestLocator(PNode) - Static method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Creates a locator for tracking the south west corner of the provided
node.
- createSquiggleEventHandler() - Method in class edu.umd.cs.piccolo.examples.SquiggleExample
-
- createStrokedShape(Shape) - Method in class edu.umd.cs.piccolox.util.PSemanticStroke
-
- createText() - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Creates a PStyledText instance and attaches a simple document to it.
- 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.
- createTimer(int, ActionListener) - Method in class edu.umd.cs.piccolox.swt.PSWTRoot
-
Creates a timer that will fire the listener every delay milliseconds.
- createViewport() - Method in class edu.umd.cs.piccolox.swing.PScrollPane
-
Overridden to create the Piccolo2D viewport.
- createWestLocator(PNode) - Static method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Creates a locator for tracking the west side of the provided node.
- curFont - Variable in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
The current font to use when drawing text.
- CURRENT_CANVAS - Static variable in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Terrible Singleton instance of the PSWTCanvas.
- 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
- currentSlide - Variable in class edu.umd.cs.piccolo.tutorial.PiccoloPresentation
-
- 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.
- DASH_WIDTH - Static variable in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
The default dash width when displaying selection rectangle.
- day - Variable in class edu.umd.cs.piccolo.examples.fisheye.DayNode
-
- DayNode - Class in edu.umd.cs.piccolo.examples.fisheye
-
- DayNode(int, int) - Constructor for class edu.umd.cs.piccolo.examples.fisheye.DayNode
-
- dayOfMonthString - Variable in class edu.umd.cs.piccolo.examples.fisheye.DayNode
-
- daysExpanded - Variable in class edu.umd.cs.piccolo.examples.fisheye.CalendarNode
-
- 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.
- decorateSelectedNode(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Adds bound handles to the provided node.
- decorateSelectedNode(PNode) - Method in class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
Modifies the provided node so that it is displayed as selected.
- DecoratorGroup - Class in edu.umd.cs.piccolo.examples
-
This is the non-volatile implementation of a decorator group that paints a
background rectangle based on the bounds of its children.
- DecoratorGroup() - Constructor for class edu.umd.cs.piccolo.examples.DecoratorGroup
-
- decrementGCCount() - Static method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Decreases the number of uses of this graphics 2d object.
- 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_ANIMATION_MILLIS - Static variable in class edu.umd.cs.piccolo.examples.fisheye.CalendarNode
-
- DEFAULT_CENTER - Static variable in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Singleton instance of the notification center.
- DEFAULT_COLOR - Static variable in class edu.umd.cs.piccolox.handles.PHandle
-
Default color to paint handles.
- DEFAULT_COLOR - Static variable in class edu.umd.cs.piccolox.swt.PSWTHandle
-
The default color to use when drawing a handle.
- DEFAULT_DRAGBAR_PAINT - Static variable in class edu.umd.cs.piccolox.nodes.PLens
-
Default paint to use for the drag bar.
- DEFAULT_FONT - Static variable in class edu.umd.cs.piccolo.examples.fisheye.CalendarNode
-
- 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_FONT - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default font for text.
- DEFAULT_FONT_NAME - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default font name of text.
- DEFAULT_FONT_SIZE - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default font size for text.
- DEFAULT_FONT_STYLE - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default font style for text.
- DEFAULT_GREEK_COLOR - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default color of text rendered as 'greek'.
- DEFAULT_GREEK_THRESHOLD - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
Default greek threshold, 5.5d
.
- DEFAULT_GREEK_THRESHOLD - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Below this magnification render text as 'greek'.
- DEFAULT_HANDLE_SHAPE - Static variable in class edu.umd.cs.piccolox.handles.PHandle
-
Default shape to use when drawing handles.
- DEFAULT_HANDLE_SHAPE - Static variable in class edu.umd.cs.piccolox.swt.PSWTHandle
-
The default shape to use when drawing handles.
- DEFAULT_HANDLE_SIZE - Static variable in class edu.umd.cs.piccolox.handles.PHandle
-
The default size for a handle.
- DEFAULT_HANDLE_SIZE - Static variable in class edu.umd.cs.piccolox.swt.PSWTHandle
-
The Default Size of a handle not including its border.
- DEFAULT_HORIZONTAL_ALIGNMENT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
Default horizontal alignment, Component.LEFT_ALIGNMENT
.
- DEFAULT_IS_TRANSPARENT - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default background transparency state.
- DEFAULT_LENS_PAINT - Static variable in class edu.umd.cs.piccolox.nodes.PLens
-
Default paint to use when drawing the background of the lens.
- DEFAULT_NUM_DAYS - Static variable in class edu.umd.cs.piccolo.examples.fisheye.CalendarNode
-
- DEFAULT_NUM_WEEKS - Static variable in class edu.umd.cs.piccolo.examples.fisheye.CalendarNode
-
- DEFAULT_PADDING - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default padding.
- DEFAULT_PEN_COLOR - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default color for text.
- DEFAULT_RENDER_QUALITY - Static variable in class edu.umd.cs.piccolo.POffscreenCanvas
-
Default render quality, PPaintContext.HIGH_QUALITY_RENDERING
.
- DEFAULT_TEXT - Static variable in class edu.umd.cs.piccolo.nodes.PText
-
Default text, ""
.
- DEFAULT_TEXT - Static variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Default text when new text area is created.
- 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
.
- defaultCenter() - Static method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Singleton accessor for the PNotificationCenter.
- 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.
- detectOcclusions(PNode, PPickPath) - Method in class edu.umd.cs.piccolox.util.POcclusionDetection
-
Traverse the pick path determining which parent nodes are occluded by
their children nodes.
- detectOccusions(PNode, PBounds) - Method in class edu.umd.cs.piccolox.util.POcclusionDetection
-
Traverse from the bottom right of the scene graph (top visible node) up
the tree determining which parent nodes are occluded by their children
nodes.
- device - Variable in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Device onto which all graphics operations will ultimately take place.
- directCameraViewToFocus(PCamera, PNode, int) - Method in class edu.umd.cs.piccolox.event.PNavigationEventHandler
-
Animates the Camera's view so that it contains the new focus node.
- direction - Variable in class edu.umd.cs.piccolox.swing.PScrollPane.PScrollAction
-
1 indicates scroll down, -1 up.
- disableKeyActions - Variable in class edu.umd.cs.piccolox.swing.PScrollPane
-
Controls whether key actions are disabled on this component.
- disableKeyActions() - Method in class edu.umd.cs.piccolox.swing.PScrollPane
-
Disables key actions on this PScrollPane.
- disconnect() - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample.BirdsEyeView
-
Stop the birds eye view from receiving events from the viewed canvas
and remove all layers
- dispatchEvent(PSwingEvent, PInputEvent) - Method in class edu.umd.cs.piccolox.pswing.PSwingEventHandler
-
Determines if any Swing components in Piccolo2D should receive the given
MouseEvent and forwards the event to that component.
- dispatchEventToEditor(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Intercepts Piccolo2D events and dispatches the underlying swing one to
the current editor.
- dispatchTo(Object) - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Calls appropriate method on the listener based on this events ID.
- dispatchTo(Object) - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Calls appropriate method on the listener based on this events ID.
- dispatchTo(Object) - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseMotionEvent
-
Calls appropriate method on the listener based on this events ID.
- dispatchTo(Object) - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Calls appropriate method on the listener based on this events ID.
- dispose() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
DO NOTHING - DISPOSED IN RENDERING CLASS.
- disposeImage() - Method in class edu.umd.cs.piccolox.swt.PSWTImage
-
Subclasses may override this method to provide different image dispose
behavior.
- docListener - Variable in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
A listener that will handle programatic changes to the underlying
document and update the view accordingly.
- document - Variable in class edu.umd.cs.piccolox.nodes.PStyledText
-
Underlying document used to handle the complexities involved with
arbitrary text and formatting.
- 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.
- drag(PInputEvent) - Method in class edu.umd.cs.piccolo.examples.GraphEditorExample.NodeDragHandler
-
- drag(PInputEvent) - Method in class edu.umd.cs.piccolo.tutorial.UserInteraction.SquiggleHandler
-
- drag(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Updates the marquee to the new bounds caused by the drag.
- 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.
- dragActivityStep(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
This gets called continuously during the drag, and is used to animate the
marquee.
- dragActivityStep(PInputEvent) - Method in class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
This gets called continuously during the drag, and is used to animate the
marquee.
- dragHandle(PDimension, PInputEvent) - Method in class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Is invoked when the handle is being dragged.
- dragHandle(PDimension, PInputEvent) - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Override this method to get notified as the handle is dragged.
- dragHandle(PDimension, PInputEvent) - Method in class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Callback invoked when the user is dragging the handle.
- dragHandle(PDimension, PInputEvent) - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
Override this method to get notified as the handle is dragged.
- dragStandardSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Drag selected nodes.
- draw(Shape) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawArc(int, int, int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawArc(double, double, double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draws the outline of a circular or elliptical arc covering the specified
rectangle.
- drawGlyphVector(GlyphVector, float, float) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawImage(Image, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draws the provided image at the position specified.
- drawImage(Image, int, int, int, int, double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draws the source region from the image onto the destination region of the
graphics context.
- drawImage(Image, AffineTransform, ImageObserver) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawImage(BufferedImage, BufferedImageOp, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawImage(Image, int, int, ImageObserver) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawImage(Image, int, int, int, int, ImageObserver) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawImage(Image, int, int, Color, ImageObserver) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawImage(Image, int, int, int, int, Color, ImageObserver) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawLine(int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawLine(double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draws a line, using the current color, between the points (x1, y1) and
(x2, y2) in this graphics context's coordinate system.
- drawOval(int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawOval(double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draws the outline of an oval.
- drawPath(Path) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draws the provided path.
- drawPolygon(int[], int[], int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawPolyline(int[], int[], int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawPolyline(double[]) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draw a polyline from the specified double array of points.
- drawRect(int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawRect(double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draws the outline of the specified rectangle.
- drawRenderableImage(RenderableImage, AffineTransform) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawRenderedImage(RenderedImage, AffineTransform) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawRoundRect(int, int, int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawRoundRect(double, double, double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Draws an outlined round-cornered rectangle using this graphics context's
current color.
- drawString(String, int, int, boolean) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Renders the text of the specified String, using the current text
attribute state in the Graphics2D context.
- drawString(String, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawString(String, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Renders the text of the specified String, using the current text
attribute state in the Graphics2D context.
- drawString(String, double, double, boolean) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Renders the text of the specified String, using the current text
attribute state in the Graphics2D context.
- drawString(String, float, float) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawString(AttributedCharacterIterator, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawString(AttributedCharacterIterator, float, float) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- drawText(String, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Renders the text of the specified String, using the current text
attribute state in the Graphics2D context.
- drawText(String, double, double, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Renders the text of the specified String, using the current text
attribute state in the Graphics2D context.
- drawText(String, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Renders the text of the specified String, using the current text
attribute state in the Graphics2D context.
- DynamicExample - Class in edu.umd.cs.piccolo.examples
-
1000 nodes rotated continuously.
- DynamicExample() - Constructor for class edu.umd.cs.piccolo.examples.DynamicExample
-
- DynamicExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.DynamicExample
-
- gc - Variable in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
The Underlying GraphicsContext provided by swt.
- 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.
- getActiveScale() - Method in class edu.umd.cs.piccolox.util.PSemanticStroke
-
Detect the current scale.
- 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.
- getAdvanceWidth(char) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Returns the advance width of the character provided in the current font.
- 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.
- getAnchor() - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Returns the anchor being used by this LayoutManager.
- getAnglePath() - Method in class edu.umd.cs.piccolo.examples.AngleNodeExample.AngleNode
-
- 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.
- getAnimating() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
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.
- getBackground() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getBackgroundColor() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Returns the current background color.
- getBestDisplayMode(GraphicsDevice) - Method in class edu.umd.cs.piccolox.PFrame
-
Finds the best display mode the graphics device supports.
- 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.
- getBounds(Rectangle2D) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Computes the bounds of this LineShape and stores them in the provided
rectangle.
- getBounds() - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns the current points of this LineShape as a simple Rectangle.
- getBounds(Rectangle2D) - Method in interface edu.umd.cs.piccolox.util.Points
-
Returns the bounds of all the points taken as a whole.
- getBounds(Rectangle2D) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Modifies dst to be the bounding box of the points represented by this
XYArray.
- getBounds2D() - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns the current bounds in Rectangle2D format.
- 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.examples.VolatileDecoratorGroup
-
Since our bounds are volatile, we can override this method to indicate
that we are expanding our bounds beyond our children
- getBoundsReference() - Method in class edu.umd.cs.piccolo.PNode
-
Return a direct reference to this node's bounds.
- getBoundsReference() - Method in class edu.umd.cs.piccolox.handles.PStickyHandleManager
-
The sticky handle manager's bounds as computed by examining its target
through its camera.
- getBoundsReference() - Method in class edu.umd.cs.piccolox.swt.PSWTStickyHandleManager
-
Return a direct reference to this node's bounds.
- getBoundsVolatile() - Method in class edu.umd.cs.piccolo.examples.VolatileDecoratorGroup
-
Indicate that the bounds are volatile for this group
- getBoundsVolatile() - Method in class edu.umd.cs.piccolo.PNode
-
Return true if this nodes bounds may change at any time.
- getBoundsVolatile() - Method in class edu.umd.cs.piccolox.handles.PStickyHandleManager
-
Since this node's bounds are always dependent on its target, it is
volatile.
- getBoundsVolatile() - Method in class edu.umd.cs.piccolox.swt.PSWTStickyHandleManager
-
Always returns true to ensure that they will always be displayed
appropriately.
- getButton() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the mouse button value of the underlying mouse event.
- getButton() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
- 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(int) - Method in class edu.umd.cs.piccolo.PLayer
-
Get the camera in this layer's camera list at the specified index.
- 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() - Method in class edu.umd.cs.piccolox.nodes.PLens
-
Returns the camera on which this lens is appearing.
- getCamera() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Return the camera associated with this canvas.
- 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.
- getCanvas() - Method in class edu.umd.cs.piccolox.PApplet
-
Returns the canvas this PApplet is displaying.
- getCanvas() - Method in class edu.umd.cs.piccolox.PFrame
-
Returns the canvas being displayed on this frame.
- getCanvas() - Method in class edu.umd.cs.piccolox.pswing.PComboBox
-
Returns the canvas on which the PSwing node is embedded.
- 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.
- getCenter() - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Return the center of this SWT path node, based on its bounds.
- getCenter2D() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns the midpoint of the bounds.
- getCharWidth(char) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Returns the width of the character provided in the current font.
- 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.
- getClickCount() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
- 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.
- getClip() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getClipBounds() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getColor() - Method in interface edu.umd.cs.piccolo.activities.PColorActivity.Target
-
This method is called right before the color activity starts.
- getColor() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- 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 null
if no
component has been associated with this camera, as may be the case for
internal cameras.
- getComponent() - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Returns the Swing component that this visual component wraps.
- getComposite() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getConstrainHeightToTextHeight() - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Controls whether this node changes its height to fit the height of its
text.
- getConstrainWidthToTextWidth() - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Controls whether this node changes its width to fit the width of its
text.
- getContainer() - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Some Swing layout managers (like BoxLayout) require a reference to the
proxy Container.
- getCurrentCanvasPosition() - Method in class edu.umd.cs.piccolo.PInputManager
-
Returns the position of the current canvas event.
- getCurrentNode() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Get the current node that is under the cursor.
- getCurrentNode() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Get the current node that is under the cursor.
- getCurrentNode() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Get the current node that is under the cursor.
- getCurrentPath() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Get the path from the PCanvas down to the visual component currently
under the mouse.This may give a different result then getGrabPath()
during a MOUSE_DRAGGED or MOUSE_RELEASED operation.
- getCurrentPath() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Get the path from the PCanvas down to the visual component currently
under the mouse.This may give a different result then getGrabPath()
durring a MOUSE_DRAGGED or MOUSE_RELEASED operation.
- getCurrentPath() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Get the path from the PCanvas down to the visual component currently
under the mouse.This may give a different result then getGrabPath()
durring a MOUSE_DRAGGED or MOUSE_RELEASED operation.
- getCursorFor(int) - Method in class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Returns an appropriate handle for the given side of a node.
- getCursorFor(int) - Method in class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Returns an appropriate cursor to display when the mouse is over a handle
on the side provided.
- getDashArray() - Method in class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Returns the array representing the lengths of the dash segments.
- getDashPhase() - Method in class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Returns the current dash phase.
- getData() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
-
Return the associated SWT data for the event.
- getData() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
-
Return the associated SWT data for the event.
- getDay(int, int) - Method in class edu.umd.cs.piccolo.examples.fisheye.CalendarNode
-
- getDay() - Method in class edu.umd.cs.piccolo.examples.fisheye.DayNode
-
- getDebugPaintColor() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Generates a color for use while debugging.
- getDefaultFrameBounds() - Method in class edu.umd.cs.piccolox.PFrame
-
Returns the default frame bounds.
- 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
- getDelay() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Returns the delay, in milliseconds, between firings of action events.
- 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.
- getDeviceConfiguration() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Returns a dummy device configuration.
- getDisplay() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
-
Return the display on which the interaction occurred.
- getDisplay() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
-
Return the display on which the interaction occurred.
- getDocument() - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Get the document for this PStyledText.
- getDoubleAttribute(Object, double) - Method in class edu.umd.cs.piccolo.PNode
-
Fetches the double value of the requested attribute, returning
defaultValue is not found.
- getDoubleBuffered() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Get whether this canvas should use double buffering - the default is to
double buffer.
- 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).
- getDragBar() - Method in class edu.umd.cs.piccolox.nodes.PLens
-
Returns the drag bar for this lens.
- 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.
- getEndCap() - Method in class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Returns the end cap style.
- 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.
- getExpirationTime() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
- 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.
- getFont() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Returns the current font.
- getFont() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getFont(String) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Returns the SWT font matching the given font string.
- getFontMetrics(Font) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getFontRenderContext() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- 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.
- getGrabNode() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Determine the node the event originated at.
- getGrabNode() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Determine the node the event originated at.
- getGrabNode() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Determine the node the event originated at.
- getGrabPath() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Return the path from the PCanvas down to the currently grabbed object.
- getGrabPath() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Return the path from the PCanvas down to the currently grabbed object.
- getGrabPath() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Return the path from the PCanvas down to the currently grabbed object.
- 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.
- getGreekThreshold() - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Return the Greek threshold scale.
- getGreekThreshold() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Returns the current greek threshold.
- getHandleCursorEventHandler() - Method in class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Return the event handler that is responsible for setting the mouse cursor
when it enters/exits this handle.
- getHandleCursorEventHandler() - Method in class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Return the event handler that is responsible for setting the mouse cursor
when it enters/exits this handle.
- getHandleDraggerHandler() - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Return the event handler that is responsible for the drag handle
interaction.
- getHandleDraggerHandler() - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
Return the event handler that is responsible for the drag handle
interaction.
- 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.
- getID() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Determine the event type.
- getID() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Determine the event type.
- getID() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Determine the event type.
- getImage() - Method in class edu.umd.cs.piccolo.nodes.PImage
-
Returns the image that is shown by this node, or null if none.
- getImage() - Method in class edu.umd.cs.piccolox.swt.PSWTImage
-
Returns the image that is shown by this node, may be null.
- getImageCache() - Method in class edu.umd.cs.piccolox.nodes.PNodeCache
-
Returns an image that is a cached representation of its children.
- getInitialDelay() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Returns the Timer
's initial delay.
- getInitialFontHeight() - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Get the height of the font at the beginning of the document.
- 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.
- getInsets() - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Get the insets of the text.
- 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.
- getInteracting() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Return true if this canvas 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
-
- 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.
- getKnot(int) - Method in class edu.umd.cs.piccolox.activities.PPathActivity
-
Returns the value of the knot at the given index.
- getKnots() - Method in class edu.umd.cs.piccolox.activities.PPathActivity
-
Return the knots that define the timing of this activity.
- getKnotsLength() - Method in class edu.umd.cs.piccolox.activities.PPathActivity
-
Returns the number of knots that define the timing of this activity.
- getLastCanvasPosition() - Method in class edu.umd.cs.piccolo.PInputManager
-
Returns the position on the Canvas of the last event.
- 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.
- getLayer() - Method in class edu.umd.cs.piccolo.PCanvas
-
Return layer for this canvas.
- getLayer() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Helper method to return the first layer attached to the camera of this
canvas.
- 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.
- getLensDraggerHandler() - Method in class edu.umd.cs.piccolox.nodes.PLens
-
Returns the event handler that this lens uses for its drag bar.
- getLineBoundsWithStroke() - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Calculates the bounds of the line taking stroke width into account.
- getLineJoin() - Method in class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Returns the line join style.
- getLineReference() - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Returns a reference to the underlying line shape.
- getLineWidth() - Method in class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Returns the line width.
- 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.
- 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.
- 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.
- getLocalPoint() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Returns the x,y position of the event in the local coordinate system of
the node the event occurred on.
- getLocalPoint() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Returns the x,y position of the event in the local coordinate system of
the node the event occurred on.
- getLocalPoint() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Returns the x,y position of the event in the local coordinate system of
the node the event occurred on.
- 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.
- getLocalX() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Returns the horizontal x position of the event in the local coordinate
system of the node the event occurred on.
- getLocalX() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Returns the horizontal x position of the event in the local coordinate
system of the node the event occurred on.
- getLocalX() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Returns the horizontal x position of the event in the local coordinate
system of the node the event occurred on.
- getLocalY() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Returns the vertical y position of the event in the local coordinate
system of the node the event occurred on.
- getLocalY() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Returns the vertical y position of the event in the local coordinate
system of the node the event occurred on.
- getLocalY() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Returns the vertical y position of the event in the local coordinate
system of the node the event occurred on.
- getLocator() - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Get the locator that this handle uses to position itself on its parent
node.
- getLocator() - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
Get the locator that this handle uses to position itself on its parent
node.
- 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.
- getMarqueeBounds() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Returns the bounds of the current selection marquee.
- getMarqueeBounds() - Method in class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
Returns the bounds of the current selection marquee.
- getMarqueePaint() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Indicates the color used to paint the marquee.
- getMarqueePaintTransparency() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Indicates the transparency level for the interior of the marquee.
- 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.
- getMethod() - Method in class edu.umd.cs.piccolox.event.PNotificationCenter.NotificationTarget
-
Returns the method that will be invoked on the listener object.
- 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.
- getMiterLimit() - Method in class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Returns the miter limit of this node.
- 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.
- getModifiers() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
- getModifiers() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
- getModifiersEx() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns the extended modifiers provided for the input event by swing.
- getModifiersEx() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
- getModifiersEx() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
- 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.
- getName() - Method in class edu.umd.cs.piccolox.event.PNotification
-
Return the name of the notification.
- getNeighborInDirection(int) - Method in class edu.umd.cs.piccolox.event.PNavigationEventHandler
-
Returns the nearest node in the given direction.
- getNeighbors() - Method in class edu.umd.cs.piccolox.event.PNavigationEventHandler
-
Returns all pickable nodes that are 1 hop away from the currently focused
node.
- getNextStepTime() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Gets the next step time desired for this activity.
- getNextTimer() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
- getNode() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Determine the node the event originated at.
- getNode() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Determine the node the event originated at.
- getNode() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Determine the node the event originated at.
- getNode() - Method in class edu.umd.cs.piccolox.util.PNodeLocator
-
Returns the node being located by this locator.
- 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.
- getObject() - Method in class edu.umd.cs.piccolox.event.PNotification
-
Return the object associated with this notification.
- 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.
- getPaint() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getPaintBuffer() - Method in class edu.umd.cs.piccolox.nodes.PCacheCamera
-
Get the buffer used to provide fast image based animation.
- 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.
- getPanEventHandler() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
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.
- getPath() - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Determine the path the event took from the PCanvas down to the visual
component.
- getPath() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Determine the path the event took from the PCanvas down to the visual
component.
- getPath() - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Determine the path the event took from the PCanvas down to the visual
component.
- getPathBoundsWithStroke() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Calculates the path's bounds taking stroke into account.
- getPathIterator(AffineTransform) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns an iterator that can be used to iterate of the segments of this
LineShape.
- getPathIterator(AffineTransform, double) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns an iterator that can be used to iterate of the segments of this
LineShape.
- 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.
- getPenColor() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Returns the current pen color.
- getPenPaint() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Returns the current pen paint.
- 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.
- getPoint(int, Point2D) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Returns the point at the provided index.
- getPoint(int, Point2D) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Copies the point at the given index into the destination point.
- getPoint(int, Point2D) - Method in interface edu.umd.cs.piccolox.util.Points
-
Returns a point representation of the coordinates at the given index.
- getPoint(int, Point2D) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Returns modified point representing the wrapped point at the given index.
- getPointCount() - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Returns the number of points in the line.
- getPointCount() - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns the number points in this LineShape.
- getPointCount() - Method in interface edu.umd.cs.piccolox.util.Points
-
Returns the number of points in the sequence.
- getPointCount() - Method in class edu.umd.cs.piccolox.util.XYArray
-
Returns the number of points this XYArray represents.
- getPosition() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the mouse position transformed through the view transform of the
bottom camera.
- getPosition(int) - Method in class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Returns the point at the given index.
- getPositionRelativeTo(PNode) - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Return the mouse position relative to a given node on the pick path.
- getPositions() - Method in class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Returns a copy of the path's points.
- getPreferredDisplayModes(GraphicsDevice) - Method in class edu.umd.cs.piccolox.PFrame
-
By default return the current display mode.
- getProcessingOutput() - Static method in class edu.umd.cs.piccolo.util.PDebug
-
Returns whether output is being processed.
- getProperty(Object) - Method in class edu.umd.cs.piccolox.event.PNotification
-
Return a property associated with the notification, or null if not found.
- 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.
- getPSwing() - Method in class edu.umd.cs.piccolox.pswing.PComboBox
-
Returns the associated PSwing node.
- getRaised() - Method in class edu.umd.cs.piccolox.nodes.P3DRect
-
Returns whether this P3DRect is drawn as raised.
- getRenderingHint(RenderingHints.Key) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getRenderingHints() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- 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.
- getRoot() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Return root for this canvas.
- 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.
- getScrollDirector() - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Returns the scroll director on this viewport.
- getSelectableParents() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Returns all selectable parents.
- getSelection() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Returns a copy of the currently selected nodes.
- getSelectionReference() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Gets a reference to the currently selected nodes.
- getSide() - Method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Returns the side of the node that's being tracked.
- 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.
- getSource() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
- getSource() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
- 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.
- getStroke() - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Returns the stroke that will be used when drawing the line.
- getStroke() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getStrokePaint() - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Returns the stroke paint of the PPath.
- getStrokePaint() - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Returns the paint to be used while drawing the line.
- getStrokePaint() - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Returns the paint to use when drawing the stroke of the shape.
- getSupportDeleteKey() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Returns whether the delete key is a supported action.
- getSwingWrapper() - Method in class edu.umd.cs.piccolox.pswing.PSwingCanvas
-
- getSWTFont() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Returns the current swt font to use when drawing.
- getSWTFontMetrics() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Returns the font metrics of the current SWT font.
- 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.
- getText() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Return the text within this text component.
- 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.
- getTimer() - Method in class edu.umd.cs.piccolox.swt.SWTTimer.SWTDoPostEvent
-
- 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.
- getTransform() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- getTransformedFont() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Deprecated.
- getTransformedLineWidth() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Computes the width of the line after it passes through the current
transform.
- getTransformReference(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Return a reference to the transform associated with this node.
- getTranslateX() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Get the X offset translation.
- getTranslateY() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Get the Y offset translation.
- getTranslation() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Get the text translation offset.
- 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.
- getViewPosition(Rectangle2D) - Method in class edu.umd.cs.piccolo.examples.PrintExample.DocumentScrollDirector
-
Get the View position given the specified camera bounds - modified
such that:
Rather than finding the distance from the upper left corner of the
window to the upper left corner of the document - we instead find the
distance from the lower right corner of the window to the upper left
corner of the document THEN we subtract that value from total
document width so that the position is inverted
- getViewPosition(Rectangle2D) - Method in class edu.umd.cs.piccolo.examples.ScrollingExample.DocumentScrollDirector
-
Get the View position given the specified camera bounds - modified
such that:
Rather than finding the distance from the upper left corner of the
window to the upper left corner of the document - we instead find the
distance from the lower right corner of the window to the upper left
corner of the document THEN we subtract that value from total
document width so that the position is inverted
- getViewPosition(Rectangle2D) - Method in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
Get the View position given the specified camera bounds.
- getViewPosition(Rectangle2D) - Method in interface edu.umd.cs.piccolox.swing.PScrollDirector
-
Get the View position given the specified camera bounds.
- getViewPosition() - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Gets the view position from the scroll director based on the current
extent size.
- 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.
- getViewSize(Rectangle2D) - Method in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
Get the size of the view based on the specified camera bounds.
- getViewSize(Rectangle2D) - Method in interface edu.umd.cs.piccolox.swing.PScrollDirector
-
Get the size of the view based on the specified camera bounds.
- getViewSize() - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Gets the view size from the scroll director based on the current extent
size.
- getViewSize(Rectangle2D) - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Gets the view size from the scroll director based on the specified extent
size.
- 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.
- getWeek() - Method in class edu.umd.cs.piccolo.examples.fisheye.DayNode
-
- 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.
- getWidget() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
-
Returns the widget from which the event was emitted.
- getWidget() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
-
Returns the widget from 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.
- getX(int) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns the x component of the point at the given index.
- getX(int) - Method in interface edu.umd.cs.piccolox.util.Points
-
Returns the x component of the point at the given index.
- getX(int) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Returns the x component of the point at the given index.
- 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.
- getY(int) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns the y component of the point at the given index.
- getY(int) - Method in interface edu.umd.cs.piccolox.util.Points
-
Returns the y component of the point at the given index.
- getY(int) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Returns the y component of the point at the given index.
- 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.
- getZoomEventHandler() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Get the zoom event handler associated with this canvas.
- 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(Dimension2D) - Method in class edu.umd.cs.piccolo.PNode
-
Transform the given dimension 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.
- goToSlide(PNode) - Method in class edu.umd.cs.piccolo.tutorial.PiccoloPresentation
-
- GraphEditorExample - Class in edu.umd.cs.piccolo.examples
-
Create a simple graph with some random nodes and connected edges.
- GraphEditorExample() - Constructor for class edu.umd.cs.piccolo.examples.GraphEditorExample
-
- GraphEditorExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.GraphEditorExample
-
- GraphEditorExample.NodeDragHandler - Class in edu.umd.cs.piccolo.examples
-
- GraphEditorExample.NodeDragHandler() - Constructor for class edu.umd.cs.piccolo.examples.GraphEditorExample.NodeDragHandler
-
- greekColor - Variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Color for greek text.
- greekThreshold - Variable in class edu.umd.cs.piccolo.nodes.PText
-
Greek threshold in screen font size for this text node.
- greekThreshold - Variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Below this magnification text is rendered as greek.
- GridExample - Class in edu.umd.cs.piccolo.examples
-
Example of drawing an infinite grid, and providing support for snap to grid.
- GridExample() - Constructor for class edu.umd.cs.piccolo.examples.GridExample
-
- GridExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.GridExample
-
- gridLine - Variable in class edu.umd.cs.piccolo.examples.GridExample
-
- gridPaint - Variable in class edu.umd.cs.piccolo.examples.GridExample
-
- gridSpacing - Variable in class edu.umd.cs.piccolo.examples.GridExample
-
- gridStroke - Variable in class edu.umd.cs.piccolo.examples.GridExample
-
- GroupExample - Class in edu.umd.cs.piccolo.examples
-
An example of how to implement decorator groups.
- GroupExample() - Constructor for class edu.umd.cs.piccolo.examples.GroupExample
-
- GroupExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.GroupExample
-
- IN - Static variable in class edu.umd.cs.piccolox.event.PNavigationEventHandler
-
The IN direction on the scene.
- incrementGCCount() - Static method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Increases the number of uses of this graphics 2d object.
- INDENT - Variable in class edu.umd.cs.piccolo.examples.DecoratorGroup
-
- INDENT - Variable in class edu.umd.cs.piccolo.examples.VolatileDecoratorGroup
-
- 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 -1
if the list of layers
viewed by this camera does not contain the specified layer.
- init() - Method in class edu.umd.cs.piccolo.examples.fisheye.TabularFisheyeApplet
-
- init() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Initializes the PSelectionEventHandler with a marquee stroke.
- init() - Method in class edu.umd.cs.piccolox.PApplet
-
Initializes the applet with a canvas and no background.
- initEditor(JTextComponent) - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Installs the editor onto the canvas.
- initialize() - Method in class edu.umd.cs.piccolo.examples.ActivityExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.ActivityMemoryLeakBugExample
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initialize() - Method in class edu.umd.cs.piccolo.examples.AngleNodeExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.CameraExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.CenterExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.ChartLabelExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.ClipExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.CompositeExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.DynamicExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.EventHandlerExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.FrameCanvasSizeBugExample
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initialize() - Method in class edu.umd.cs.piccolo.examples.FullBoundsEventExample
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initialize() - Method in class edu.umd.cs.piccolo.examples.FullScreenNodeExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.GraphEditorExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.GridExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.GroupExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.HandleExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.HelloWorldExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.HierarchyZoomExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.HtmlViewExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.KeyEventFocusExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.LayoutExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.LensExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.NavigationExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.NodeCacheExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.NodeEventExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.NodeExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.NodeLinkExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.OffsetVsTranslateExample
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initialize() - Method in class edu.umd.cs.piccolo.examples.P3DRectExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.PanToExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.PathExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.PositionExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.PositionPathActivityExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.PrintExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.PSwingExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.PulseExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.ScrollingExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.SelectionExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.ShadowExample
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initialize() - Method in class edu.umd.cs.piccolo.examples.SquiggleExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.StickyExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.StickyHandleLayerExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.StrokeExample
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initialize() - Method in class edu.umd.cs.piccolo.examples.TextExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.TextOffsetBoundsExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.ToImageExample
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initialize() - Method in class edu.umd.cs.piccolo.examples.TooltipExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.TwoCanvasExample
-
- initialize() - Method in class edu.umd.cs.piccolo.examples.WaitForActivitiesExample
-
- initialize() - Method in class edu.umd.cs.piccolo.tutorial.InterfaceFrame
-
- initialize() - Method in class edu.umd.cs.piccolo.tutorial.PiccoloPresentation
-
- initialize() - Method in class edu.umd.cs.piccolo.tutorial.SpecialEffects
-
- initialize() - Method in class edu.umd.cs.piccolo.tutorial.UserInteraction
-
- initialize() - Method in class edu.umd.cs.piccolox.PApplet
-
Subclasses should override this method and add their Piccolo2d
initialization code there.
- initialize() - Method in class edu.umd.cs.piccolox.PFrame
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initializeMarquee(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Creates an empty marquee child for use in displaying the marquee around
the selection.
- initializeMarquee(PInputEvent) - Method in class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
Creates an empty marquee child for use in displaying the marquee around
the selection.
- initializeSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Starts a selection based on the provided event.
- initializeSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
Starts a selection based on the provided event.
- initPoints(double[], int, double[]) - Static method in class edu.umd.cs.piccolox.util.XYArray
-
Constructs an array of point coordinates for n points and copies the old
values if provided.
- 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.
- insets - Variable in class edu.umd.cs.piccolox.nodes.PStyledText
-
Insets represent how far away from the bounding box text will be drawn.
- install(PViewport, PCanvas) - Method in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
Installs the scroll director and adds the appropriate listeners.
- install(PViewport, PCanvas) - Method in interface edu.umd.cs.piccolox.swing.PScrollDirector
-
Installs the scroll director.
- installCustomKeyActions() - Method in class edu.umd.cs.piccolox.swing.PScrollPane
-
Install custom key actions (in place of the Swing defaults) to correctly
scroll the view.
- installHandleEventHandlers() - Method in class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Installs the handlers to this particular bounds handle.
- installHandleEventHandlers() - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Installs the handler that notify its subclasses of handle interaction.
- installHandleEventHandlers() - Method in class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Installs handlers responsible for updating the attached node's bounds and
for updating the cursor when the mous enters a handle.
- installHandleEventHandlers() - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
Installs the handler that will reposition the handle when it is dragged,
and invoke appropriate call backs.
- 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.
- installInputSources() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
This method installs mouse and key listeners on the canvas that forward
those events to Piccolo2D.
- 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
- InterfaceFrame - Class in edu.umd.cs.piccolo.tutorial
-
- InterfaceFrame() - Constructor for class edu.umd.cs.piccolo.tutorial.InterfaceFrame
-
- InterfaceFrame.ToggleShape - Class in edu.umd.cs.piccolo.tutorial
-
- InterfaceFrame.ToggleShape() - Constructor for class edu.umd.cs.piccolo.tutorial.InterfaceFrame.ToggleShape
-
- 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.
- internalUpdateBounds(double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Set the bounds of this path.
- internalUpdateBounds(double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
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.
- intersects(Rectangle2D) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Return true if this node intersects the given rectangle specified in
local bounds.
- intersects(Rectangle2D) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Returns true if path crosses the provided bounds.
- intersects(double, double, double, double, double, double, double, double, boolean, boolean, boolean, boolean) - Static method in class edu.umd.cs.piccolox.util.LineShape
-
Returns true if the two segments defined by (x1,y1)->(x2,y2) and
(x3,y3)->(x4,y4) intersect.
- intersects(double, double, double, double) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns true if any segment crosses an edge of the rectangle.
- intersects(Rectangle2D) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Returns true if any segment crosses an edge of the rectangle.
- invalidateCache() - Method in class edu.umd.cs.piccolox.nodes.PNodeCache
-
Clears the cache, forcing it to be recalculated on the next call to
getImageCache.
- 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.
- invalidatePaint() - Method in class edu.umd.cs.piccolox.nodes.PNodeCache
-
Intercepts the normal invalidatePaint mechanism so that the node will not
be repainted unless it's cache has been invalidated.
- 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(Dimension2D, Dimension2D) - Method in class edu.umd.cs.piccolo.util.PAffineTransform
-
Applies the inverse of this transform to the source dimension 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.
- isActionKey() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
- isActive() - Method in class edu.umd.cs.piccolox.pswing.PSwingEventHandler
-
Returns if this event handler is active.
- isAltDown() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the alt key is currently down.
- isAltDown() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
- isAltDown() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
- 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.
- isAnimation() - Method in class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Returns true since this activity modifies the view and so cause a
repaint.
- isCameraLayer(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler.BoundsFilter
-
Tests a node to see if it's a layer that has an attached camera.
- isCoalesce() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Returns true
if the Timer
coalesces multiple
pending action events.
- 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.
- isControlDown() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
- isControlDown() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
- isDeleteKeyActive() - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Returns whether the delete key is a supported action.
- 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.
- isEditing() - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Whether node is currently in editing state.
- isEmpty() - Method in class edu.umd.cs.piccolo.util.PBounds
-
Returns true if this bounds has been flagged as empty.
- isEmpty() - Method in class edu.umd.cs.piccolox.nodes.PStyledText.RunInfo
-
Returns whether the run is empty.
- isFocusEvent() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the underlying event is a Focus Event.
- isFullScreenMode() - Method in class edu.umd.cs.piccolox.PFrame
-
Returns whether the frame is currently in full screen mode.
- 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.
- isMarqueeSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Tests the input event to see if it is selecting a new node.
- 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.
- isOptionSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Used to test whether the event is one that changes the selection.
- isPainting(JComponent) - Method in class edu.umd.cs.piccolox.pswing.PSwingRepaintManager
-
Returns true if repaint is currently locked for a component and false
otherwise.
- 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.
- isRepeats() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Returns true
(the default) if the Timer
will
send an action event to its listeners multiple times.
- isRightMouseButton() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the mouse event involves the right mouse button.
- isRunning() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Returns true
if the Timer
is running.
- isSelectable(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Determine if the specified node can be selected (i.e., if it is a child
of the one the list of nodes that can be selected).
- isSelected(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Returns true is provided node is selected.
- isShiftDown() - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Returns whether the shift key is currently down.
- isShiftDown() - Method in class edu.umd.cs.piccolox.swt.PSWTKeyEvent
- isShiftDown() - Method in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
- isStepping() - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Return true if this activity is stepping.
- isTransparent() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Returns whether the text should be drawn using the transparent mode,
i.e., whether the background should be drawn or not.
- isUseBufferedPainting() - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
- P3DRect - Class in edu.umd.cs.piccolox.nodes
-
This is a simple node that draws a "3D" rectangle within the bounds of the
node.
- P3DRect() - Constructor for class edu.umd.cs.piccolox.nodes.P3DRect
-
Constructs a simple P3DRect with empty bounds and a black stroke.
- P3DRect(Rectangle2D) - Constructor for class edu.umd.cs.piccolox.nodes.P3DRect
-
Constructs a P3DRect with the provided bounds.
- P3DRect(double, double, double, double) - Constructor for class edu.umd.cs.piccolox.nodes.P3DRect
-
Constructs a P3DRect with the bounds provided.
- P3DRectExample - Class in edu.umd.cs.piccolo.examples
-
- P3DRectExample() - Constructor for class edu.umd.cs.piccolo.examples.P3DRectExample
-
- P3DRectExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.P3DRectExample
-
- 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.
- padding - Variable in class edu.umd.cs.piccolox.swt.PSWTText
-
The amount of padding on each side of the text.
- 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(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(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, 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(Throwable, PAffineTransform) - Constructor for exception edu.umd.cs.piccolo.util.PAffineTransformException
-
Constructs an Exception that wraps another and records the errant
transform.
- 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.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.examples.AngleNodeExample.AngleNode
-
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.examples.DecoratorGroup
-
Change the default paint to fill an expanded bounding box based on its
children's bounds
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.examples.fisheye.DayNode
-
- 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.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolo.tutorial.InterfaceFrame.ToggleShape
-
- paint(PPaintContext) - Method in class edu.umd.cs.piccolox.nodes.P3DRect
-
Paints this rectangle with shaded edges.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolox.nodes.PClip
-
Paint's this node as a solid rectangle if paint is provided, clipping
appropriately.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Paints the PLine in the provided context if it has both a stroke and a
stroke paint assigned.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Paint this node behind any of its children nodes.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Paints the PSwing on the specified renderContext.
- paint(Graphics2D) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Renders the wrapped component to the graphics context provided.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolox.swt.PSWTImage
-
Paint this node behind any of its children nodes.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Paints the path on the context provided.
- paint(PPaintContext) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Renders the text object.
- 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.
- paintAfterChildren(PPaintContext) - Method in class edu.umd.cs.piccolox.nodes.PClip
-
Paints a border around this node if it has a stroke and stroke paint
provided.
- paintAsGreek(Graphics2D) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Paints the Swing component as greek.
- paintAsGreek(PPaintContext) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Paints this object as greek.
- paintAsText(PPaintContext) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Paints this object normally (show it's text).
- 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
- paintComponent(GC, int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Paints the region specified of the canvas onto the given Graphics
Context.
- 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.
- paintImmediately() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Performs an immediate repaint if no other client is currently performing
one.
- paintLine - Static variable in class edu.umd.cs.piccolox.nodes.PStyledText
-
Used while painting underlines.
- 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.
- PanToExample - Class in edu.umd.cs.piccolo.examples
-
Click on a node and the camera will pan the minimum distance to bring that
node fully into the cameras view.
- PanToExample() - Constructor for class edu.umd.cs.piccolo.examples.PanToExample
-
- PanToExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.PanToExample
-
- PApplet - Class in edu.umd.cs.piccolox
-
PApplet is meant to be subclassed by applications that just need a
PCanvas embedded in a web page.
- PApplet() - Constructor for class edu.umd.cs.piccolox.PApplet
-
- 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.
- parentBoundsChanged() - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Forces the handles to reposition themselves using their associated
locator.
- parentBoundsChanged() - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
A notification that the bounds of this node's parent have changed.
- 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(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(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.
- PathExample - Class in edu.umd.cs.piccolo.examples
-
- PathExample() - Constructor for class edu.umd.cs.piccolo.examples.PathExample
-
- PathExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.PathExample
-
- 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(PBounds) - Constructor for class edu.umd.cs.piccolo.util.PBounds
-
Creates a bounds identical to the one provided.
- PBounds(Rectangle2D) - Constructor for class edu.umd.cs.piccolo.util.PBounds
-
Creates a bounds with the same shape as the rectangle 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(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.
- PBoundsHandle - Class in edu.umd.cs.piccolox.handles
-
PBoundsHandle a handle for resizing the bounds of another node.
- PBoundsHandle(PBoundsLocator) - Constructor for class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Creates a bounds handle that will be attached to the provided locator.
- PBoundsLocator - Class in edu.umd.cs.piccolox.util
-
PBoundsLocator is a locator that locates points on the bounds of a
node.
- PBoundsLocator(PNode, int) - Constructor for class edu.umd.cs.piccolox.util.PBoundsLocator
-
Constructs a locator for tracking the position on the node provided.
- PCacheCamera - Class in edu.umd.cs.piccolox.nodes
-
An extension to PCamera that provides a fast image based
animationToCenterBounds method.
- PCacheCamera() - Constructor for class edu.umd.cs.piccolox.nodes.PCacheCamera
-
- PCacheCanvas - Class in edu.umd.cs.piccolox.swing
-
An extension of PCanvas that automatically installs a PCacheCamera.
- PCacheCanvas() - Constructor for class edu.umd.cs.piccolox.swing.PCacheCanvas
-
- 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.
- PClip - Class in edu.umd.cs.piccolox.nodes
-
PClip is a simple node that applies a clip before rendering or picking
its children.
- PClip() - Constructor for class edu.umd.cs.piccolox.nodes.PClip
-
- 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, 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(long, long, int, int, PColorActivity.Target, Color) - Constructor for class edu.umd.cs.piccolo.activities.PColorActivity
-
Create a new PColorActivity.
- 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.
- PComboBox - Class in edu.umd.cs.piccolox.pswing
-
The PComboBox is used instead of a JComboBox in a Piccolo scene graph.
- PComboBox(ComboBoxModel) - Constructor for class edu.umd.cs.piccolox.pswing.PComboBox
-
Creates a PComboBox that takes its items from an existing ComboBoxModel.
- PComboBox(Object[]) - Constructor for class edu.umd.cs.piccolox.pswing.PComboBox
-
Creates a PComboBox that contains the elements in the specified array.
- PComboBox(Vector) - Constructor for class edu.umd.cs.piccolox.pswing.PComboBox
-
Creates a PComboBox that contains the elements in the specified Vector.
- PComboBox() - Constructor for class edu.umd.cs.piccolox.pswing.PComboBox
-
Create an empty PComboBox.
- PComboBox.PBasicComboBoxUI - Class in edu.umd.cs.piccolox.pswing
-
The substitute look and feel - used to capture the mouse events on the
arrowButton and the component itself and to create our PopupMenu rather
than the default.
- PComboBox.PBasicComboBoxUI() - Constructor for class edu.umd.cs.piccolox.pswing.PComboBox.PBasicComboBoxUI
-
- PComboBox.PBasicComboPopup - Class in edu.umd.cs.piccolox.pswing
-
The substitute ComboPopupMenu that places itself correctly in Piccolo2d.
- PComboBox.PBasicComboPopup(JComboBox) - Constructor for class edu.umd.cs.piccolox.pswing.PComboBox.PBasicComboPopup
-
Creates a PBasicComboPopup that will position itself correctly in
relation to the provided JComboBox.
- PComponent - Interface in edu.umd.cs.piccolo
-
Interface that a component needs to implement if it wants to act as a Piccolo
canvas.
- PComposite - Class in edu.umd.cs.piccolox.nodes
-
PComposite is a simple node that makes a group of nodes appear to be a
single node when picking and interacting.
- PComposite() - Constructor for class edu.umd.cs.piccolox.nodes.PComposite
-
- PDebug - Class in edu.umd.cs.piccolo.util
-
PDebug is used to set framework wide debugging flags.
- PDefaultScrollDirector - Class in edu.umd.cs.piccolox.swing
-
The default scroll director implementation.
- PDefaultScrollDirector() - Constructor for class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
The default constructor.
- 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(Dimension2D) - Constructor for class edu.umd.cs.piccolo.util.PDimension
-
Copies the provided dimension.
- PDimension(double, double) - Constructor for class edu.umd.cs.piccolo.util.PDimension
-
Creates a dimension with the provided dimensions.
- 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.
- penColor - Variable in class edu.umd.cs.piccolox.swt.PSWTText
-
Current pen color.
- PFixedWidthStroke - Class in edu.umd.cs.piccolox.util
-
PFixedWidthStroke is the same as
BasicStroke
except that
PFixedWidthStroke has a fixed width on the screen so that even when the
canvas view is zooming its width stays the same in canvas coordinates.
- PFixedWidthStroke() - Constructor for class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Constructs a simple PFixedWidthStroke with the default stroke.
- PFixedWidthStroke(float) - Constructor for class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Constructs a simple PFixedWidthStroke with the width provided.
- PFixedWidthStroke(float, int, int) - Constructor for class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Constructs a PFixedWidthStroke with the stroke properties provided.
- PFixedWidthStroke(float, int, int, float) - Constructor for class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Constructs a PFixedWidthStroke with the stroke properties provided.
- PFixedWidthStroke(float, int, int, float, float[], float) - Constructor for class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
Constructs a PFixedWidthStroke with the stroke properties provided.
- PFrame - Class in edu.umd.cs.piccolox
-
PFrame is meant to be subclassed by applications that just need a
PCanvas in a JFrame.
- PFrame() - Constructor for class edu.umd.cs.piccolox.PFrame
-
Creates a PFrame with no title, not full screen, and with the default
canvas.
- PFrame(String, boolean, PCanvas) - Constructor for class edu.umd.cs.piccolox.PFrame
-
Creates a PFrame with the given title and with the default canvas.
- PFrame(String, GraphicsDevice, boolean, PCanvas) - Constructor for class edu.umd.cs.piccolox.PFrame
-
Creates a PFrame with the given title and with the default canvas being
displayed on the provided device.
- PHandle - Class in edu.umd.cs.piccolox.handles
-
PHandle is used to modify some aspect of Piccolo when it is dragged.
- PHandle(PLocator) - Constructor for class edu.umd.cs.piccolox.handles.PHandle
-
Construct a new handle that will use the given locator to locate itself
on its parent node.
- 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.
- PiccoloPresentation - Class in edu.umd.cs.piccolo.tutorial
-
- PiccoloPresentation() - Constructor for class edu.umd.cs.piccolo.tutorial.PiccoloPresentation
-
- 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.
- pickAfterChildren(PPickPath) - Method in class edu.umd.cs.piccolox.handles.PStickyHandleManager
-
Since this node is invisible, it doesn't make sense to have it be
pickable.
- pickAfterChildren(PPickPath) - Method in class edu.umd.cs.piccolox.nodes.PNodeCache
-
By always returning false, makes the PNodeCache instance NOT pickable.
- pickAfterChildren(PPickPath) - Method in class edu.umd.cs.piccolox.swt.PSWTStickyHandleManager
-
Since PSWTStickyHandle manager is not visible on screen, it just returns
false when it is asked to be repainted.
- 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(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(Image) - Constructor for class edu.umd.cs.piccolo.nodes.PImage
-
Construct a new PImage wrapping the given 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.
- PLens - Class in edu.umd.cs.piccolox.nodes
-
PLens is a simple default lens implementation for Piccolo2D.
- PLens() - Constructor for class edu.umd.cs.piccolox.nodes.PLens
-
Constructs the default PLens.
- PLens(PLayer) - Constructor for class edu.umd.cs.piccolox.nodes.PLens
-
Creates the default PLens and attaches the given layer to it.
- PLine - Class in edu.umd.cs.piccolox.nodes
-
PLine a class for drawing multisegment lines.
- PLine() - Constructor for class edu.umd.cs.piccolox.nodes.PLine
-
Constructs a new PLine with an empty LineShape.
- PLine(LineShape) - Constructor for class edu.umd.cs.piccolox.nodes.PLine
-
Constructs a PLine object for displaying the provided line.
- PLine(LineShape, Stroke) - Constructor for class edu.umd.cs.piccolox.nodes.PLine
-
Constructs a PLine for the given lineShape and the given stroke.
- PLocator - Class in edu.umd.cs.piccolox.util
-
PLocator provides an abstraction for locating points.
- PLocator() - Constructor for class edu.umd.cs.piccolox.util.PLocator
-
Default constructor provided for subclasses.
- PNavigationEventHandler - Class in edu.umd.cs.piccolox.event
-
PNavigationEventHandler implements simple focus based navigation.
- PNavigationEventHandler() - Constructor for class edu.umd.cs.piccolox.event.PNavigationEventHandler
-
Constructs a Navigation Event Handler that will only accepts left mouse
clicks.
- PNode - Class in edu.umd.cs.piccolo
-
PNode is the central abstraction in Piccolo.
- PNode(String) - Constructor for class edu.umd.cs.piccolo.PNode
-
Creates a new PNode with the given name.
- PNode() - Constructor for class edu.umd.cs.piccolo.PNode
-
Constructs a new PNode.
- PNode.PSceneGraphDelegate - Interface in edu.umd.cs.piccolo
-
PSceneGraphDelegate is an interface to receive low level node
events.
- PNodeCache - Class in edu.umd.cs.piccolox.nodes
-
PNodeCache caches a visual representation of it's children into an
image and uses this cached image for painting instead of painting it's
children directly.
- PNodeCache() - Constructor for class edu.umd.cs.piccolox.nodes.PNodeCache
-
- PNodeFilter - Interface in edu.umd.cs.piccolo.util
-
PNodeFilter is a interface that filters (accepts or rejects) nodes.
- PNodeLocator - Class in edu.umd.cs.piccolox.util
-
PNodeLocator provides an abstraction for locating points on a node.
- PNodeLocator(PNode) - Constructor for class edu.umd.cs.piccolox.util.PNodeLocator
-
Constructs a locator responsible for locating the given node.
- PNotification - Class in edu.umd.cs.piccolox.event
-
PNotification objects encapsulate information so that it can be
broadcast to other objects by a PNotificationCenter.
- PNotification(String, Object, Map) - Constructor for class edu.umd.cs.piccolox.event.PNotification
-
Creates a notification.
- PNotificationCenter - Class in edu.umd.cs.piccolox.event
-
PNotificationCenter provides a way for objects that don't know about
each other to communicate.
- PNotificationCenter.NotificationKey - Class in edu.umd.cs.piccolox.event
-
Represents a notification type from a particular object.
- PNotificationCenter.NotificationKey(Object, Object) - Constructor for class edu.umd.cs.piccolox.event.PNotificationCenter.NotificationKey
-
Creates a notification key with the provided name associated to the
object given.
- PNotificationCenter.NotificationKey(Object, Object, ReferenceQueue) - Constructor for class edu.umd.cs.piccolox.event.PNotificationCenter.NotificationKey
-
Creates a notification key with the provided name associated with the
provided object.
- PNotificationCenter.NotificationTarget - Class in edu.umd.cs.piccolox.event
-
A NotificationTarget is a method on a particular object that can be
invoked.
- PNotificationCenter.NotificationTarget(Object, Method) - Constructor for class edu.umd.cs.piccolox.event.PNotificationCenter.NotificationTarget
-
Creates a notification target representing the method on the
particular object provided.
- 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.
- POcclusionDetection - Class in edu.umd.cs.piccolox.util
-
Experimental class for detecting occlusions.
- POcclusionDetection() - Constructor for class edu.umd.cs.piccolox.util.POcclusionDetection
-
- 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.
- pointOne - Variable in class edu.umd.cs.piccolo.examples.AngleNodeExample.AngleNode
-
- Points - Interface in edu.umd.cs.piccolox.util
-
Interface for a sequence of points.
- pointTwo - Variable in class edu.umd.cs.piccolo.examples.AngleNodeExample.AngleNode
-
- pop() - Method in class edu.umd.cs.piccolo.util.PStack
-
Removes top element on the stack and returns it.
- popCamera(PCamera) - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Deprecated.
in favor of popCamera()
- popCamera() - Method in class edu.umd.cs.piccolo.util.PPaintContext
-
Removes the camera at the top of the camera stack.
- 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.
- popCursor() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Pop the cursor on top of the cursorStack and set it as the canvas cursor.
- 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.
- PositionExample - Class in edu.umd.cs.piccolo.examples
-
- PositionExample() - Constructor for class edu.umd.cs.piccolo.examples.PositionExample
-
- PositionExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.PositionExample
-
- positionNode(PNode, double, double, double, double) - Method in interface edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor
-
Positions the node in the bounds defined.
- PositionPathActivityExample - Class in edu.umd.cs.piccolo.examples
-
This example shows how create a simple acitivty to animate a node along a
general path.
- PositionPathActivityExample() - Constructor for class edu.umd.cs.piccolo.examples.PositionPathActivityExample
-
- positions - Variable in class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Points that define the animation's path.
- postNotification(String, Object) - Method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Post a new notification with notificationName and object.
- postNotification(String, Object, Map) - Method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Creates a notification with the name notificationName, associates it with
the object, and posts it to this notification center.
- postNotification(PNotification) - Method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Post the notification to this notification center.
- postOverride() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
- 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.
- PPathActivity - Class in edu.umd.cs.piccolox.activities
-
PPathActivity is the abstract base class for all path activity
interpolators.
- PPathActivity(long, long, float[]) - Constructor for class edu.umd.cs.piccolox.activities.PPathActivity
-
Constructs a PPathActivity that will last the specified duration, will
animate every stepRate and will progress according to the knots provided.
- PPathActivity(long, long, int, int, float[]) - Constructor for class edu.umd.cs.piccolox.activities.PPathActivity
-
Constructs a PPathActivity that will repeat the specified number of
times, last the specified duration, will animate every stepRate and will
progress according to the knots provided.
- 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.
- PPositionPathActivity - Class in edu.umd.cs.piccolox.activities
-
PPositionPathActivity animates through a sequence of points.
- PPositionPathActivity(long, long, PPositionPathActivity.Target) - Constructor for class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Constructs a position activity that acts on the given target for the
duration provided and will update it's position at the given stepRate.
- PPositionPathActivity(long, long, PPositionPathActivity.Target, float[], Point2D[]) - Constructor for class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Constructs a position activity that acts on the given target for the
duration provided and will update it's position at the given stepRate.
- PPositionPathActivity(long, long, int, int, PPositionPathActivity.Target, float[], Point2D[]) - Constructor for class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Constructs a position activity that will repeat the number of times
specified.
- PPositionPathActivity.Target - Interface in edu.umd.cs.piccolox.activities
-
Interface that objects must conform to in order to have their position
animated.
- pressPt - Variable in class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
- 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.
- PrintExample - Class in edu.umd.cs.piccolo.examples
-
Adding print action to scrolling example.
- PrintExample() - Constructor for class edu.umd.cs.piccolo.examples.PrintExample
-
- PrintExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.PrintExample
-
- PrintExample.DocumentScrollDirector - Class in edu.umd.cs.piccolo.examples
-
A modified scroll director that performs document based scroling rather
than window based scrolling (ie.
- PrintExample.DocumentScrollDirector() - Constructor for class edu.umd.cs.piccolo.examples.PrintExample.DocumentScrollDirector
-
- 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.
- processEvent(PInputEvent, int) - Method in class edu.umd.cs.piccolox.pswing.PSwingEventHandler
-
Process a Piccolo2D event and (if active) dispatch the corresponding
Swing 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.
- processKeyQueue() - Method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Iterates over available keys in the key queue and removes the queue from
the listener map.
- 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.
- properties - Variable in class edu.umd.cs.piccolox.event.PNotification
-
A free form map of properties to attach to this notification.
- PROPERTY_BOUNDS - Static variable in class edu.umd.cs.piccolo.PNode
-
- PROPERTY_CAMERAS - Static variable in class edu.umd.cs.piccolo.PLayer
-
- PROPERTY_CHILDREN - Static variable in class edu.umd.cs.piccolo.PNode
-
- 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
-
- PROPERTY_CODE_CAMERAS - Static variable in class edu.umd.cs.piccolo.PLayer
-
- PROPERTY_CODE_CHILDREN - Static variable in class edu.umd.cs.piccolo.PNode
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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_SHAPE - Static variable in class edu.umd.cs.piccolox.swt.PSWTPath
-
The property name that identifies a change of this node's path.
- 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
-
- 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
-
- 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
).
- propertyChange(PropertyChangeEvent) - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample.BirdsEyeView
-
This method will get called when the viewed canvas changes
- propertyChange(PropertyChangeEvent) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Listens for changes in font on components rooted at this PSwing.
- propertyChange(PropertyChangeEvent) - Method in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
Invoked when the camera's view changes, or the bounds of the root or
camera changes.
- PScrollDirector - Interface in edu.umd.cs.piccolox.swing
-
The interface an application can implement to control scrolling in a
PScrollPane->PViewport->ZCanvas component hierarchy.
- PScrollPane - Class in edu.umd.cs.piccolox.swing
-
A simple extension to a standard scroll pane that uses the jazz version of
the viewport by default.
- PScrollPane(Component, int, int) - Constructor for class edu.umd.cs.piccolox.swing.PScrollPane
-
Constructs a scollpane for the provided component with the specified
scrollbar policies.
- PScrollPane(Component) - Constructor for class edu.umd.cs.piccolox.swing.PScrollPane
-
Constructs a scroll pane for the provided component.
- PScrollPane(int, int) - Constructor for class edu.umd.cs.piccolox.swing.PScrollPane
-
Constructs a scroll pane not attached to any component with the specified
scroll bar policies.
- PScrollPane() - Constructor for class edu.umd.cs.piccolox.swing.PScrollPane
-
Constructs a scroll pane not attached to any component.
- PScrollPane.PNullAction - Class in edu.umd.cs.piccolox.swing
-
An action to do nothing - put into an action map to keep it from looking
to its parent.
- PScrollPane.PNullAction() - Constructor for class edu.umd.cs.piccolox.swing.PScrollPane.PNullAction
-
- PScrollPane.PScrollAction - Class in edu.umd.cs.piccolox.swing
-
Action to scroll left/right/up/down.
- PScrollPane.PScrollAction(String, int, int, boolean) - Constructor for class edu.umd.cs.piccolox.swing.PScrollPane.PScrollAction
-
Constructs a scroll action with the given name in the given
orientiation stated and in the direction provided.
- PScrollPane.PScrollEndAction - Class in edu.umd.cs.piccolox.swing
-
Action to scroll to last visible location.
- PScrollPane.PScrollEndAction(String) - Constructor for class edu.umd.cs.piccolox.swing.PScrollPane.PScrollEndAction
-
Constructs a scroll to end action with the given name.
- PScrollPaneLayout - Class in edu.umd.cs.piccolox.swing
-
A subclass of ScrollPaneLayout that looks at the Viewport for sizing
information rather than View.
- PScrollPaneLayout() - Constructor for class edu.umd.cs.piccolox.swing.PScrollPaneLayout
-
- PScrollPaneLayout.UIResource - Class in edu.umd.cs.piccolox.swing
-
The UI resource version of PScrollPaneLayout.
- PScrollPaneLayout.UIResource() - Constructor for class edu.umd.cs.piccolox.swing.PScrollPaneLayout.UIResource
-
- PSelectionEventHandler - Class in edu.umd.cs.piccolox.event
-
PSelectionEventHandler
provides standard interaction for
selection.
- PSelectionEventHandler(PNode, PNode) - Constructor for class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Creates a selection event handler.
- PSelectionEventHandler(PNode, List) - Constructor for class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Creates a selection event handler.
- PSelectionEventHandler.BoundsFilter - Class in edu.umd.cs.piccolox.event
-
Class used to filter nodes that intersect with the marquee's bounds.
- PSelectionEventHandler.BoundsFilter(PBounds) - Constructor for class edu.umd.cs.piccolox.event.PSelectionEventHandler.BoundsFilter
-
Constructs a BoundsFilter for the given bounds.
- PSemanticStroke - Class in edu.umd.cs.piccolox.util
-
- PSemanticStroke(Stroke) - Constructor for class edu.umd.cs.piccolox.util.PSemanticStroke
-
- PShadow - Class in edu.umd.cs.piccolox.nodes
-
Shadow node.
- PShadow(Image, Paint, int) - Constructor for class edu.umd.cs.piccolox.nodes.PShadow
-
Create a new shadow node containing a shadow of the specified source image using the
specified shadow paint and gaussian blur radius.
- 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.
- PStickyHandleManager - Class in edu.umd.cs.piccolox.handles
-
This class relays adjustments to its bounds to its target.
- PStickyHandleManager(PCamera, PNode) - Constructor for class edu.umd.cs.piccolox.handles.PStickyHandleManager
-
Constructs a sticky handle manager responsible for updating the position
of its associated node on the camera provided.
- PStyledText - Class in edu.umd.cs.piccolox.nodes
-
- PStyledText() - Constructor for class edu.umd.cs.piccolox.nodes.PStyledText
-
Constructs an empty PStyledText element.
- PStyledText.LineInfo - Class in edu.umd.cs.piccolox.nodes
-
The info for rendering and computing the bounds of a line.
- PStyledText.LineInfo() - Constructor for class edu.umd.cs.piccolox.nodes.PStyledText.LineInfo
-
Creates a LineInfo that contains no segments.
- PStyledText.RunInfo - Class in edu.umd.cs.piccolox.nodes
-
Simple class to represent an range within the document.
- PStyledText.RunInfo(int, int) - Constructor for class edu.umd.cs.piccolox.nodes.PStyledText.RunInfo
-
Constructs a RunInfo representing the range within the document from
runStart to runLimit.
- PStyledText.SegmentInfo - Class in edu.umd.cs.piccolox.nodes
-
Encapsulates information about a particular LineSegment.
- PStyledText.SegmentInfo() - Constructor for class edu.umd.cs.piccolox.nodes.PStyledText.SegmentInfo
-
Construct a segment with null properties.
- PStyledTextEventHandler - Class in edu.umd.cs.piccolox.event
-
- PStyledTextEventHandler(PCanvas) - Constructor for class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Basic constructor for PStyledTextEventHandler.
- PStyledTextEventHandler(PCanvas, JTextComponent) - Constructor for class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Constructor for PStyledTextEventHandler that allows an editor to be
specified.
- PSwing - Class in edu.umd.cs.piccolox.pswing
-
PSwing is used to add Swing Components to a Piccolo2D canvas.
- PSwing(JComponent) - Constructor for class edu.umd.cs.piccolox.pswing.PSwing
-
Create a new visual component wrapper for the specified Swing component.
- PSwing(PSwingCanvas, JComponent) - Constructor for class edu.umd.cs.piccolox.pswing.PSwing
-
- PSWING_PROPERTY - Static variable in class edu.umd.cs.piccolox.pswing.PSwing
-
Key for this object in the Swing component's client properties.
- PSwingCanvas - Class in edu.umd.cs.piccolox.pswing
-
The PSwingCanvas is a PCanvas that can display Swing components with
the PSwing adapter.
- PSwingCanvas() - Constructor for class edu.umd.cs.piccolox.pswing.PSwingCanvas
-
Construct a new PSwingCanvas.
- PSwingCanvas.ChildWrapper - Class in edu.umd.cs.piccolox.pswing
-
JComponent wrapper for a PSwingCanvas.
- PSwingCanvas.ChildWrapper() - Constructor for class edu.umd.cs.piccolox.pswing.PSwingCanvas.ChildWrapper
-
Create a new JComponent wrapper for the specified PSwingCanvas.
- PSwingDynamicComponentExample - Class in edu.umd.cs.piccolo.examples.pswing
-
Demonstrates a PSwing problem with dynamic JComponents.
- PSwingDynamicComponentExample() - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingDynamicComponentExample
-
- PSwingDynamicComponentExample.SleepThread - Class in edu.umd.cs.piccolo.examples.pswing
-
- PSwingDynamicComponentExample.SleepThread(long) - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingDynamicComponentExample.SleepThread
-
- PSwingEvent - Interface in edu.umd.cs.piccolox.pswing
-
Interface allowing PSwing events that originated from swing and are destined
for PSwing nodes must conform to.
- PSwingEventHandler - Class in edu.umd.cs.piccolox.pswing
-
Event handler to send MousePressed, MouseReleased, MouseMoved, MouseClicked,
and MouseDragged events on Swing components within a PCanvas.
- PSwingEventHandler(PSwingCanvas, PNode) - Constructor for class edu.umd.cs.piccolox.pswing.PSwingEventHandler
-
Constructs a new PSwingEventHandler for the given canvas, and a node that
will receive the mouse events.
- PSwingEventHandler(PSwingCanvas) - Constructor for class edu.umd.cs.piccolox.pswing.PSwingEventHandler
-
Constructs a new PSwingEventHandler for the given canvas.
- PSwingExample - Class in edu.umd.cs.piccolo.examples
-
Demonstrates the use of PSwing in a Piccolo application.
- PSwingExample() - Constructor for class edu.umd.cs.piccolo.examples.PSwingExample
-
- PSwingExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.PSwingExample
-
- PSwingExample1 - Class in edu.umd.cs.piccolo.examples.pswing
-
User: Sam Reid Date: Jul 11, 2005 Time: 12:15:55 PM
- PSwingExample1() - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingExample1
-
- PSwingExample2 - Class in edu.umd.cs.piccolo.examples.pswing
-
User: Sam Reid Date: Jul 11, 2005 Time: 12:15:55 PM
- PSwingExample2() - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingExample2
-
- PSwingExample2.ZVisualLeaf - Class in edu.umd.cs.piccolo.examples.pswing
-
- PSwingExample2.ZVisualLeaf(PNode) - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingExample2.ZVisualLeaf
-
- PSwingExample3 - Class in edu.umd.cs.piccolo.examples.pswing
-
User: Sam Reid Date: Jul 11, 2005 Time: 12:15:55 PM
- PSwingExample3() - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingExample3
-
- PSwingExample3.ExampleGrid - Class in edu.umd.cs.piccolo.examples.pswing
-
- PSwingExample3.ExampleGrid(int) - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingExample3.ExampleGrid
-
- PSwingExample3.ExampleList - Class in edu.umd.cs.piccolo.examples.pswing
-
- PSwingExample3.ExampleList(String) - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingExample3.ExampleList
-
- PSwingExample3.ExampleList.ExampleNode - Class in edu.umd.cs.piccolo.examples.pswing
-
- PSwingExample3.ExampleList.ExampleNode(String, PNode) - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingExample3.ExampleList.ExampleNode
-
- PSwingExample4 - Class in edu.umd.cs.piccolo.examples.pswing
-
- PSwingExample4() - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingExample4
-
- PSwingMemoryLeakExample - Class in edu.umd.cs.piccolo.examples.pswing
-
Attempt to replicate the PSwingRepaintManager-related memory leak reported in
Issue 74.
- PSwingMemoryLeakExample() - Constructor for class edu.umd.cs.piccolo.examples.pswing.PSwingMemoryLeakExample
-
Create a new PSwing memory leak example.
- PSwingMouseEvent - Class in edu.umd.cs.piccolox.pswing
-
PMouseEvent is an event which indicates that a mouse action occurred
in a node.
- PSwingMouseEvent(int, MouseEvent, PInputEvent) - Constructor for class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Constructs a new PMouse event from a Java MouseEvent.
- PSwingMouseMotionEvent - Class in edu.umd.cs.piccolox.pswing
-
PMouseMotionEvent is an event which indicates that a mouse motion
action occurred in a node.
- PSwingMouseMotionEvent(int, MouseEvent, PInputEvent) - Constructor for class edu.umd.cs.piccolox.pswing.PSwingMouseMotionEvent
-
Constructs a new PMouse event from a Java MouseEvent.
- PSwingMouseWheelEvent - Class in edu.umd.cs.piccolox.pswing
-
PMouseMotionEvent is an event which indicates that a mouse motion
action occurred in a node.
- PSwingMouseWheelEvent(int, MouseWheelEvent, PInputEvent) - Constructor for class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Constructs a new PMouseWheel event from a Java MouseWheelEvent.
- PSwingRepaintManager - Class in edu.umd.cs.piccolox.pswing
-
This RepaintManager replaces the default Swing implementation, and is used to
repaint dirty regions of PSwing components and make sure the PSwings have
the appropriate size.
- PSwingRepaintManager() - Constructor for class edu.umd.cs.piccolox.pswing.PSwingRepaintManager
-
- PSWTBoundsHandle - Class in edu.umd.cs.piccolox.swt
-
PSWTBoundsHandle a handle for resizing the bounds of another node.
- PSWTBoundsHandle(PBoundsLocator) - Constructor for class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Creates a bounds handle that will use the provided bounds locator to
position itself.
- PSWTCanvas - Class in edu.umd.cs.piccolox.swt
-
PSWTCanvas is an SWT Composite that can be used to embed
Piccolo into a SWT application.
- PSWTCanvas(Composite, int) - Constructor for class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Construct a canvas with the basic scene graph consisting of a root,
camera, and layer.
- PSWTHandle - Class in edu.umd.cs.piccolox.swt
-
PSWTHandle is used to modify some aspect of Piccolo when it is dragged.
- PSWTHandle(PLocator) - Constructor for class edu.umd.cs.piccolox.swt.PSWTHandle
-
Construct a new handle that will use the given locator to locate itself
on its parent node.
- PSWTImage - Class in edu.umd.cs.piccolox.swt
-
PSWTImage is a wrapper around a org.eclipse.swt.graphics.Image.
- PSWTImage(PSWTCanvas) - Constructor for class edu.umd.cs.piccolox.swt.PSWTImage
-
Constructs a PSWTImage attached to the provided canvas and with a null
image.
- PSWTImage(PSWTCanvas, Image) - Constructor for class edu.umd.cs.piccolox.swt.PSWTImage
-
Constructs a PSWTImage wrapping the provided image.
- PSWTImage(PSWTCanvas, String) - Constructor for class edu.umd.cs.piccolox.swt.PSWTImage
-
Constructs a PSWTImage wrapping the provided image after loading it from
the file.
- PSWTKeyEvent - Class in edu.umd.cs.piccolox.swt
-
Key event overridden to wrap an SWT KeyEvent as a swing KeyEvent.
- PSWTKeyEvent(KeyEvent, int) - Constructor for class edu.umd.cs.piccolox.swt.PSWTKeyEvent
-
Creates an object that wraps a SWT Key event.
- PSWTMouseEvent - Class in edu.umd.cs.piccolox.swt
-
Mouse event overridden to wrap an SWT MouseEvent as a Swing MouseEvent.
- PSWTMouseEvent(MouseEvent, int, int) - Constructor for class edu.umd.cs.piccolox.swt.PSWTMouseEvent
-
Constructs a PSWTMouseEvent that wraps the provided SWT MouseEvent as a
Swing one.
- PSWTPath - Class in edu.umd.cs.piccolox.swt
-
PSWTPath is a wrapper around a java.awt.geom.GeneralPath, with
workarounds for drawing shapes in SWT where necessary.
- PSWTPath() - Constructor for class edu.umd.cs.piccolox.swt.PSWTPath
-
Creates an empty PSWTPath.
- PSWTPath(Shape) - Constructor for class edu.umd.cs.piccolox.swt.PSWTPath
-
Creates an SWTPath in the given shape with the default paint and stroke.
- PSWTRoot - Class in edu.umd.cs.piccolox.swt
-
PSWTRoot is a subclass of PRoot that is designed to work in the SWT
environment.
- PSWTRoot(Composite) - Constructor for class edu.umd.cs.piccolox.swt.PSWTRoot
-
Constructs a PSWTRoot attached to the provided composite.
- PSWTSelectionEventHandler - Class in edu.umd.cs.piccolox.swt
-
Selection event handler modified to use SWT paths instead of normal paths.
- PSWTSelectionEventHandler(PNode, PNode) - Constructor for class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
Creates a selection event handler.
- PSWTSelectionEventHandler(PNode, List) - Constructor for class edu.umd.cs.piccolox.swt.PSWTSelectionEventHandler
-
Creates a selection event handler.
- PSWTStickyHandleManager - Class in edu.umd.cs.piccolox.swt
-
A class for managing the position of a sticky handle.
- PSWTStickyHandleManager(PCamera, PNode) - Constructor for class edu.umd.cs.piccolox.swt.PSWTStickyHandleManager
-
Creates a sticky handle that will be displayed on the given camera and
will update the provided target.
- PSWTText - Class in edu.umd.cs.piccolox.swt
-
PSWTText creates a visual component to support text.
- PSWTText() - Constructor for class edu.umd.cs.piccolox.swt.PSWTText
-
Default constructor for PSWTTest.
- PSWTText(String) - Constructor for class edu.umd.cs.piccolox.swt.PSWTText
-
PSWTTest constructor with initial text.
- PSWTText(String, Font) - Constructor for class edu.umd.cs.piccolox.swt.PSWTText
-
PSWTTest constructor with initial text and font.
- 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, 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(long, long, int, int, PTransformActivity.Target, AffineTransform) - Constructor for class edu.umd.cs.piccolo.activities.PTransformActivity
-
Create a new PTransformActivity.
- PTransformActivity.Target - Interface in edu.umd.cs.piccolo.activities
-
Target Objects that want to get transformed by the transform
activity must implement this interface.
- PulseExample - Class in edu.umd.cs.piccolo.examples
-
This example shows how to set up interpolating activities that repeat.
- PulseExample() - Constructor for class edu.umd.cs.piccolo.examples.PulseExample
-
- PulseExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.PulseExample
-
- 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.
- pushCursor(Cursor) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Set the canvas cursor, and remember the previous cursor on the cursor
stack.
- 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
-
- PViewport - Class in edu.umd.cs.piccolox.swing
-
A subclass of JViewport that talks to the scroll director to negotiate the
view positions and sizes.
- PViewport() - Constructor for class edu.umd.cs.piccolox.swing.PViewport
-
Pass constructor info to super.
- PViewport.PViewportLayout - Class in edu.umd.cs.piccolox.swing
-
A simple layout manager to give the ZCanvas the same size as the Viewport.
- PViewport.PViewportLayout() - Constructor for class edu.umd.cs.piccolox.swing.PViewport.PViewportLayout
-
- 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.
- PZoomToEventHandler - Class in edu.umd.cs.piccolox.event
-
PZoomToEventHandler is used to zoom the camera view to the node
clicked on with button one.
- PZoomToEventHandler() - Constructor for class edu.umd.cs.piccolox.event.PZoomToEventHandler
-
Constructs a PZoomToEventHandler that only recognizes BUTTON1 events.
- 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.
- readResolve() - Method in class edu.umd.cs.piccolox.util.PFixedWidthStroke
-
- readStroke(ObjectInputStream) - Static method in class edu.umd.cs.piccolo.util.PUtil
-
Reconstitutes a stroke from the provided Object Input Stream.
- recomputeBounds() - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Recalculates this node's bounding box by examining it's text content.
- recomputeLayout() - Method in class edu.umd.cs.piccolo.nodes.PText
-
Compute the bounds of the text wrapped by this node.
- recomputeLayout() - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
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.
- relocateHandle() - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Force this handle to relocate itself using its locator.
- relocateHandle() - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
Force this handle to relocate itself using its locator.
- 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.
- removeAllChildren() - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
PNode.removeAllChildren does not call removeChild, it manipulates an
internal data structure.
- removeAllPoints() - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Removes all points from the underlying line.
- removeAllPoints() - Method in class edu.umd.cs.piccolox.util.XYArray
-
Remove all points from this XYArray.
- removeBoundsHandlesFrom(PNode) - Static method in class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Removes all bounds from the node provided.
- removeBoundsHandlesFrom(PNode) - Static method in class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Removes all bounds handles from the specified node.
- removeCamera(PCamera) - Method in class edu.umd.cs.piccolo.PLayer
-
Remove the camera from this layer's camera list.
- removeCamera(int) - Method in class edu.umd.cs.piccolo.PLayer
-
Remove the camera at the given index from this layer's camera list.
- removeChild(PNode) - Method in class edu.umd.cs.piccolo.PNode
-
Remove the given child from this node's children 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(int) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Removes a node at a specified index.
- 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.
- removeEscapeFullScreenModeListener() - Method in class edu.umd.cs.piccolox.PFrame
-
This method removes the escape full screen mode key listener.
- removeFromParent() - Method in class edu.umd.cs.piccolo.PNode
-
Delete this node by removing it from its parent's list of children.
- removeFromSwingWrapper() - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Remove from the SwingWrapper; throws an exception if no canvas is
associated with this PSwing.
- 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.
- removeInputEventListener(PInputEventListener) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Remove an input listener to the camera associated with this canvas.
- 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(PLayer) - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample.BirdsEyeView
-
Remove the layer from the viewed layers
- 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.
- 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.piccolox.nodes.PLens
-
Removes the provided layer from the camera.
- removeListener(Object) - Method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Removes the listener so that it no longer receives notfications from this
notification center.
- removeListener(Object, String, Object) - Method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Unregisters the listener as a listener for the specified kind of
notification.
- removeListener(Object, Object) - Method in class edu.umd.cs.piccolox.event.PNotificationCenter
-
Removes the given listener from receiving notifications with the given
key.
- removePoints(int, int) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Removes points from the line.
- removePoints(int, int) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Removes n points from the LineShape starting at the provided index.
- removePoints(int, int) - Method in interface edu.umd.cs.piccolox.util.MutablePoints
-
Removes a subsequence of points.
- removePoints(int, int) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Remove a subsequence of points from this XYArray starting as pos.
- 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.
- removePSwing(PSwing) - Method in class edu.umd.cs.piccolox.pswing.PSwingCanvas
-
- removeSelectableParent(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Removes the node provided from the set of selectable parents.
- removeTimer(SWTTimer) - Method in class edu.umd.cs.piccolox.swt.SWTTimerQueue
-
Removes the provided timer from the Timer Queue.
- 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.
- renderCamera - Variable in class edu.umd.cs.piccolo.examples.VolatileDecoratorGroup
-
- renderQuality - Variable in class edu.umd.cs.piccolo.util.PPaintContext
-
The current render quality that all rendering should be done in.
- 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() - 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.POffscreenCanvas
-
Called to notify PComponent that given bounds need repainting.
- repaint(PBounds) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Repaints the specified portion of this visual component.
- repaint() - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Exists to dispatch from the Swing's repaint method to SWT's redraw
method.
- repaint(PBounds) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Flags the bounds provided as needing to be redrawn.
- 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.
- repaintFrom(PBounds, PNode) - Method in class edu.umd.cs.piccolox.nodes.PClip
-
Callback that receives notification of repaint requests from nodes in
this node's tree.
- repaintFrom(PBounds, PNode) - Method in class edu.umd.cs.piccolox.nodes.PNodeCache
-
Handles a repaint event issued from a node in this node's tree.
- 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
-
- 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.
- 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.
- reshapeEditor() - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Adjusts the shape of the editor to fit the current document.
- reshapeEditorLater() - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Sometimes we need to invoke this later because the document events seem
to get fired before the text is actually incorporated into the document.
- restart() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Restarts the Timer
, canceling any pending firings and
causing it to fire with its initial delay.
- root - Variable in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
The canvas' root.
- rotate(double) - Method in class edu.umd.cs.piccolo.PNode
-
Rotates this node by theta (in radians) about the 0,0 point.
- rotate(double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- rotate(double, double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- rotateAboutPoint(double, Point2D) - Method in class edu.umd.cs.piccolo.PNode
-
Rotates this node by theta (in radians) about the given point.
- rotateAboutPoint(double, double, double) - 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.
- rotateNodes() - Method in class edu.umd.cs.piccolo.examples.DynamicExample
-
- rowBarLayer - Variable in class edu.umd.cs.piccolo.examples.ChartLabelExample
-
- run() - Method in class edu.umd.cs.piccolo.examples.pswing.PSwingExample1
-
- run() - Method in class edu.umd.cs.piccolox.swt.SWTTimer.SWTDoPostEvent
-
- run() - Method in class edu.umd.cs.piccolox.swt.SWTTimerQueue
-
Dispatches work to timers until the queue is told to stop running.
- run() - Method in class edu.umd.cs.piccolox.swt.SWTTimerQueue.SWTTimerQueueRestart
-
Attempts to restart the queue associated with the display.
- running - Variable in class edu.umd.cs.piccolox.swt.SWTTimer
-
- scale(double) - Method in class edu.umd.cs.piccolo.PNode
-
Scale this nodes transform by the given amount.
- scale(double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- scaleAboutPoint(double, Point2D) - 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.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.
- 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 scale
about 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 scale
about 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.
- scheduleProcessInputsIfNeeded() - Method in class edu.umd.cs.piccolox.swt.PSWTRoot
-
Processes Inputs if any kind of IO needs to be done.
- scrollDirector - Variable in class edu.umd.cs.piccolox.swing.PViewport
-
Controls what happens when scrolling occurs.
- ScrollingExample - Class in edu.umd.cs.piccolo.examples
-
This creates a simple scene and allows switching between traditional
scrolling where the scrollbars control the view and alternate scrolling where
the scrollbars control the document.
- ScrollingExample() - Constructor for class edu.umd.cs.piccolo.examples.ScrollingExample
-
- ScrollingExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.ScrollingExample
-
- ScrollingExample.DocumentScrollDirector - Class in edu.umd.cs.piccolo.examples
-
A modified scroll director that performs document based scroling rather
than window based scrolling (ie.
- ScrollingExample.DocumentScrollDirector() - Constructor for class edu.umd.cs.piccolo.examples.ScrollingExample.DocumentScrollDirector
-
- scrollInProgress - Variable in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
Flag to indicate when scrolling is currently in progress.
- scrollPane - Variable in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
The scrollpane that contains the viewport.
- segments - Variable in class edu.umd.cs.piccolox.nodes.PStyledText.LineInfo
-
Segments which make up this line's formatting segments.
- select(Collection) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Marks all items as selected.
- select(Map) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Marks all keys as selected.
- select(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Selected the provided node if not already selected.
- SELECTION_CHANGED_NOTIFICATION - Static variable in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Notification name that identifies a change in the selection.
- selectionChanged(PNotification) - Method in class edu.umd.cs.piccolo.examples.SelectionExample
-
- SelectionExample - Class in edu.umd.cs.piccolo.examples
-
This example shows how the selection event handler works.
- SelectionExample() - Constructor for class edu.umd.cs.piccolo.examples.SelectionExample
-
- SelectionExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.SelectionExample
-
- sendInputEventToInputManager(InputEvent, int) - Method in class edu.umd.cs.piccolo.PCanvas
-
Sends the given input event with the given type to the current
InputManager.
- sendInputEventToInputManager(InputEvent, int) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Dispatches the given event to the default input manager for the root of
this canvas.
- 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.
- setActive(boolean) - Method in class edu.umd.cs.piccolox.pswing.PSwingEventHandler
-
Sets whether this event handler can fire 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.
- setAnchor(SwingLayoutNode.Anchor) - Method in class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Sets the default anchor.
- 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.
- setAnimatingRenderQuality(int) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
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.
- setBackground(Color) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setBackground(Color) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Sets the background color to the provided swt color.
- setBackgroundColor(Color) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Sets the current background color.
- setBounds(double, double, double, double) - Method in class edu.umd.cs.piccolo.examples.AngleNodeExample.AngleNode
-
- 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(Rectangle2D) - Method in class edu.umd.cs.piccolo.nodes.PHtmlView
-
Set the bounds of this node to the given value.
- 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.PNode
-
Set the bounds of this node to the given value.
- 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(double, double, double, double) - Method in class edu.umd.cs.piccolox.handles.PStickyHandleManager
-
By changing this sticky handle's bounds, it propagates that change to its
associated node.
- setBounds(double, double, double, double) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Set the bounds of this node to the given position and size.
- setBounds(double, double, double, double) - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Set the bounds of this node to the given position and size.
- setBounds(int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Changes the bounds of this PSWTCanvas.
- setBounds(double, double, double, double) - Method in class edu.umd.cs.piccolox.swt.PSWTStickyHandleManager
-
Set the bounds of this node to the given position and size.
- 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
.
- setCamera(PCamera) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Set the camera associated with this canvas.
- setCameraTarget(PCamera, PNode) - Method in class edu.umd.cs.piccolox.handles.PStickyHandleManager
-
Changes the node and camera on which this manager is operating.
- setCameraTarget(PCamera, PNode) - Method in class edu.umd.cs.piccolox.swt.PSWTStickyHandleManager
-
Changes the associated camera and target for this sticky handle.
- 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.
- setClip(int, int, int, int) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setClip(Shape) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
This method isn't really supported by SWT - so will use the shape bounds.
- setCoalesce(boolean) - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Sets whether the Timer
coalesces multiple pending
ActionEvent
firings.
- 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.
- setColor(Color) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setColor(Color) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Sets the foreground color to the provided swt color.
- setComponent(PComponent) - Method in class edu.umd.cs.piccolo.PCamera
-
Set the component for this camera to component
.
- setComposite(Composite) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setConstrainHeightToTextHeight(boolean) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set to true
if this text node should constrain its height to
the height of its text.
- setConstrainHeightToTextHeight(boolean) - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Controls whether this node changes its height to fit the height of its
text.
- setConstrainWidthToTextWidth(boolean) - Method in class edu.umd.cs.piccolo.nodes.PText
-
Set to true
if this text node should constrain its width to
the width of its text.
- setConstrainWidthToTextWidth(boolean) - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Controls whether this node changes its width to fit 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.
- setDefaultRenderQuality(int) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Set the render quality that should be used when rendering this canvas.
- setDelay(int) - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Sets the Timer
's delay, the number of milliseconds between
successive action events.
- setDelegate(PActivity.PActivityDelegate) - Method in class edu.umd.cs.piccolo.activities.PActivity
-
Set the delegate for this activity.
- setDeleteKeyActive(boolean) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Specifies if the DELETE key should delete the selection.
- 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.
- setDocument(Document) - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Set the document on this PStyledText.
- setDoubleBuffered(boolean) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Set whether this canvas should use double buffering - the default is yes.
- 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.
- setEditing(boolean) - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Set whether this node is current in editing mode.
- setEnabled(boolean) - Method in class edu.umd.cs.piccolo.PCanvas
-
Override setEnabled to install/remove canvas input sources as needed.
- setEnvironment(PSwing, PSwingCanvas) - Method in class edu.umd.cs.piccolox.pswing.PComboBox
-
Clients must set the PSwing and PSwingCanvas environment for this
PComboBox to work properly.
- setEventFilter(PInputEventFilter) - Method in class edu.umd.cs.piccolo.event.PBasicInputEventHandler
-
Changes this event handler's filter to the one provided.
- setExpirationTime(long) - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
- setFirstLoop(boolean) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Set if the activity is executing its first loop.
- setFocusDay(DayNode, boolean) - Method in class edu.umd.cs.piccolo.examples.fisheye.CalendarNode
-
- 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
.
- setFont(Font) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Sets the font for the text.
- setFont(Font) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setFont(Font) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Set the font for this SWTGraphics2D 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.
- setFullScreenMode(boolean) - Method in class edu.umd.cs.piccolox.PFrame
-
Switches full screen state.
- 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
.
- setGreekThreshold(double) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Set the Greek threshold in scale to greekThreshold
.
- setGreekThreshold(double) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Sets the current greek threshold.
- setHandled(boolean) - Method in class edu.umd.cs.piccolo.event.PInputEvent
-
Set that this event has been handled by an event handler.
- setHasHeightFocus(boolean) - Method in class edu.umd.cs.piccolo.examples.fisheye.DayNode
-
- setHasWidthFocus(boolean) - Method in class edu.umd.cs.piccolo.examples.fisheye.DayNode
-
- 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
.
- setHorizontalScrollBar(JScrollBar) - Method in class edu.umd.cs.piccolox.swing.PScrollPane
-
Intercepts the horizontal scroll bar setter to ensure that the adjustment
listener is installed appropriately.
- setImage(String) - Method in class edu.umd.cs.piccolo.nodes.PImage
-
Set the image that is wrapped by this PImage node.
- 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.piccolox.swt.PSWTImage
-
Set the image that is wrapped by this PImage node.
- setImage(Image) - Method in class edu.umd.cs.piccolox.swt.PSWTImage
-
Set the image that is wrapped by this PImage node.
- setInitialDelay(int) - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Sets the Timer
's initial delay, which by default is the same
as the between-event delay.
- setInsets(Insets) - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Set the insets of the text.
- 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.
- setInteracting(boolean) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
Changes the number of callers that are interacting with the canvas.
- 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.
- setInteractingRenderQuality(int) - Method in class edu.umd.cs.piccolox.swt.PSWTCanvas
-
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
-
- setKeyActionsDisabled(boolean) - Method in class edu.umd.cs.piccolox.swing.PScrollPane
-
Disable or enable key actions on this PScrollPane.
- setKeyboardFocus(PInputEventListener) - Method in class edu.umd.cs.piccolo.PInputManager
-
Set the node that should receive key events.
- setKnot(int, float) - Method in class edu.umd.cs.piccolox.activities.PPathActivity
-
Changes the knot at the given index.
- setKnots(float[]) - Method in class edu.umd.cs.piccolox.activities.PPathActivity
-
Changes the knots that define the timing of this activity.
- setLineWidth(double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Sets the line width to use when drawing shapes.
- setLocator(PLocator) - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Set the locator that this handle uses to position itself on its parent
node.
- setLocator(PLocator) - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
Set the locator that this handle uses to position itself on its parent
node.
- 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.
- setMarqueePaint(Paint) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Sets the color used to paint the marquee.
- setMarqueePaintTransparency(float) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Sets the transparency level for the interior of the marquee.
- 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.
- setNextTimer(SWTTimer) - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
- setNode(PNode) - Method in class edu.umd.cs.piccolox.util.PNodeLocator
-
Changes the node being located by this locator.
- 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(Point2D) - 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.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.
- 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.
- setPaint(Paint) - Method in class edu.umd.cs.piccolox.nodes.P3DRect
-
Changes the paint that will be used to draw this rectangle.
- setPaint(Paint) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- 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.
- setPaintMode() - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- 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.
- setParent(PNode) - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Set's this handle's parent.
- setParent(PNode) - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
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.
- setPathToEllipse(float, float, float, float) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Resets the path to an ellipse positioned at the coordinate provided with
the dimensions provided.
- setPathToPolyline(Point2D[]) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Sets the path to a sequence of segments described by the points.
- 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.piccolox.swt.PSWTPath
-
Sets the path to a sequence of segments described by the points.
- setPathToPolyline(float[], float[]) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Sets the path to a sequence of segments described by the point components
provided.
- 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.
- setPathToRectangle(float, float, float, float) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Resets the path to a rectangle with the dimensions and position provided.
- setPathToRoundRectangle(float, float, float, float, float, float) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Resets the path to a rectangle with the dimensions and position provided.
- setPenColor(Color) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Sets the current pen color.
- setPenPaint(Paint) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Sets the current pen paint.
- setPickable(boolean) - Method in class edu.umd.cs.piccolo.PNode
-
Set the pickable flag for this node.
- setPoint(int, double, double) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Changes the point at the provided index.
- setPoint(int, double, double) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Sets the coordinate of the point at the given index.
- setPoint(int, double, double) - Method in interface edu.umd.cs.piccolox.util.MutablePoints
-
Sets the coordinates for the point at the given index.
- setPoint(int, double, double) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Sets the coordinates of the point at the given index.
- setPoint(int, Point2D) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Sets the coordinates of the point at the given index.
- setPoints(MutablePoints) - Method in class edu.umd.cs.piccolox.util.LineShape
-
Changes the LineShape so that it's composed of the given points.
- setPosition(int, Point2D) - Method in class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Sets the position of the point at the given index.
- setPosition(double, double) - Method in interface edu.umd.cs.piccolox.activities.PPositionPathActivity.Target
-
Set's the target's position to the coordinate provided.
- setPositions(Point2D[]) - Method in class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Changes all positions that define where along the target is being
positioned during the animation.
- setPositions(GeneralPath) - Method in class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Extracts positions from a GeneralPath and uses them to define this
activity's animation points.
- 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.
- setRaised(boolean) - Method in class edu.umd.cs.piccolox.nodes.P3DRect
-
Sets whether this rectangle is raised off the canvas.
- setRect(Rectangle2D) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Sets the bounds to the same shape as the rectangle.
- setRect(PBounds) - Method in class edu.umd.cs.piccolo.util.PBounds
-
Sets the bounds to the same shape as the bounds provided.
- 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.
- 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.
- setRelativeTargetValue(float) - Method in class edu.umd.cs.piccolox.activities.PPathActivity
-
Sets the target's value taking knot timing into account.
- setRelativeTargetValue(float, int, int) - Method in class edu.umd.cs.piccolox.activities.PPathActivity
-
An abstract method that allows subclasses to define what target value
matches the given progress and knots.
- setRelativeTargetValue(float, int, int) - Method in class edu.umd.cs.piccolox.activities.PPositionPathActivity
-
Overridden to interpret position at correct point along animation.
- setRelativeTargetValueAdjustingForMode(float) - Method in class edu.umd.cs.piccolo.activities.PInterpolatingActivity
-
Assigns relative target value taking the mode into account.
- setRenderingHint(RenderingHints.Key, Object) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setRenderingHints(Map) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- 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.
- setRepeats(boolean) - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
If flag
is false
, instructs the
Timer
to send only one action event to its listeners.
- 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.
- setRunning(boolean) - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
- 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.
- setScrollDirector(PScrollDirector) - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Set the scroll director on this viewport.
- setSelectableParent(PNode) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Sets the node provided as the *only* selectable parent.
- setSelectableParents(Collection) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Sets the collection of selectable parents as the only parents that are
selectable.
- setShape(Shape) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Changes the underlying shape of this PSWTPath.
- setSide(int) - Method in class edu.umd.cs.piccolox.util.PBoundsLocator
-
Sets the side to track on the node.
- 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.
- setSource(Object) - Method in interface edu.umd.cs.piccolox.pswing.PSwingEvent
-
Set the source of this event.
- setSource(Object) - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseEvent
-
Set the souce of this event.
- setSource(Object) - Method in class edu.umd.cs.piccolox.pswing.PSwingMouseWheelEvent
-
Set the souce of this event.
- 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.
- setStroke(Stroke) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Sets stroke to use when drawing the line.
- setStroke(Stroke) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setStrokeColor(Paint) - Method in class edu.umd.cs.piccolox.swt.PSWTPath
-
Sets the paint to use when drawing the stroke of the shape.
- setStrokePaint(Paint) - Method in class edu.umd.cs.piccolo.nodes.PPath
-
Sets the stroke paint of the path.
- setStrokePaint(Paint) - Method in class edu.umd.cs.piccolox.nodes.PLine
-
Changes the paint to be used while drawing the line.
- 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
.
- setText(String) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Sets the text of this visual component to str.
- 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.
- setTransform(AffineTransform) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setTranslateX(double) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Set text translation offset X.
- setTranslateY(double) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Set text translation offset Y.
- setTranslation(double, double) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Set the text translation offset to the specified position.
- setTranslation(Point2D) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Set the text translation offset to point p.
- setTransparency(float) - Method in class edu.umd.cs.piccolo.PNode
-
Set the transparency used to paint this node.
- setTransparent(boolean) - Method in class edu.umd.cs.piccolox.swt.PSWTText
-
Sets whether the text should be drawn in transparent mode, i.e., whether
the background should be drawn or not.
- setUI(ScrollPaneUI) - Method in class edu.umd.cs.piccolox.swing.PScrollPane
-
Sets the UI.
- setUseBufferedPainting(boolean) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
If true
PSwing
will paint the
JComponent
to a buffer with no graphics
transformations applied and then paint the buffer to the target transformed
graphics context.
- setVerticalScrollBar(JScrollBar) - Method in class edu.umd.cs.piccolox.swing.PScrollPane
-
Intercepts the vertical scroll bar setter to ensure that the adjustment
listener is installed appropriately.
- setView(Component) - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Overridden to throw an exception if the view is not a PCanvas.
- 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]
.
- setViewPosition(double, double) - Method in class edu.umd.cs.piccolo.examples.PrintExample.DocumentScrollDirector
-
We do the same thing we did in getViewPosition above to flip the
document-window position relationship
- setViewPosition(double, double) - Method in class edu.umd.cs.piccolo.examples.ScrollingExample.DocumentScrollDirector
-
We do the same thing we did in getViewPosition above to flip the
document-window position relationship
- setViewPosition(double, double) - Method in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
Set the view position in a manner consistent with standardized scrolling.
- setViewPosition(double, double) - Method in interface edu.umd.cs.piccolox.swing.PScrollDirector
-
Set the view position.
- setViewPosition(Point) - Method in class edu.umd.cs.piccolox.swing.PViewport
-
Sets the view coordinates that appear in the upper left hand corner of
the viewport, does nothing if there's no view.
- 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.
- setVisible(boolean) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
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.
- setX(int, double) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Sets the x component of the point at the given index.
- setXORMode(boolean) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Deprecated.
since underlying method has been deprecated
- setXORMode(Color) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- setY(double) - Method in class edu.umd.cs.piccolo.PNode
-
Set's this node's bounds top position, leaving x, width, and height
unchanged.
- setY(int, double) - Method in class edu.umd.cs.piccolox.util.XYArray
-
Sets the y component of the point at the given index.
- setZoomEventHandler(PZoomEventHandler) - Method in class edu.umd.cs.piccolo.PCanvas
-
Set the zoom event handler associated with this canvas.
- ShadowExample - Class in edu.umd.cs.piccolo.examples
-
Shadow example.
- ShadowExample() - Constructor for class edu.umd.cs.piccolo.examples.ShadowExample
-
Create a new shadow example.
- ShadowExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.ShadowExample
-
Create a new shadow example with the specified canvas.
- ShadowUtils - Class in edu.umd.cs.piccolox.util
-
Static utility methods for creating shadows.
- SHAPE_CACHE - Static variable in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Map from awt shapess to swt Paths.
- shapeToPolyline(Shape) - Static method in class edu.umd.cs.piccolox.swt.SWTShapeManager
-
Converts the provided shape into an array of point coordinates given as
one dimensional array with this format: x1,y1,x2,y3,....
- sharedInstance(Display) - Static method in class edu.umd.cs.piccolox.swt.SWTTimerQueue
-
Returns the singleton instance of the SWTTimerQueue.
- shear(double, double) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
- shouldRenderGreek(PPaintContext) - Method in class edu.umd.cs.piccolox.pswing.PSwing
-
Return true if this Swing node should render as greek given the specified
paint context.
- shouldRevalidateScrollPane() - Method in class edu.umd.cs.piccolox.swing.PDefaultScrollDirector
-
Should the ScrollPane be revalidated.
- 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.
- slideBar - Variable in class edu.umd.cs.piccolo.tutorial.PiccoloPresentation
-
- SliderExample - Class in edu.umd.cs.piccolo.examples
-
Tests a set of Sliders and Checkboxes in panels.
- SliderExample() - Constructor for class edu.umd.cs.piccolo.examples.SliderExample
-
- slides - Variable in class edu.umd.cs.piccolo.tutorial.PiccoloPresentation
-
- sortNodesByDistanceFromPoint(List, Point2D) - Method in class edu.umd.cs.piccolox.event.PNavigationEventHandler
-
Modifies the array so that it's sorted in ascending order based on the
distance from the given point.
- source - Variable in class edu.umd.cs.piccolox.event.PNotification
-
The Object associated with this notification.
- 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.
- SOUTH - Static variable in class edu.umd.cs.piccolox.event.PNavigationEventHandler
-
The DOWN direction on the screen.
- south(PNode, double, double) - Static method in class edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor.AbstractAnchor
-
Returns the y at which the given node would need to be placed so
that its bottom was against the bottom of the vertical range
defined.
- SOUTH - Static variable in interface edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor
-
Anchors the node's center bottom as the point used when laying it
out.
- SOUTHEAST - Static variable in interface edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor
-
Anchors the node's bottom right as the point used when laying it out.
- SOUTHWEST - Static variable in interface edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor
-
Anchors the node's bottom left as the point used when laying it out.
- SpecialEffects - Class in edu.umd.cs.piccolo.tutorial
-
- SpecialEffects() - Constructor for class edu.umd.cs.piccolo.tutorial.SpecialEffects
-
- squiggle - Variable in class edu.umd.cs.piccolo.tutorial.UserInteraction.SquiggleHandler
-
- SquiggleExample - Class in edu.umd.cs.piccolo.examples
-
- SquiggleExample() - Constructor for class edu.umd.cs.piccolo.examples.SquiggleExample
-
- SquiggleExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.SquiggleExample
-
- start() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Starts the Timer
, causing it to start sending action events
to its listeners.
- start() - Method in class edu.umd.cs.piccolox.swt.SWTTimerQueue
-
Starts the timer queue.
- 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.
- startDrag(PInputEvent) - Method in class edu.umd.cs.piccolo.tutorial.UserInteraction.SquiggleHandler
-
- startDrag(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Overrides method in PDragSequenceEventHandler so that, selections have
marquees.
- 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.
- startEditing(PInputEvent, PStyledText) - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Begins editing the provided text node as a result of the provided event.
- startHandleDrag(Point2D, PInputEvent) - Method in class edu.umd.cs.piccolox.handles.PBoundsHandle
-
Is invoked when the a drag starts on this handle.
- startHandleDrag(Point2D, PInputEvent) - Method in class edu.umd.cs.piccolox.handles.PHandle
-
Override this method to get notified when the handle starts to get
dragged.
- startHandleDrag(Point2D, PInputEvent) - Method in class edu.umd.cs.piccolox.swt.PSWTBoundsHandle
-
Callback invoked when the user has started to drag a handle.
- startHandleDrag(Point2D, PInputEvent) - Method in class edu.umd.cs.piccolox.swt.PSWTHandle
-
Override this method to get notified when the handle starts to get
dragged.
- startMarqueeSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Invoked at the start of the selection.
- startOptionMarqueeSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Invoked when the marquee is being used to extend the selection.
- 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
.
- startResizeBounds() - Method in class edu.umd.cs.piccolox.handles.PStickyHandleManager
-
Dispatches this event to its target as well.
- startResizeBounds() - Method in class edu.umd.cs.piccolox.swt.PSWTStickyHandleManager
-
Notify this node that you will begin to repeatedly call setBounds
.
- startStandardOptionSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
Toggle the current selection on the node that was just pressed, but leave
the rest of the selected nodes unchanged.
- startStandardSelection(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PSelectionEventHandler
-
If the pressed node is not selected unselect all nodes and select the
pressed node if it allows it.
- StickyExample - Class in edu.umd.cs.piccolo.examples
-
- StickyExample() - Constructor for class edu.umd.cs.piccolo.examples.StickyExample
-
- StickyExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.StickyExample
-
- StickyHandleLayerExample - Class in edu.umd.cs.piccolo.examples
-
This example shows another way to create sticky handles.
- StickyHandleLayerExample() - Constructor for class edu.umd.cs.piccolo.examples.StickyHandleLayerExample
-
- StickyHandleLayerExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.StickyHandleLayerExample
-
- stop() - Method in class edu.umd.cs.piccolox.swt.SWTTimer
-
Stops the Timer
, causing it to stop sending action events to
its listeners.
- stop() - Method in class edu.umd.cs.piccolox.swt.SWTTimerQueue
-
Stops the TimerQueue Thread.
- 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.
- stopEditing(PInputEvent) - Method in class edu.umd.cs.piccolox.event.PStyledTextEventHandler
-
Stops editing the current text node.
- stringContents - Variable in class edu.umd.cs.piccolox.nodes.PStyledText
-
String contents of the document.
- stringExtent(String) - Method in class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Returns the extent of the provided string in the current font.
- stroke - Variable in class edu.umd.cs.piccolo.examples.AngleNodeExample.AngleNode
-
- stroke - Variable in class edu.umd.cs.piccolox.util.PSemanticStroke
-
- StrokeExample - Class in edu.umd.cs.piccolo.examples
-
Stroke example.
- StrokeExample() - Constructor for class edu.umd.cs.piccolo.examples.StrokeExample
-
Create a new stroke example.
- StrokeExample(PCanvas) - Constructor for class edu.umd.cs.piccolo.examples.StrokeExample
-
Create a new stroke example with the specified canvas.
- subclassExistingClasses() - Method in class edu.umd.cs.piccolo.examples.BirdsEyeViewExample
-
- subclassExistingClasses() - Method in class edu.umd.cs.piccolo.examples.NodeExample
-
- SWING_FRC - Static variable in class edu.umd.cs.piccolox.nodes.PStyledText
-
Font rendering context used for all PStyledText instances.
- SWING_WRAPPER_KEY - Static variable in class edu.umd.cs.piccolox.pswing.PSwingCanvas
-
Key used to store the "Swing Wrapper" as an attribute of the PSwing node.
- SwingLayoutExample - Class in edu.umd.cs.piccolo.examples
-
- SwingLayoutExample() - Constructor for class edu.umd.cs.piccolo.examples.SwingLayoutExample
-
- SwingLayoutExample.MyPPath - Class in edu.umd.cs.piccolo.examples
-
- SwingLayoutExample.MyPPath(Shape, Color, Stroke, Color) - Constructor for class edu.umd.cs.piccolo.examples.SwingLayoutExample.MyPPath
-
- SwingLayoutNode - Class in edu.umd.cs.piccolox.swing
-
Uses Swing layout managers to position PNodes.
- SwingLayoutNode() - Constructor for class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Construct a SwingLayoutNode that uses FlowLayout.
- SwingLayoutNode(LayoutManager) - Constructor for class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Constructs a SwingLayoutNode that uses the provided LayoutManager to
layout its children.
- SwingLayoutNode(Container) - Constructor for class edu.umd.cs.piccolox.swing.SwingLayoutNode
-
Constructs a SwingLayoutNode that lays out its children as though they
were children of the provided Container.
- SwingLayoutNode.Anchor - Interface in edu.umd.cs.piccolox.swing
-
Determines where nodes are anchored in the area allocated by the Swing
layout manager.
- SwingLayoutNode.Anchor.AbstractAnchor - Class in edu.umd.cs.piccolox.swing
-
- SwingLayoutNode.Anchor.AbstractAnchor() - Constructor for class edu.umd.cs.piccolox.swing.SwingLayoutNode.Anchor.AbstractAnchor
-
- SWTBasicExample - Class in edu.umd.cs.piccolox.swt.examples
-
- SWTBasicExample() - Constructor for class edu.umd.cs.piccolox.swt.examples.SWTBasicExample
-
- SWTBenchTest - Class in edu.umd.cs.piccolox.swt.examples
-
Piccolo2D SWT benchmarking test suite.
- swtEvent - Variable in class edu.umd.cs.piccolox.swt.PSWTMouseEvent
-
Event being wrapped.
- SWTGraphics2D - Class in edu.umd.cs.piccolox.swt
-
An extension to Graphics2D to support an SWT Piccolo Canvas with little
modification to the current Piccolo architecture
There is an outstanding SWT bug request #33319 for more efficient
polyline/polygon rendering methods.
- SWTGraphics2D(GC, Device) - Constructor for class edu.umd.cs.piccolox.swt.SWTGraphics2D
-
Constructor for SWTGraphics2D.
- SWTHelloWorld - Class in edu.umd.cs.piccolox.swt.examples
-
Piccolo2D SWT Hello World example.
- SWTHelloWorld() - Constructor for class edu.umd.cs.piccolox.swt.examples.SWTHelloWorld
-
Create a new Piccolo2D SWT Hello World example.
- SWTShapeManager - Class in edu.umd.cs.piccolox.swt
-
SWT shape manager.
- SWTShapeManager() - Constructor for class edu.umd.cs.piccolox.swt.SWTShapeManager
-
- SWTTimer - Class in edu.umd.cs.piccolox.swt
-
SWT timer.
- SWTTimer(Display, int, ActionListener) - Constructor for class edu.umd.cs.piccolox.swt.SWTTimer
-
Constructor for SWTTimer.
- SWTTimer.SWTDoPostEvent - Class in edu.umd.cs.piccolox.swt
-
DoPostEvent is a runnable class that fires actionEvents to the listeners
on the EventDispatchThread, via invokeLater.
- SWTTimer.SWTDoPostEvent() - Constructor for class edu.umd.cs.piccolox.swt.SWTTimer.SWTDoPostEvent
-
- SWTTimerQueue - Class in edu.umd.cs.piccolox.swt
-
The SWTTimerQueue is a queue of timers.
- SWTTimerQueue(Display) - Constructor for class edu.umd.cs.piccolox.swt.SWTTimerQueue
-
Creates a timer queue that will be attached the the provided display.
- SWTTimerQueue.SWTTimerQueueRestart - Class in edu.umd.cs.piccolox.swt
-
Runnable that will message the shared instance of the Timer Queue to
restart.
- SWTTimerQueue.SWTTimerQueueRestart(Display) - Constructor for class edu.umd.cs.piccolox.swt.SWTTimerQueue.SWTTimerQueueRestart
-
Constructs a QueueRestart Runnable that will message the Timer Queue
to Restart.
- syncWithDocument() - Method in class edu.umd.cs.piccolox.nodes.PStyledText
-
Enforce that the current display matches the styling of the underlying
document as closely as possible.