- accept(PNode) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler.BoundsFilter
-
Returns true if the node is an acceptable selection.
- acceptChildrenOf(PNode) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler.BoundsFilter
-
Returns whether this filter should accept all children of a node.
- actionPerformed(ActionEvent) - Method in class org.piccolo2d.extras.swing.PScrollPane.PNullAction
-
Does nothing.
- actionPerformed(ActionEvent) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.swing.PScrollPane.PScrollEndAction
-
Scrolls to the end of the viewport if there are visible scrollbars.
- addBoundsHandlesTo(PNode) - Static method in class org.piccolo2d.extras.handles.PBoundsHandle
-
Adds bounds handles to the corners and edges of the provided node.
- addChild(int, PNode, Object, SwingLayoutNode.Anchor) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a child at the specified index.
- addChild(int, PNode) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
- addChild(int, PNode, Object) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a child at the specified index.
- addChild(int, PNode, SwingLayoutNode.Anchor) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a child at the specified index.
- addChild(PNode, Object, SwingLayoutNode.Anchor) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a child to the end of the node list.
- addChild(PNode) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a child to the end of the node list.
- addChild(PNode, Object) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a child to the end of the node list and specifies the given
constraints.
- addChild(PNode, SwingLayoutNode.Anchor) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a child to the end of the node list.
- addChildren(Collection, Object, SwingLayoutNode.Anchor) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a collection of nodes to the end of the list.
- addChildren(Collection) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
- addChildren(Collection, Object) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a collection of nodes to the end of the list.
- addChildren(Collection, SwingLayoutNode.Anchor) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Adds a collection of nodes to the end of the list.
- addDirtyRegion(JComponent, int, int, int, int) - Method in class org.piccolo2d.extras.pswing.PSwingRepaintManager
-
This is the method "repaint" now calls in the Swing components.
- addEscapeFullScreenModeListener() - Method in class org.piccolo2d.extras.PFrame
-
This method adds a key listener that will take this PFrame out of full
screen mode when the escape key is pressed.
- addInvalidComponent(JComponent) - Method in class org.piccolo2d.extras.pswing.PSwingRepaintManager
-
This is the method "invalidate" calls in the Swing components.
- addLayer(int, PLayer) - Method in class org.piccolo2d.extras.nodes.PLens
-
Adds the layer to the camera.
- addListener(Object, String, String, Object) - Method in class org.piccolo2d.extras.event.PNotificationCenter
-
Registers the 'listener' to receive notifications with the name
'notificationName' and/or containing 'object'.
- addPoint(int, double, double) - Method in class org.piccolo2d.extras.nodes.PLine
-
Inserts a point at the provided index.
- addPoint(int, double, double) - Method in class org.piccolo2d.extras.util.LineShape
-
Adds a point with the given coordinates at the desired index.
- addPoint(int, double, double) - Method in interface org.piccolo2d.extras.util.MutablePoints
-
Inserts a point at the specified position.
- addPoint(int, double, double) - Method in class org.piccolo2d.extras.util.XYArray
-
Adds a point to the index provided.
- addPoint(int, Point2D) - Method in class org.piccolo2d.extras.util.XYArray
-
Inserts the given point at the given index.
- addPoints(int, Points, int, int) - Method in class org.piccolo2d.extras.util.XYArray
-
Adds a subsequence of the points provided at the given position.
- addPoints(int, Points) - Method in class org.piccolo2d.extras.util.XYArray
-
Inserts all the provided points at the given position.
- addSelectableParent(PNode) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Flags the node provided as a selectable parent.
- addStickyBoundsHandlesTo(PNode, PCamera) - Static method in class org.piccolo2d.extras.handles.PBoundsHandle
-
Adds stick handles (always visible regardless of scale since they are
attached to the camera) to the node provided.
- adjustForHSB(boolean, Rectangle, Rectangle, Insets) - Method in class org.piccolo2d.extras.swing.PScrollPaneLayout
-
Copied FROM javax.swing.ScrollPaneLayout.adjustForHSB.
- adjustForVSB(boolean, Rectangle, Rectangle, Insets, boolean) - Method in class org.piccolo2d.extras.swing.PScrollPaneLayout
-
Copied FROM javax.swing.ScrollPaneLayout.adjustForVSB.
- animateCameraViewTransformTo(PCamera, AffineTransform, int) - Method in class org.piccolo2d.extras.event.PNavigationEventHandler
-
Animates the camera's view transform into the provided one over the
duration provided.
- animateStaticViewToCenterBoundsFast(Rectangle2D, boolean, long) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.nodes.PCacheCamera
-
This copies the behavior of the standard animateViewToTransform but
clears the cache when it is done.
- appendPoints(Points) - Method in class org.piccolo2d.extras.util.XYArray
-
Adds the provided points to the end of the points.
- applyFont(Graphics2D) - Method in class org.piccolo2d.extras.nodes.PStyledText.SegmentInfo
-
Applies this particular SegmentInfo's font to the graphics object
passed in.
- asMouseEvent() - Method in interface org.piccolo2d.extras.pswing.PSwingEvent
-
Returns this event as a mouse event.
- asMouseEvent() - Method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Returns this PSwingMouseEvent's MouseEvent.
- asMouseEvent() - Method in class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Returns this event as a mouse event.
- camera - Variable in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
The canvas' camera.
- canvas - Variable in class org.piccolo2d.extras.event.PStyledTextEventHandler
-
Canvas onto which this event handler is attached.
- CENTER - Static variable in interface org.piccolo2d.extras.swing.SwingLayoutNode.Anchor
-
Anchors the node's center as the point used when laying it out.
- centerX(PNode, double, double) - Static method in class org.piccolo2d.extras.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 org.piccolo2d.extras.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.
- chooseBestDisplayMode(GraphicsDevice) - Method in class org.piccolo2d.extras.PFrame
-
Sets the display mode to the best device mode that can be determined.
- clone() - Method in class org.piccolo2d.extras.util.PFixedWidthStroke
-
Throws an exception since PFixedWidthStrokes are not serializable.
- clone() - Method in class org.piccolo2d.extras.util.XYArray
-
Returns a clone of this XYArray ensuring a deep copy of coordinates is
made.
- computeFullBounds(PBounds) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.event.PSelectionEventHandler
-
Sets the selection to be all nodes under the marquee.
- computeOptionMarqueeSelection(PInputEvent) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Extends the selection to include all nodes under the marquee.
- computePopupBounds(int, int, int, int) - Method in class org.piccolo2d.extras.pswing.PComboBox.PBasicComboPopup
-
Computes the bounds for the Popup in Piccolo2D if a PMouseEvent has
been received.
- constrainHeightToTextHeight - Variable in class org.piccolo2d.extras.nodes.PStyledText
-
Whether width will be forced to match containing text's height.
- constrainWidthToTextWidth - Variable in class org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.util.LineShape
-
Returns true if the given coordinates are within d units from any segment
of the LineShape.
- contains(double, double) - Method in class org.piccolo2d.extras.util.LineShape
-
Returns true if point is within 2 pixels of any line segment of this
LineShape.
- contains(Point2D) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.util.LineShape
-
Whether the LineShape contains the rectangle defined.
- contains(Rectangle2D) - Method in class org.piccolo2d.extras.util.LineShape
-
Whether the LineShape contains the rectangle.
- copyPoints(Points) - Static method in class org.piccolo2d.extras.util.XYArray
-
Creates an XYArray representing the given points.
- createCanvas() - Method in class org.piccolo2d.extras.PApplet
-
Provides an extension point for subclasses so that they can control
what's on the canvas by default.
- createDefaultCamera() - Method in class org.piccolo2d.extras.swing.PCacheCanvas
-
Creates a default scene with 1 root, 1 layer, and 1 PCacheCamera.
- createDefaultEditor() - Method in class org.piccolo2d.extras.event.PStyledTextEventHandler
-
Creates a default editor component to be used when editing a PStyledText
node.
- createDocumentListener() - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.util.PBoundsLocator
-
Creates a locator for tracking the east side of the provided node.
- createImageCache(Dimension2D) - Method in class org.piccolo2d.extras.nodes.PNodeCache
-
Override this method to customize the image cache creation process.
- createLayoutManager() - Method in class org.piccolo2d.extras.swing.PViewport
-
Subclasses can override this to install a different layout manager (or
null
) in the constructor.
- createMouseEvent(int, MouseEvent, PInputEvent) - Static method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Creates and returns a new PMouse event from a Java MouseEvent.
- createNodeFilter(PBounds) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Creates a node filter that will filter all nodes not touching the bounds
provided.
- createNorthEastLocator(PNode) - Static method in class org.piccolo2d.extras.util.PBoundsLocator
-
Creates a locator for tracking the north east corner of the provided
node.
- createNorthLocator(PNode) - Static method in class org.piccolo2d.extras.util.PBoundsLocator
-
Creates a locator for tracking the north side of the provided node.
- createNorthWestLocator(PNode) - Static method in class org.piccolo2d.extras.util.PBoundsLocator
-
Creates a locator for tracking the north west corner of the provided
node.
- createPopup() - Method in class org.piccolo2d.extras.pswing.PComboBox.PBasicComboBoxUI
-
Create our Popup instead of swing's default.
- createScrollDirector() - Method in class org.piccolo2d.extras.swing.PViewport
-
Subclasses can override this to install a different scroll director in
the constructor.
- createShadow(Image, Paint, int) - Static method in class org.piccolo2d.extras.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 org.piccolo2d.extras.util.PBoundsLocator
-
Creates a locator for tracking the south east corner of the provided
node.
- createSouthLocator(PNode) - Static method in class org.piccolo2d.extras.util.PBoundsLocator
-
Creates a locator for tracking the south side of the provided node.
- createSouthWestLocator(PNode) - Static method in class org.piccolo2d.extras.util.PBoundsLocator
-
Creates a locator for tracking the south west corner of the provided
node.
- createText() - Method in class org.piccolo2d.extras.event.PStyledTextEventHandler
-
Creates a PStyledText instance and attaches a simple document to it.
- createViewport() - Method in class org.piccolo2d.extras.swing.PScrollPane
-
Overridden to create the Piccolo2D viewport.
- createWestLocator(PNode) - Static method in class org.piccolo2d.extras.util.PBoundsLocator
-
Creates a locator for tracking the west side of the provided node.
- getAnchor() - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Returns the anchor being used by this LayoutManager.
- getBestDisplayMode(GraphicsDevice) - Method in class org.piccolo2d.extras.PFrame
-
Finds the best display mode the graphics device supports.
- getBounds(Rectangle2D) - Method in class org.piccolo2d.extras.util.LineShape
-
Computes the bounds of this LineShape and stores them in the provided
rectangle.
- getBounds() - Method in class org.piccolo2d.extras.util.LineShape
-
Returns the current points of this LineShape as a simple Rectangle.
- getBounds(Rectangle2D) - Method in interface org.piccolo2d.extras.util.Points
-
Returns the bounds of all the points taken as a whole.
- getBounds(Rectangle2D) - Method in class org.piccolo2d.extras.util.XYArray
-
Modifies dst to be the bounding box of the points represented by this
XYArray.
- getBounds2D() - Method in class org.piccolo2d.extras.util.LineShape
-
Returns the current bounds in Rectangle2D format.
- getBoundsReference() - Method in class org.piccolo2d.extras.handles.PStickyHandleManager
-
The sticky handle manager's bounds as computed by examining its target
through its camera.
- getBoundsVolatile() - Method in class org.piccolo2d.extras.handles.PStickyHandleManager
-
Since this node's bounds are always dependent on its target, it is
volatile.
- getCamera() - Method in class org.piccolo2d.extras.nodes.PLens
-
Returns the camera on which this lens is appearing.
- getCanvas() - Method in class org.piccolo2d.extras.PApplet
-
Returns the canvas this PApplet is displaying.
- getCanvas() - Method in class org.piccolo2d.extras.PFrame
-
Returns the canvas being displayed on this frame.
- getCanvas() - Method in class org.piccolo2d.extras.pswing.PComboBox
-
Returns the canvas on which the PSwing node is embedded.
- getComponent() - Method in class org.piccolo2d.extras.pswing.PSwing
-
Returns the Swing component that this visual component wraps.
- getConstrainHeightToTextHeight() - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Controls whether this node changes its height to fit the height of its
text.
- getConstrainWidthToTextWidth() - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Controls whether this node changes its width to fit the width of its
text.
- getContainer() - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Some Swing layout managers (like BoxLayout) require a reference to the
proxy Container.
- getCurrentNode() - Method in interface org.piccolo2d.extras.pswing.PSwingEvent
-
Get the current node that is under the cursor.
- getCurrentNode() - Method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Get the current node that is under the cursor.
- getCurrentNode() - Method in class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Get the current node that is under the cursor.
- getCurrentPath() - Method in interface org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.handles.PBoundsHandle
-
Returns an appropriate handle for the given side of a node.
- getDashArray() - Method in class org.piccolo2d.extras.util.PFixedWidthStroke
-
Returns the array representing the lengths of the dash segments.
- getDashPhase() - Method in class org.piccolo2d.extras.util.PFixedWidthStroke
-
Returns the current dash phase.
- getDefaultFrameBounds() - Method in class org.piccolo2d.extras.PFrame
-
Returns the default frame bounds.
- getDocument() - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Get the document for this PStyledText.
- getDragBar() - Method in class org.piccolo2d.extras.nodes.PLens
-
Returns the drag bar for this lens.
- getEndCap() - Method in class org.piccolo2d.extras.util.PFixedWidthStroke
-
Returns the end cap style.
- getGrabNode() - Method in interface org.piccolo2d.extras.pswing.PSwingEvent
-
Determine the node the event originated at.
- getGrabNode() - Method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Determine the node the event originated at.
- getGrabNode() - Method in class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Determine the node the event originated at.
- getGrabPath() - Method in interface org.piccolo2d.extras.pswing.PSwingEvent
-
Return the path from the PCanvas down to the currently grabbed object.
- getGrabPath() - Method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Return the path from the PCanvas down to the currently grabbed object.
- getGrabPath() - Method in class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Return the path from the PCanvas down to the currently grabbed object.
- getGreekThreshold() - Method in class org.piccolo2d.extras.pswing.PSwing
-
Return the Greek threshold scale.
- getHandleCursorEventHandler() - Method in class org.piccolo2d.extras.handles.PBoundsHandle
-
Return the event handler that is responsible for setting the mouse cursor
when it enters/exits this handle.
- getHandleDraggerHandler() - Method in class org.piccolo2d.extras.handles.PHandle
-
Return the event handler that is responsible for the drag handle
interaction.
- getID() - Method in interface org.piccolo2d.extras.pswing.PSwingEvent
-
Determine the event type.
- getID() - Method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Determine the event type.
- getID() - Method in class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Determine the event type.
- getImageCache() - Method in class org.piccolo2d.extras.nodes.PNodeCache
-
Returns an image that is a cached representation of its children.
- getInitialFontHeight() - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Get the height of the font at the beginning of the document.
- getInsets() - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Get the insets of the text.
- getKnot(int) - Method in class org.piccolo2d.extras.activities.PPathActivity
-
Returns the value of the knot at the given index.
- getKnots() - Method in class org.piccolo2d.extras.activities.PPathActivity
-
Return the knots that define the timing of this activity.
- getKnotsLength() - Method in class org.piccolo2d.extras.activities.PPathActivity
-
Returns the number of knots that define the timing of this activity.
- getLensDraggerHandler() - Method in class org.piccolo2d.extras.nodes.PLens
-
Returns the event handler that this lens uses for its drag bar.
- getLineBoundsWithStroke() - Method in class org.piccolo2d.extras.nodes.PLine
-
Calculates the bounds of the line taking stroke width into account.
- getLineJoin() - Method in class org.piccolo2d.extras.util.PFixedWidthStroke
-
Returns the line join style.
- getLineReference() - Method in class org.piccolo2d.extras.nodes.PLine
-
Returns a reference to the underlying line shape.
- getLineWidth() - Method in class org.piccolo2d.extras.util.PFixedWidthStroke
-
Returns the line width.
- getLocalPoint() - Method in interface org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Returns the x,y position of the event in the local coordinate system of
the node the event occurred on.
- getLocalX() - Method in interface org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.handles.PHandle
-
Get the locator that this handle uses to position itself on its parent
node.
- getMarqueeBounds() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Returns the bounds of the current selection marquee.
- getMarqueePaint() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Indicates the color used to paint the marquee.
- getMarqueePaintTransparency() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Indicates the transparency level for the interior of the marquee.
- getMiterLimit() - Method in class org.piccolo2d.extras.util.PFixedWidthStroke
-
Returns the miter limit of this node.
- getName() - Method in class org.piccolo2d.extras.event.PNotification
-
Return the name of the notification.
- getNeighborInDirection(int) - Method in class org.piccolo2d.extras.event.PNavigationEventHandler
-
Returns the nearest node in the given direction.
- getNeighbors() - Method in class org.piccolo2d.extras.event.PNavigationEventHandler
-
Returns all pickable nodes that are 1 hop away from the currently focused
node.
- getNode() - Method in interface org.piccolo2d.extras.pswing.PSwingEvent
-
Determine the node the event originated at.
- getNode() - Method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Determine the node the event originated at.
- getNode() - Method in class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Determine the node the event originated at.
- getNode() - Method in class org.piccolo2d.extras.util.PNodeLocator
-
Returns the node being located by this locator.
- getObject() - Method in class org.piccolo2d.extras.event.PNotification
-
Return the object associated with this notification.
- getPaintBuffer() - Method in class org.piccolo2d.extras.nodes.PCacheCamera
-
Get the buffer used to provide fast image based animation.
- getPath() - Method in interface org.piccolo2d.extras.pswing.PSwingEvent
-
Determine the path the event took from the PCanvas down to the visual
component.
- getPath() - Method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Determine the path the event took from the PCanvas down to the visual
component.
- getPath() - Method in class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Determine the path the event took from the PCanvas down to the visual
component.
- getPathIterator(AffineTransform) - Method in class org.piccolo2d.extras.util.LineShape
-
Returns an iterator that can be used to iterate of the segments of this
LineShape.
- getPathIterator(AffineTransform, double) - Method in class org.piccolo2d.extras.util.LineShape
-
Returns an iterator that can be used to iterate of the segments of this
LineShape.
- getPoint(int, Point2D) - Method in class org.piccolo2d.extras.nodes.PLine
-
Returns the point at the provided index.
- getPoint(int, Point2D) - Method in class org.piccolo2d.extras.util.LineShape
-
Copies the point at the given index into the destination point.
- getPoint(int, Point2D) - Method in interface org.piccolo2d.extras.util.Points
-
Returns a point representation of the coordinates at the given index.
- getPoint(int, Point2D) - Method in class org.piccolo2d.extras.util.XYArray
-
Returns modified point representing the wrapped point at the given index.
- getPointCount() - Method in class org.piccolo2d.extras.nodes.PLine
-
Returns the number of points in the line.
- getPointCount() - Method in class org.piccolo2d.extras.util.LineShape
-
Returns the number points in this LineShape.
- getPointCount() - Method in interface org.piccolo2d.extras.util.Points
-
Returns the number of points in the sequence.
- getPointCount() - Method in class org.piccolo2d.extras.util.XYArray
-
Returns the number of points this XYArray represents.
- getPosition(int) - Method in class org.piccolo2d.extras.activities.PPositionPathActivity
-
Returns the point at the given index.
- getPositions() - Method in class org.piccolo2d.extras.activities.PPositionPathActivity
-
Returns a copy of the path's points.
- getPreferredDisplayModes(GraphicsDevice) - Method in class org.piccolo2d.extras.PFrame
-
By default return the current display mode.
- getProperty(Object) - Method in class org.piccolo2d.extras.event.PNotification
-
Return a property associated with the notification, or null if not found.
- getPSwing() - Method in class org.piccolo2d.extras.pswing.PComboBox
-
Returns the associated PSwing node.
- getRaised() - Method in class org.piccolo2d.extras.nodes.P3DRect
-
Returns whether this P3DRect is drawn as raised.
- getScrollDirector() - Method in class org.piccolo2d.extras.swing.PViewport
-
Returns the scroll director on this viewport.
- getSelectableParents() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Returns all selectable parents.
- getSelection() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Returns a copy of the currently selected nodes.
- getSelectionReference() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Gets a reference to the currently selected nodes.
- getSide() - Method in class org.piccolo2d.extras.util.PBoundsLocator
-
Returns the side of the node that's being tracked.
- getStroke() - Method in class org.piccolo2d.extras.nodes.PLine
-
Returns the stroke that will be used when drawing the line.
- getStrokePaint() - Method in class org.piccolo2d.extras.nodes.PLine
-
Returns the paint to be used while drawing the line.
- getSupportDeleteKey() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Returns whether the delete key is a supported action.
- getViewPosition(Rectangle2D) - Method in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
Get the View position given the specified camera bounds.
- getViewPosition(Rectangle2D) - Method in interface org.piccolo2d.extras.swing.PScrollDirector
-
Get the View position given the specified camera bounds.
- getViewPosition() - Method in class org.piccolo2d.extras.swing.PViewport
-
Gets the view position from the scroll director based on the current
extent size.
- getViewSize(Rectangle2D) - Method in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
Get the size of the view based on the specified camera bounds.
- getViewSize(Rectangle2D) - Method in interface org.piccolo2d.extras.swing.PScrollDirector
-
Get the size of the view based on the specified camera bounds.
- getViewSize() - Method in class org.piccolo2d.extras.swing.PViewport
-
Gets the view size from the scroll director based on the current extent
size.
- getViewSize(Rectangle2D) - Method in class org.piccolo2d.extras.swing.PViewport
-
Gets the view size from the scroll director based on the specified extent
size.
- getX(int) - Method in class org.piccolo2d.extras.util.LineShape
-
Returns the x component of the point at the given index.
- getX(int) - Method in interface org.piccolo2d.extras.util.Points
-
Returns the x component of the point at the given index.
- getX(int) - Method in class org.piccolo2d.extras.util.XYArray
-
Returns the x component of the point at the given index.
- getY(int) - Method in class org.piccolo2d.extras.util.LineShape
-
Returns the y component of the point at the given index.
- getY(int) - Method in interface org.piccolo2d.extras.util.Points
-
Returns the y component of the point at the given index.
- getY(int) - Method in class org.piccolo2d.extras.util.XYArray
-
Returns the y component of the point at the given index.
- IN - Static variable in class org.piccolo2d.extras.event.PNavigationEventHandler
-
The IN direction on the scene.
- init() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Initializes the PSelectionEventHandler with a marquee stroke.
- init() - Method in class org.piccolo2d.extras.PApplet
-
Initializes the applet with a canvas and no background.
- initEditor(JTextComponent) - Method in class org.piccolo2d.extras.event.PStyledTextEventHandler
-
Installs the editor onto the canvas.
- initialize() - Method in class org.piccolo2d.extras.PApplet
-
Subclasses should override this method and add their Piccolo2d
initialization code there.
- initialize() - Method in class org.piccolo2d.extras.PFrame
-
Subclasses should override this method and add their Piccolo2D
initialization code there.
- initializeMarquee(PInputEvent) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Creates an empty marquee child for use in displaying the marquee around
the selection.
- initializeSelection(PInputEvent) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Starts a selection based on the provided event.
- initPoints(double[], int, double[]) - Static method in class org.piccolo2d.extras.util.XYArray
-
Constructs an array of point coordinates for n points and copies the old
values if provided.
- insets - Variable in class org.piccolo2d.extras.nodes.PStyledText
-
Insets represent how far away from the bounding box text will be drawn.
- install(PViewport, PCanvas) - Method in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
Installs the scroll director and adds the appropriate listeners.
- install(PViewport, PCanvas) - Method in interface org.piccolo2d.extras.swing.PScrollDirector
-
Installs the scroll director.
- installCustomKeyActions() - Method in class org.piccolo2d.extras.swing.PScrollPane
-
Install custom key actions (in place of the Swing defaults) to correctly
scroll the view.
- installHandleEventHandlers() - Method in class org.piccolo2d.extras.handles.PBoundsHandle
-
Installs the handlers to this particular bounds handle.
- installHandleEventHandlers() - Method in class org.piccolo2d.extras.handles.PHandle
-
Installs the handler that notify its subclasses of handle interaction.
- intersects(Rectangle2D) - Method in class org.piccolo2d.extras.nodes.PLine
- intersects(double, double, double, double, double, double, double, double, boolean, boolean, boolean, boolean) - Static method in class org.piccolo2d.extras.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 org.piccolo2d.extras.util.LineShape
-
Returns true if any segment crosses an edge of the rectangle.
- intersects(Rectangle2D) - Method in class org.piccolo2d.extras.util.LineShape
-
Returns true if any segment crosses an edge of the rectangle.
- invalidateCache() - Method in class org.piccolo2d.extras.nodes.PNodeCache
-
Clears the cache, forcing it to be recalculated on the next call to
getImageCache.
- invalidatePaint() - Method in class org.piccolo2d.extras.nodes.PNodeCache
-
Intercepts the normal invalidatePaint mechanism so that the node will not
be repainted unless it's cache has been invalidated.
- isActive() - Method in class org.piccolo2d.extras.pswing.PSwingEventHandler
-
Returns if this event handler is active.
- isAnimation() - Method in class org.piccolo2d.extras.activities.PPositionPathActivity
-
Returns true since this activity modifies the view and so cause a
repaint.
- isCameraLayer(PNode) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler.BoundsFilter
-
Tests a node to see if it's a layer that has an attached camera.
- isDeleteKeyActive() - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Returns whether the delete key is a supported action.
- isEditing() - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Whether node is currently in editing state.
- isEmpty() - Method in class org.piccolo2d.extras.nodes.PStyledText.RunInfo
-
Returns whether the run is empty.
- isFullScreenMode() - Method in class org.piccolo2d.extras.PFrame
-
Returns whether the frame is currently in full screen mode.
- isMarqueeSelection(PInputEvent) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Tests the input event to see if it is selecting a new node.
- isOptionSelection(PInputEvent) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Used to test whether the event is one that changes the selection.
- isPainting(JComponent) - Method in class org.piccolo2d.extras.pswing.PSwingRepaintManager
-
Returns true if repaint is currently locked for a component and false
otherwise.
- isSelectable(PNode) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.event.PSelectionEventHandler
-
Returns true is provided node is selected.
- isUseBufferedPainting() - Method in class org.piccolo2d.extras.pswing.PSwing
-
- P3DRect - Class in org.piccolo2d.extras.nodes
-
This is a simple node that draws a "3D" rectangle within the bounds of the
node.
- P3DRect() - Constructor for class org.piccolo2d.extras.nodes.P3DRect
-
Constructs a simple P3DRect with empty bounds and a black stroke.
- P3DRect(Rectangle2D) - Constructor for class org.piccolo2d.extras.nodes.P3DRect
-
Constructs a P3DRect with the provided bounds.
- P3DRect(double, double, double, double) - Constructor for class org.piccolo2d.extras.nodes.P3DRect
-
Constructs a P3DRect with the bounds provided.
- paint(PPaintContext) - Method in class org.piccolo2d.extras.nodes.P3DRect
-
Paints this rectangle with shaded edges.
- paint(PPaintContext) - Method in class org.piccolo2d.extras.nodes.PClip
-
Paint's this node as a solid rectangle if paint is provided, clipping
appropriately.
- paint(PPaintContext) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.nodes.PStyledText
- paint(PPaintContext) - Method in class org.piccolo2d.extras.pswing.PSwing
-
Paints the PSwing on the specified renderContext.
- paint(Graphics2D) - Method in class org.piccolo2d.extras.pswing.PSwing
-
Renders the wrapped component to the graphics context provided.
- paintAfterChildren(PPaintContext) - Method in class org.piccolo2d.extras.nodes.PClip
-
Paints a border around this node if it has a stroke and stroke paint
provided.
- paintAsGreek(Graphics2D) - Method in class org.piccolo2d.extras.pswing.PSwing
-
Paints the Swing component as greek.
- paintLine - Static variable in class org.piccolo2d.extras.nodes.PStyledText
-
Used while painting underlines.
- PApplet - Class in org.piccolo2d.extras
-
PApplet is meant to be subclassed by applications that just need a
PCanvas embedded in a web page.
- PApplet() - Constructor for class org.piccolo2d.extras.PApplet
-
- parentBoundsChanged() - Method in class org.piccolo2d.extras.handles.PHandle
-
Forces the handles to reposition themselves using their associated
locator.
- PBoundsHandle - Class in org.piccolo2d.extras.handles
-
PBoundsHandle a handle for resizing the bounds of another node.
- PBoundsHandle(PBoundsLocator) - Constructor for class org.piccolo2d.extras.handles.PBoundsHandle
-
Creates a bounds handle that will be attached to the provided locator.
- PBoundsLocator - Class in org.piccolo2d.extras.util
-
PBoundsLocator is a locator that locates points on the bounds of a
node.
- PBoundsLocator(PNode, int) - Constructor for class org.piccolo2d.extras.util.PBoundsLocator
-
Constructs a locator for tracking the position on the node provided.
- PCacheCamera - Class in org.piccolo2d.extras.nodes
-
An extension to PCamera that provides a fast image based
animationToCenterBounds method.
- PCacheCamera() - Constructor for class org.piccolo2d.extras.nodes.PCacheCamera
-
- PCacheCanvas - Class in org.piccolo2d.extras.swing
-
An extension of PCanvas that automatically installs a PCacheCamera.
- PCacheCanvas() - Constructor for class org.piccolo2d.extras.swing.PCacheCanvas
-
- PClip - Class in org.piccolo2d.extras.nodes
-
PClip is a simple node that applies a clip before rendering or picking
its children.
- PClip() - Constructor for class org.piccolo2d.extras.nodes.PClip
-
- PComboBox - Class in org.piccolo2d.extras.pswing
-
The PComboBox is used instead of a JComboBox in a Piccolo scene graph.
- PComboBox(ComboBoxModel) - Constructor for class org.piccolo2d.extras.pswing.PComboBox
-
Creates a PComboBox that takes its items from an existing ComboBoxModel.
- PComboBox(Object[]) - Constructor for class org.piccolo2d.extras.pswing.PComboBox
-
Creates a PComboBox that contains the elements in the specified array.
- PComboBox(Vector) - Constructor for class org.piccolo2d.extras.pswing.PComboBox
-
Creates a PComboBox that contains the elements in the specified Vector.
- PComboBox() - Constructor for class org.piccolo2d.extras.pswing.PComboBox
-
Create an empty PComboBox.
- PComboBox.PBasicComboBoxUI - Class in org.piccolo2d.extras.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 org.piccolo2d.extras.pswing.PComboBox.PBasicComboBoxUI
-
- PComboBox.PBasicComboPopup - Class in org.piccolo2d.extras.pswing
-
The substitute ComboPopupMenu that places itself correctly in Piccolo2d.
- PComboBox.PBasicComboPopup(JComboBox) - Constructor for class org.piccolo2d.extras.pswing.PComboBox.PBasicComboPopup
-
Creates a PBasicComboPopup that will position itself correctly in
relation to the provided JComboBox.
- PComposite - Class in org.piccolo2d.extras.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 org.piccolo2d.extras.nodes.PComposite
-
- PDefaultScrollDirector - Class in org.piccolo2d.extras.swing
-
The default scroll director implementation.
- PDefaultScrollDirector() - Constructor for class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
The default constructor.
- PFixedWidthStroke - Class in org.piccolo2d.extras.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 org.piccolo2d.extras.util.PFixedWidthStroke
-
Constructs a simple PFixedWidthStroke with the default stroke.
- PFixedWidthStroke(float) - Constructor for class org.piccolo2d.extras.util.PFixedWidthStroke
-
Constructs a simple PFixedWidthStroke with the width provided.
- PFixedWidthStroke(float, int, int) - Constructor for class org.piccolo2d.extras.util.PFixedWidthStroke
-
Constructs a PFixedWidthStroke with the stroke properties provided.
- PFixedWidthStroke(float, int, int, float) - Constructor for class org.piccolo2d.extras.util.PFixedWidthStroke
-
Constructs a PFixedWidthStroke with the stroke properties provided.
- PFixedWidthStroke(float, int, int, float, float[], float) - Constructor for class org.piccolo2d.extras.util.PFixedWidthStroke
-
Constructs a PFixedWidthStroke with the stroke properties provided.
- PFrame - Class in org.piccolo2d.extras
-
PFrame is meant to be subclassed by applications that just need a
PCanvas in a JFrame.
- PFrame() - Constructor for class org.piccolo2d.extras.PFrame
-
Creates a PFrame with no title, not full screen, and with the default
canvas.
- PFrame(String, boolean, PCanvas) - Constructor for class org.piccolo2d.extras.PFrame
-
Creates a PFrame with the given title and with the default canvas.
- PFrame(String, GraphicsDevice, boolean, PCanvas) - Constructor for class org.piccolo2d.extras.PFrame
-
Creates a PFrame with the given title and with the default canvas being
displayed on the provided device.
- PHandle - Class in org.piccolo2d.extras.handles
-
PHandle is used to modify some aspect of Piccolo when it is dragged.
- PHandle(PLocator) - Constructor for class org.piccolo2d.extras.handles.PHandle
-
Construct a new handle that will use the given locator to locate itself
on its parent node.
- pickAfterChildren(PPickPath) - Method in class org.piccolo2d.extras.handles.PStickyHandleManager
-
Since this node is invisible, it doesn't make sense to have it be
pickable.
- pickAfterChildren(PPickPath) - Method in class org.piccolo2d.extras.nodes.PNodeCache
-
By always returning false, makes the PNodeCache instance NOT pickable.
- PLens - Class in org.piccolo2d.extras.nodes
-
PLens is a simple default lens implementation for Piccolo2D.
- PLens() - Constructor for class org.piccolo2d.extras.nodes.PLens
-
Constructs the default PLens.
- PLens(PLayer) - Constructor for class org.piccolo2d.extras.nodes.PLens
-
Creates the default PLens and attaches the given layer to it.
- PLine - Class in org.piccolo2d.extras.nodes
-
PLine a class for drawing multisegment lines.
- PLine() - Constructor for class org.piccolo2d.extras.nodes.PLine
-
Constructs a new PLine with an empty LineShape.
- PLine(LineShape) - Constructor for class org.piccolo2d.extras.nodes.PLine
-
Constructs a PLine object for displaying the provided line.
- PLine(LineShape, Stroke) - Constructor for class org.piccolo2d.extras.nodes.PLine
-
Constructs a PLine for the given lineShape and the given stroke.
- PLocator - Class in org.piccolo2d.extras.util
-
PLocator provides an abstraction for locating points.
- PLocator() - Constructor for class org.piccolo2d.extras.util.PLocator
-
Default constructor provided for subclasses.
- PNavigationEventHandler - Class in org.piccolo2d.extras.event
-
PNavigationEventHandler implements simple focus based navigation.
- PNavigationEventHandler() - Constructor for class org.piccolo2d.extras.event.PNavigationEventHandler
-
Constructs a Navigation Event Handler that will only accepts left mouse
clicks.
- PNodeCache - Class in org.piccolo2d.extras.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 org.piccolo2d.extras.nodes.PNodeCache
-
- PNodeLocator - Class in org.piccolo2d.extras.util
-
PNodeLocator provides an abstraction for locating points on a node.
- PNodeLocator(PNode) - Constructor for class org.piccolo2d.extras.util.PNodeLocator
-
Constructs a locator responsible for locating the given node.
- PNotification - Class in org.piccolo2d.extras.event
-
PNotification objects encapsulate information so that it can be
broadcast to other objects by a PNotificationCenter.
- PNotification(String, Object, Map) - Constructor for class org.piccolo2d.extras.event.PNotification
-
Creates a notification.
- PNotificationCenter - Class in org.piccolo2d.extras.event
-
PNotificationCenter provides a way for objects that don't know about
each other to communicate.
- POcclusionDetection - Class in org.piccolo2d.extras.util
-
Experimental class for detecting occlusions.
- POcclusionDetection() - Constructor for class org.piccolo2d.extras.util.POcclusionDetection
-
- Points - Interface in org.piccolo2d.extras.util
-
Interface for a sequence of points.
- positionNode(PNode, double, double, double, double) - Method in interface org.piccolo2d.extras.swing.SwingLayoutNode.Anchor
-
Positions the node in the bounds defined.
- positions - Variable in class org.piccolo2d.extras.activities.PPositionPathActivity
-
Points that define the animation's path.
- postNotification(String, Object) - Method in class org.piccolo2d.extras.event.PNotificationCenter
-
Post a new notification with notificationName and object.
- postNotification(String, Object, Map) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.event.PNotificationCenter
-
Post the notification to this notification center.
- PPathActivity - Class in org.piccolo2d.extras.activities
-
PPathActivity is the abstract base class for all path activity
interpolators.
- PPathActivity(long, long, float[]) - Constructor for class org.piccolo2d.extras.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 org.piccolo2d.extras.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.
- PPositionPathActivity - Class in org.piccolo2d.extras.activities
-
PPositionPathActivity animates through a sequence of points.
- PPositionPathActivity(long, long, PPositionPathActivity.Target) - Constructor for class org.piccolo2d.extras.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 org.piccolo2d.extras.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 org.piccolo2d.extras.activities.PPositionPathActivity
-
Constructs a position activity that will repeat the number of times
specified.
- PPositionPathActivity.Target - Interface in org.piccolo2d.extras.activities
-
Interface that objects must conform to in order to have their position
animated.
- processEvent(PInputEvent, int) - Method in class org.piccolo2d.extras.pswing.PSwingEventHandler
-
Process a Piccolo2D event and (if active) dispatch the corresponding
Swing event.
- properties - Variable in class org.piccolo2d.extras.event.PNotification
-
A free form map of properties to attach to this notification.
- propertyChange(PropertyChangeEvent) - Method in class org.piccolo2d.extras.pswing.PSwing
-
Listens for changes in font on components rooted at this PSwing.
- propertyChange(PropertyChangeEvent) - Method in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
Invoked when the camera's view changes, or the bounds of the root or
camera changes.
- PScrollDirector - Interface in org.piccolo2d.extras.swing
-
The interface an application can implement to control scrolling in a
PScrollPane->PViewport->ZCanvas component hierarchy.
- PScrollPane - Class in org.piccolo2d.extras.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 org.piccolo2d.extras.swing.PScrollPane
-
Constructs a scollpane for the provided component with the specified
scrollbar policies.
- PScrollPane(Component) - Constructor for class org.piccolo2d.extras.swing.PScrollPane
-
Constructs a scroll pane for the provided component.
- PScrollPane(int, int) - Constructor for class org.piccolo2d.extras.swing.PScrollPane
-
Constructs a scroll pane not attached to any component with the specified
scroll bar policies.
- PScrollPane() - Constructor for class org.piccolo2d.extras.swing.PScrollPane
-
Constructs a scroll pane not attached to any component.
- PScrollPane.PNullAction - Class in org.piccolo2d.extras.swing
-
An action to do nothing - put into an action map to keep it from looking
to its parent.
- PScrollPane.PNullAction() - Constructor for class org.piccolo2d.extras.swing.PScrollPane.PNullAction
-
- PScrollPane.PScrollAction - Class in org.piccolo2d.extras.swing
-
Action to scroll left/right/up/down.
- PScrollPane.PScrollAction(String, int, int, boolean) - Constructor for class org.piccolo2d.extras.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 org.piccolo2d.extras.swing
-
Action to scroll to last visible location.
- PScrollPane.PScrollEndAction(String) - Constructor for class org.piccolo2d.extras.swing.PScrollPane.PScrollEndAction
-
Constructs a scroll to end action with the given name.
- PScrollPaneLayout - Class in org.piccolo2d.extras.swing
-
A subclass of ScrollPaneLayout that looks at the Viewport for sizing
information rather than View.
- PScrollPaneLayout() - Constructor for class org.piccolo2d.extras.swing.PScrollPaneLayout
-
- PScrollPaneLayout.UIResource - Class in org.piccolo2d.extras.swing
-
The UI resource version of PScrollPaneLayout.
- PScrollPaneLayout.UIResource() - Constructor for class org.piccolo2d.extras.swing.PScrollPaneLayout.UIResource
-
- PSelectionEventHandler - Class in org.piccolo2d.extras.event
-
PSelectionEventHandler
provides standard interaction for
selection.
- PSelectionEventHandler(PNode, PNode) - Constructor for class org.piccolo2d.extras.event.PSelectionEventHandler
-
Creates a selection event handler.
- PSelectionEventHandler(PNode, List) - Constructor for class org.piccolo2d.extras.event.PSelectionEventHandler
-
Creates a selection event handler.
- PSelectionEventHandler.BoundsFilter - Class in org.piccolo2d.extras.event
-
Class used to filter nodes that intersect with the marquee's bounds.
- PSelectionEventHandler.BoundsFilter(PBounds) - Constructor for class org.piccolo2d.extras.event.PSelectionEventHandler.BoundsFilter
-
Constructs a BoundsFilter for the given bounds.
- PShadow - Class in org.piccolo2d.extras.nodes
-
Shadow node.
- PShadow(Image, Paint, int) - Constructor for class org.piccolo2d.extras.nodes.PShadow
-
Create a new shadow node containing a shadow of the specified source image using the
specified shadow paint and gaussian blur radius.
- PStickyHandleManager - Class in org.piccolo2d.extras.handles
-
This class relays adjustments to its bounds to its target.
- PStickyHandleManager(PCamera, PNode) - Constructor for class org.piccolo2d.extras.handles.PStickyHandleManager
-
Constructs a sticky handle manager responsible for updating the position
of its associated node on the camera provided.
- PStyledText - Class in org.piccolo2d.extras.nodes
-
- PStyledText() - Constructor for class org.piccolo2d.extras.nodes.PStyledText
-
Constructs an empty PStyledText element.
- PStyledText.LineInfo - Class in org.piccolo2d.extras.nodes
-
The info for rendering and computing the bounds of a line.
- PStyledText.LineInfo() - Constructor for class org.piccolo2d.extras.nodes.PStyledText.LineInfo
-
Creates a LineInfo that contains no segments.
- PStyledText.RunInfo - Class in org.piccolo2d.extras.nodes
-
Simple class to represent an range within the document.
- PStyledText.RunInfo(int, int) - Constructor for class org.piccolo2d.extras.nodes.PStyledText.RunInfo
-
Constructs a RunInfo representing the range within the document from
runStart to runLimit.
- PStyledText.SegmentInfo - Class in org.piccolo2d.extras.nodes
-
Encapsulates information about a particular LineSegment.
- PStyledText.SegmentInfo() - Constructor for class org.piccolo2d.extras.nodes.PStyledText.SegmentInfo
-
Construct a segment with null properties.
- PStyledTextEventHandler - Class in org.piccolo2d.extras.event
-
- PStyledTextEventHandler(PCanvas) - Constructor for class org.piccolo2d.extras.event.PStyledTextEventHandler
-
Basic constructor for PStyledTextEventHandler.
- PStyledTextEventHandler(PCanvas, JTextComponent) - Constructor for class org.piccolo2d.extras.event.PStyledTextEventHandler
-
Constructor for PStyledTextEventHandler that allows an editor to be
specified.
- PSwing - Class in org.piccolo2d.extras.pswing
-
PSwing is used to add Swing Components to a Piccolo2D canvas.
- PSwing(JComponent) - Constructor for class org.piccolo2d.extras.pswing.PSwing
-
Create a new visual component wrapper for the specified Swing component.
- PSwing(PSwingCanvas, JComponent) - Constructor for class org.piccolo2d.extras.pswing.PSwing
-
- PSWING_PROPERTY - Static variable in class org.piccolo2d.extras.pswing.PSwing
-
Key for this object in the Swing component's client properties.
- PSwingCanvas - Class in org.piccolo2d.extras.pswing
-
The PSwingCanvas is a PCanvas that can display Swing components with
the PSwing adapter.
- PSwingCanvas() - Constructor for class org.piccolo2d.extras.pswing.PSwingCanvas
-
Construct a new PSwingCanvas.
- PSwingEvent - Interface in org.piccolo2d.extras.pswing
-
Interface allowing PSwing events that originated from swing and are destined
for PSwing nodes must conform to.
- PSwingEventHandler - Class in org.piccolo2d.extras.pswing
-
Event handler to send MousePressed, MouseReleased, MouseMoved, MouseClicked,
and MouseDragged events on Swing components within a PCanvas.
- PSwingEventHandler(PSwingCanvas, PNode) - Constructor for class org.piccolo2d.extras.pswing.PSwingEventHandler
-
Constructs a new PSwingEventHandler for the given canvas, and a node that
will receive the mouse events.
- PSwingEventHandler(PSwingCanvas) - Constructor for class org.piccolo2d.extras.pswing.PSwingEventHandler
-
Constructs a new PSwingEventHandler for the given canvas.
- PSwingMouseEvent - Class in org.piccolo2d.extras.pswing
-
PMouseEvent is an event which indicates that a mouse action occurred
in a node.
- PSwingMouseEvent(int, MouseEvent, PInputEvent) - Constructor for class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Constructs a new PMouse event from a Java MouseEvent.
- PSwingMouseMotionEvent - Class in org.piccolo2d.extras.pswing
-
PMouseMotionEvent is an event which indicates that a mouse motion
action occurred in a node.
- PSwingMouseMotionEvent(int, MouseEvent, PInputEvent) - Constructor for class org.piccolo2d.extras.pswing.PSwingMouseMotionEvent
-
Constructs a new PMouse event from a Java MouseEvent.
- PSwingMouseWheelEvent - Class in org.piccolo2d.extras.pswing
-
PMouseMotionEvent is an event which indicates that a mouse motion
action occurred in a node.
- PSwingMouseWheelEvent(int, MouseWheelEvent, PInputEvent) - Constructor for class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Constructs a new PMouseWheel event from a Java MouseWheelEvent.
- PSwingRepaintManager - Class in org.piccolo2d.extras.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 org.piccolo2d.extras.pswing.PSwingRepaintManager
-
- PViewport - Class in org.piccolo2d.extras.swing
-
A subclass of JViewport that talks to the scroll director to negotiate the
view positions and sizes.
- PViewport() - Constructor for class org.piccolo2d.extras.swing.PViewport
-
Pass constructor info to super.
- PViewport.PViewportLayout - Class in org.piccolo2d.extras.swing
-
A simple layout manager to give the ZCanvas the same size as the Viewport.
- PViewport.PViewportLayout() - Constructor for class org.piccolo2d.extras.swing.PViewport.PViewportLayout
-
- PZoomToEventHandler - Class in org.piccolo2d.extras.event
-
PZoomToEventHandler is used to zoom the camera view to the node
clicked on with button one.
- PZoomToEventHandler() - Constructor for class org.piccolo2d.extras.event.PZoomToEventHandler
-
Constructs a PZoomToEventHandler that only recognizes BUTTON1 events.
- scrollInProgress - Variable in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
Flag to indicate when scrolling is currently in progress.
- scrollPane - Variable in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
The scrollpane that contains the viewport.
- segments - Variable in class org.piccolo2d.extras.nodes.PStyledText.LineInfo
-
Segments which make up this line's formatting segments.
- select(Collection) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Marks all items as selected.
- select(Map) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Marks all keys as selected.
- select(PNode) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Selected the provided node if not already selected.
- SELECTION_CHANGED_NOTIFICATION - Static variable in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Notification name that identifies a change in the selection.
- setAnchor(SwingLayoutNode.Anchor) - Method in class org.piccolo2d.extras.swing.SwingLayoutNode
-
Sets the default anchor.
- setBounds(double, double, double, double) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.nodes.PLine
- setBounds(double, double, double, double) - Method in class org.piccolo2d.extras.nodes.PStyledText
- setCameraTarget(PCamera, PNode) - Method in class org.piccolo2d.extras.handles.PStickyHandleManager
-
Changes the node and camera on which this manager is operating.
- setConstrainHeightToTextHeight(boolean) - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Controls whether this node changes its height to fit the height of its
text.
- setConstrainWidthToTextWidth(boolean) - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Controls whether this node changes its width to fit the width of its
text.
- setDeleteKeyActive(boolean) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Specifies if the DELETE key should delete the selection.
- setDocument(Document) - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Set the document on this PStyledText.
- setEditing(boolean) - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Set whether this node is current in editing mode.
- setEnvironment(PSwing, PSwingCanvas) - Method in class org.piccolo2d.extras.pswing.PComboBox
-
Clients must set the PSwing and PSwingCanvas environment for this
PComboBox to work properly.
- setFullScreenMode(boolean) - Method in class org.piccolo2d.extras.PFrame
-
Switches full screen state.
- setGreekThreshold(double) - Method in class org.piccolo2d.extras.pswing.PSwing
-
Set the Greek threshold in scale to greekThreshold
.
- setHorizontalScrollBar(JScrollBar) - Method in class org.piccolo2d.extras.swing.PScrollPane
-
Intercepts the horizontal scroll bar setter to ensure that the adjustment
listener is installed appropriately.
- setInsets(Insets) - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Set the insets of the text.
- setKeyActionsDisabled(boolean) - Method in class org.piccolo2d.extras.swing.PScrollPane
-
Disable or enable key actions on this PScrollPane.
- setKnot(int, float) - Method in class org.piccolo2d.extras.activities.PPathActivity
-
Changes the knot at the given index.
- setKnots(float[]) - Method in class org.piccolo2d.extras.activities.PPathActivity
-
Changes the knots that define the timing of this activity.
- setLocator(PLocator) - Method in class org.piccolo2d.extras.handles.PHandle
-
Set the locator that this handle uses to position itself on its parent
node.
- setMarqueePaint(Paint) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Sets the color used to paint the marquee.
- setMarqueePaintTransparency(float) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Sets the transparency level for the interior of the marquee.
- setNode(PNode) - Method in class org.piccolo2d.extras.util.PNodeLocator
-
Changes the node being located by this locator.
- setPaint(Paint) - Method in class org.piccolo2d.extras.nodes.P3DRect
-
Changes the paint that will be used to draw this rectangle.
- setParent(PNode) - Method in class org.piccolo2d.extras.handles.PHandle
-
Set's this handle's parent.
- setPoint(int, double, double) - Method in class org.piccolo2d.extras.nodes.PLine
-
Changes the point at the provided index.
- setPoint(int, double, double) - Method in class org.piccolo2d.extras.util.LineShape
-
Sets the coordinate of the point at the given index.
- setPoint(int, double, double) - Method in interface org.piccolo2d.extras.util.MutablePoints
-
Sets the coordinates for the point at the given index.
- setPoint(int, double, double) - Method in class org.piccolo2d.extras.util.XYArray
-
Sets the coordinates of the point at the given index.
- setPoint(int, Point2D) - Method in class org.piccolo2d.extras.util.XYArray
-
Sets the coordinates of the point at the given index.
- setPoints(MutablePoints) - Method in class org.piccolo2d.extras.util.LineShape
-
Changes the LineShape so that it's composed of the given points.
- setPosition(int, Point2D) - Method in class org.piccolo2d.extras.activities.PPositionPathActivity
-
Sets the position of the point at the given index.
- setPosition(double, double) - Method in interface org.piccolo2d.extras.activities.PPositionPathActivity.Target
-
Set's the target's position to the coordinate provided.
- setPositions(Point2D[]) - Method in class org.piccolo2d.extras.activities.PPositionPathActivity
-
Changes all positions that define where along the target is being
positioned during the animation.
- setPositions(GeneralPath) - Method in class org.piccolo2d.extras.activities.PPositionPathActivity
-
Extracts positions from a GeneralPath and uses them to define this
activity's animation points.
- setRaised(boolean) - Method in class org.piccolo2d.extras.nodes.P3DRect
-
Sets whether this rectangle is raised off the canvas.
- setRelativeTargetValue(float) - Method in class org.piccolo2d.extras.activities.PPathActivity
-
Sets the target's value taking knot timing into account.
- setRelativeTargetValue(float, int, int) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.activities.PPositionPathActivity
-
Overridden to interpret position at correct point along animation.
- setScrollDirector(PScrollDirector) - Method in class org.piccolo2d.extras.swing.PViewport
-
Set the scroll director on this viewport.
- setSelectableParent(PNode) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Sets the node provided as the *only* selectable parent.
- setSelectableParents(Collection) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Sets the collection of selectable parents as the only parents that are
selectable.
- setSide(int) - Method in class org.piccolo2d.extras.util.PBoundsLocator
-
Sets the side to track on the node.
- setSource(Object) - Method in interface org.piccolo2d.extras.pswing.PSwingEvent
-
Set the source of this event.
- setSource(Object) - Method in class org.piccolo2d.extras.pswing.PSwingMouseEvent
-
Set the souce of this event.
- setSource(Object) - Method in class org.piccolo2d.extras.pswing.PSwingMouseWheelEvent
-
Set the souce of this event.
- setStroke(Stroke) - Method in class org.piccolo2d.extras.nodes.PLine
-
Sets stroke to use when drawing the line.
- setStrokePaint(Paint) - Method in class org.piccolo2d.extras.nodes.PLine
-
Changes the paint to be used while drawing the line.
- setUI(ScrollPaneUI) - Method in class org.piccolo2d.extras.swing.PScrollPane
-
Sets the UI.
- setUseBufferedPainting(boolean) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.swing.PScrollPane
-
Intercepts the vertical scroll bar setter to ensure that the adjustment
listener is installed appropriately.
- setView(Component) - Method in class org.piccolo2d.extras.swing.PViewport
-
Overridden to throw an exception if the view is not a PCanvas.
- setViewPosition(double, double) - Method in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
Set the view position in a manner consistent with standardized scrolling.
- setViewPosition(double, double) - Method in interface org.piccolo2d.extras.swing.PScrollDirector
-
Set the view position.
- setViewPosition(Point) - Method in class org.piccolo2d.extras.swing.PViewport
-
Sets the view coordinates that appear in the upper left hand corner of
the viewport, does nothing if there's no view.
- setVisible(boolean) - Method in class org.piccolo2d.extras.pswing.PSwing
- setX(int, double) - Method in class org.piccolo2d.extras.util.XYArray
-
Sets the x component of the point at the given index.
- setY(int, double) - Method in class org.piccolo2d.extras.util.XYArray
-
Sets the y component of the point at the given index.
- ShadowUtils - Class in org.piccolo2d.extras.util
-
Static utility methods for creating shadows.
- shouldRenderGreek(PPaintContext) - Method in class org.piccolo2d.extras.pswing.PSwing
-
Return true if this Swing node should render as greek given the specified
paint context.
- shouldRevalidateScrollPane() - Method in class org.piccolo2d.extras.swing.PDefaultScrollDirector
-
Should the ScrollPane be revalidated.
- sortNodesByDistanceFromPoint(List, Point2D) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.event.PNotification
-
The Object associated with this notification.
- SOUTH - Static variable in class org.piccolo2d.extras.event.PNavigationEventHandler
-
The DOWN direction on the screen.
- south(PNode, double, double) - Static method in class org.piccolo2d.extras.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 org.piccolo2d.extras.swing.SwingLayoutNode.Anchor
-
Anchors the node's center bottom as the point used when laying it
out.
- SOUTHEAST - Static variable in interface org.piccolo2d.extras.swing.SwingLayoutNode.Anchor
-
Anchors the node's bottom right as the point used when laying it out.
- SOUTHWEST - Static variable in interface org.piccolo2d.extras.swing.SwingLayoutNode.Anchor
-
Anchors the node's bottom left as the point used when laying it out.
- startDrag(PInputEvent) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Overrides method in PDragSequenceEventHandler so that, selections have
marquees.
- startEditing(PInputEvent, PStyledText) - Method in class org.piccolo2d.extras.event.PStyledTextEventHandler
-
Begins editing the provided text node as a result of the provided event.
- startHandleDrag(Point2D, PInputEvent) - Method in class org.piccolo2d.extras.handles.PBoundsHandle
-
Is invoked when the a drag starts on this handle.
- startHandleDrag(Point2D, PInputEvent) - Method in class org.piccolo2d.extras.handles.PHandle
-
Override this method to get notified when the handle starts to get
dragged.
- startMarqueeSelection(PInputEvent) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Invoked at the start of the selection.
- startOptionMarqueeSelection(PInputEvent) - Method in class org.piccolo2d.extras.event.PSelectionEventHandler
-
Invoked when the marquee is being used to extend the selection.
- startResizeBounds() - Method in class org.piccolo2d.extras.handles.PStickyHandleManager
-
Dispatches this event to its target as well.
- startStandardOptionSelection(PInputEvent) - Method in class org.piccolo2d.extras.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 org.piccolo2d.extras.event.PSelectionEventHandler
-
If the pressed node is not selected unselect all nodes and select the
pressed node if it allows it.
- stopEditing(PInputEvent) - Method in class org.piccolo2d.extras.event.PStyledTextEventHandler
-
Stops editing the current text node.
- stringContents - Variable in class org.piccolo2d.extras.nodes.PStyledText
-
String contents of the document.
- SWING_FRC - Static variable in class org.piccolo2d.extras.nodes.PStyledText
-
Font rendering context used for all PStyledText instances.
- SWING_WRAPPER_KEY - Static variable in class org.piccolo2d.extras.pswing.PSwingCanvas
-
Key used to store the "Swing Wrapper" as an attribute of the PSwing node.
- SwingLayoutNode - Class in org.piccolo2d.extras.swing
-
Uses Swing layout managers to position PNodes.
- SwingLayoutNode() - Constructor for class org.piccolo2d.extras.swing.SwingLayoutNode
-
Construct a SwingLayoutNode that uses FlowLayout.
- SwingLayoutNode(LayoutManager) - Constructor for class org.piccolo2d.extras.swing.SwingLayoutNode
-
Constructs a SwingLayoutNode that uses the provided LayoutManager to
layout its children.
- SwingLayoutNode(Container) - Constructor for class org.piccolo2d.extras.swing.SwingLayoutNode
-
Constructs a SwingLayoutNode that lays out its children as though they
were children of the provided Container.
- SwingLayoutNode.Anchor - Interface in org.piccolo2d.extras.swing
-
Determines where nodes are anchored in the area allocated by the Swing
layout manager.
- SwingLayoutNode.Anchor.AbstractAnchor - Class in org.piccolo2d.extras.swing
-
- SwingLayoutNode.Anchor.AbstractAnchor() - Constructor for class org.piccolo2d.extras.swing.SwingLayoutNode.Anchor.AbstractAnchor
-
- syncWithDocument() - Method in class org.piccolo2d.extras.nodes.PStyledText
-
Enforce that the current display matches the styling of the underlying
document as closely as possible.