Package | Description |
---|---|
edu.umd.cs.piccolo |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
edu.umd.cs.piccolo.examples | |
edu.umd.cs.piccolox.nodes |
This package contains additional nodes that may be useful for Piccolo applications.
|
edu.umd.cs.piccolox.swt |
This package provides a SWT implementation of the core Piccolo library.
|
Modifier and Type | Method and Description |
---|---|
PLayer |
PCanvas.getLayer()
Return layer for this canvas.
|
PLayer |
PCamera.getLayer(int index)
Return the layer at the specified position in the list of layers viewed by this camera.
|
PLayer |
PCamera.removeLayer(int index)
Removes the element at the specified position from the list of layers
viewed by this camera.
|
PLayer |
PCamera.removeLayer(PLayer layer)
Removes the first occurrence of the specified layer from the list of
layers viewed by this camera, if it is present.
|
Modifier and Type | Method and Description |
---|---|
void |
PCamera.addLayer(int index,
PLayer layer)
Inserts the specified layer at the specified position in the list of layers viewed by this camera.
|
void |
PCamera.addLayer(PLayer layer)
Inserts the specified layer at the end of the list of layers viewed by this camera.
|
int |
PCamera.indexOfLayer(PLayer layer)
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. |
PLayer |
PCamera.removeLayer(PLayer layer)
Removes the first occurrence of the specified layer from the list of
layers viewed by this camera, if it is present.
|
void |
PCamera.repaintFromLayer(PBounds viewBounds,
PLayer repaintedLayer)
Repaint from one of the camera's layers.
|
Modifier and Type | Field and Description |
---|---|
(package private) PLayer |
ChartLabelExample.colBarLayer |
(package private) PLayer |
ChartLabelExample.rowBarLayer |
Modifier and Type | Method and Description |
---|---|
void |
BirdsEyeViewExample.BirdsEyeView.addLayer(PLayer new_layer)
Add a layer to list of viewed layers
|
void |
BirdsEyeViewExample.BirdsEyeView.connect(PCanvas canvas,
PLayer[] viewed_layers) |
void |
BirdsEyeViewExample.BirdsEyeView.removeLayer(PLayer old_layer)
Remove the layer from the viewed layers
|
Modifier and Type | Method and Description |
---|---|
void |
PLens.addLayer(int index,
PLayer layer)
Adds the layer to the camera.
|
void |
PLens.removeLayer(PLayer layer)
Removes the provided layer from the camera.
|
Constructor and Description |
---|
PLens(PLayer layer)
Creates the default PLens and attaches the given layer to it.
|
Modifier and Type | Method and Description |
---|---|
PLayer |
PSWTCanvas.getLayer()
Helper method to return the first layer attached to the camera of this
canvas.
|
Copyright © 1995–2013 Piccolo2D. All rights reserved.