Package | Description |
---|---|
edu.umd.cs.piccolo |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
edu.umd.cs.piccolo.event |
This package supports Piccolo event handlers.
|
edu.umd.cs.piccolo.examples | |
edu.umd.cs.piccolo.util |
This package defines several utility classes that are likely
to be useful for Piccolo applications.
|
edu.umd.cs.piccolox.event |
This package provides additional Piccolo event handlers.
|
edu.umd.cs.piccolox.handles |
This package contains handle nodes.
|
edu.umd.cs.piccolox.nodes |
This package contains additional nodes that may be useful for Piccolo applications.
|
edu.umd.cs.piccolox.swing |
This package supports using Piccolo with JFC/Swing.
|
edu.umd.cs.piccolox.swt |
This package provides a SWT implementation of the core Piccolo library.
|
Modifier and Type | Method and Description |
---|---|
protected PCamera |
PCanvas.createDefaultCamera()
Creates and returns a basic Scene Graph.
|
PCamera |
POffscreenCanvas.getCamera()
Return the camera for this offscreen canvas.
|
PCamera |
PCanvas.getCamera()
Return the camera associated with this canvas.
|
PCamera |
PLayer.getCamera(int index)
Get the camera in this layer's camera list at the specified index.
|
PCamera |
PLayer.removeCamera(int index)
Remove the camera at the given index from this layer's camera list.
|
PCamera |
PLayer.removeCamera(PCamera camera)
Remove the camera from this layer's camera list.
|
Modifier and Type | Method and Description |
---|---|
void |
PLayer.addCamera(int index,
PCamera camera)
Add a camera to this layer's camera list at the specified index.
|
void |
PLayer.addCamera(PCamera camera)
Add a camera to this layer's camera list.
|
void |
PInputManager.processEventFromCamera(InputEvent event,
int type,
PCamera camera)
Flags the given event as needing to be processed.
|
PCamera |
PLayer.removeCamera(PCamera camera)
Remove the camera from this layer's camera list.
|
void |
POffscreenCanvas.setCamera(PCamera camera)
Set the camera for this offscreen canvas to
camera . |
void |
PCanvas.setCamera(PCamera newCamera)
Set the camera associated with this canvas.
|
Modifier and Type | Method and Description |
---|---|
PCamera |
PInputEvent.getCamera()
Return the bottom most camera that is currently painting.
|
PCamera |
PInputEvent.getTopCamera()
Return the topmost camera this is painting.
|
Modifier and Type | Field and Description |
---|---|
(package private) PCamera |
VolatileDecoratorGroup.renderCamera |
Constructor and Description |
---|
VolatileDecoratorGroup(PCamera camera) |
Modifier and Type | Method and Description |
---|---|
static PCamera |
PUtil.createBasicScenegraph()
Creates the simplest possible scene graph.
|
PCamera |
PPickPath.getBottomCamera()
Get the bottom camera on the pick path.
|
PCamera |
PPaintContext.getCamera()
Returns the camera at the top of the camera stack, or null if stack is
empty.
|
PCamera |
PPickPath.getTopCamera()
Get the top camera on the pick path.
|
Modifier and Type | Method and Description |
---|---|
void |
PPaintContext.popCamera(PCamera aCamera)
Deprecated.
in favor of popCamera()
|
void |
PPaintContext.pushCamera(PCamera aCamera)
Pushes the camera onto the camera stack.
|
Constructor and Description |
---|
PPickPath(PCamera camera,
PBounds aScreenPickBounds)
Creates a pick pack originating from the provided camera and with the
given screen pick bounds.
|
Modifier and Type | Method and Description |
---|---|
protected PActivity |
PNavigationEventHandler.animateCameraViewTransformTo(PCamera camera,
AffineTransform targetTransform,
int duration)
Animates the camera's view transform into the provided one over the
duration provided.
|
PActivity |
PNavigationEventHandler.directCameraViewToFocus(PCamera camera,
PNode newFocus,
int duration)
Animates the Camera's view so that it contains the new focus node.
|
protected void |
PNavigationEventHandler.fillViewWhiteSpace(PCamera camera)
Instantaneously transforms the provided camera so that it does not
contain any extra white space.
|
Modifier and Type | Method and Description |
---|---|
static void |
PBoundsHandle.addStickyBoundsHandlesTo(PNode node,
PCamera camera)
Adds stick handles (always visible regardless of scale since they are
attached to the camera) to the node provided.
|
void |
PStickyHandleManager.setCameraTarget(PCamera newCamera,
PNode newTarget)
Changes the node and camera on which this manager is operating.
|
Constructor and Description |
---|
PStickyHandleManager(PCamera newCamera,
PNode newTarget)
Constructs a sticky handle manager responsible for updating the position
of its associated node on the camera provided.
|
Modifier and Type | Class and Description |
---|---|
class |
PCacheCamera
An extension to PCamera that provides a fast image based
animationToCenterBounds method.
|
Modifier and Type | Method and Description |
---|---|
PCamera |
PLens.getCamera()
Returns the camera on which this lens is appearing.
|
Modifier and Type | Field and Description |
---|---|
protected PCamera |
PDefaultScrollDirector.camera
The canvas' camera.
|
Modifier and Type | Method and Description |
---|---|
protected PCamera |
PCacheCanvas.createDefaultCamera()
Creates a default scene with 1 root, 1 layer, and 1 PCacheCamera.
|
Modifier and Type | Method and Description |
---|---|
PCamera |
PSWTCanvas.createBasicSceneGraph()
Builds the basic scene graph associated with this canvas.
|
PCamera |
PSWTCanvas.getCamera()
Return the camera associated with this canvas.
|
Modifier and Type | Method and Description |
---|---|
static void |
PSWTBoundsHandle.addStickyBoundsHandlesTo(PNode node,
PCamera camera)
Adds sticky bounds handles to all corners and edges of the provided node
and for display on the provided camera.
|
void |
PSWTCanvas.setCamera(PCamera newCamera)
Set the camera associated with this canvas.
|
void |
PSWTStickyHandleManager.setCameraTarget(PCamera newCamera,
PNode newTarget)
Changes the associated camera and target for this sticky handle.
|
Constructor and Description |
---|
PSWTStickyHandleManager(PCamera camera,
PNode target)
Creates a sticky handle that will be displayed on the given camera and
will update the provided target.
|
Copyright © 1995–2013 Piccolo2D. All rights reserved.