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.tutorial | |
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.pswing |
This package contains PSwing nodes and related classes.
|
edu.umd.cs.piccolox.swt |
This package provides a SWT implementation of the core Piccolo library.
|
Modifier and Type | Class and Description |
---|---|
class |
PInputManager
PInputManager is responsible for dispatching PInputEvents to node's
event listeners.
|
Modifier and Type | Method and Description |
---|---|
PInputEventListener[] |
PCanvas.getInputEventListeners()
Returns the input event listeners registered to receive input events.
|
PInputEventListener[] |
PNode.getInputEventListeners()
Returns an array of input event listeners that are attached to this node.
|
PInputEventListener |
PInputManager.getKeyboardFocus()
Return the node that currently has the keyboard focus.
|
Modifier and Type | Method and Description |
---|---|
void |
PCanvas.addInputEventListener(PInputEventListener listener)
Add an input listener to the camera associated with this canvas.
|
void |
PNode.addInputEventListener(PInputEventListener listener)
Adds the specified input event listener to receive input events from this
node.
|
void |
PCanvas.removeInputEventListener(PInputEventListener listener)
Remove an input listener to the camera associated with this canvas.
|
void |
PNode.removeInputEventListener(PInputEventListener listener)
Removes the specified input event listener so that it no longer receives
input events from this node.
|
void |
PInputManager.setKeyboardFocus(PInputEventListener eventHandler)
Set the node that should receive key events.
|
Modifier and Type | Class and Description |
---|---|
class |
PBasicInputEventHandler
PBasicInputEventHandler is the standard class in Piccolo that is used
to register for mouse and keyboard events on a PNode.
|
class |
PDragEventHandler
PDragEventHandler is a simple event handler for dragging a node on the
canvas.
|
class |
PDragSequenceEventHandler
PDragSequenceEventHandler is designed to support mouse pressed,
dragged, and released interaction sequences.
|
class |
PPanEventHandler
PPanEventHandler provides event handlers for basic panning of the
canvas view with the left mouse.
|
class |
PZoomEventHandler
ZoomEventhandler provides event handlers for basic zooming of the
canvas view with the right (third) button.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
GraphEditorExample.NodeDragHandler |
Modifier and Type | Class and Description |
---|---|
class |
UserInteraction.SquiggleHandler |
Modifier and Type | Class and Description |
---|---|
class |
PPickPath
PPickPath represents a ordered list of nodes that have been picked.
|
Modifier and Type | Class and Description |
---|---|
class |
PNavigationEventHandler
PNavigationEventHandler implements simple focus based navigation.
|
class |
PSelectionEventHandler
PSelectionEventHandler provides standard interaction for
selection. |
class |
PStyledTextEventHandler |
class |
PZoomToEventHandler
PZoomToEventHandler is used to zoom the camera view to the node
clicked on with button one.
|
Modifier and Type | Class and Description |
---|---|
class |
PSwingEventHandler
Event handler to send MousePressed, MouseReleased, MouseMoved, MouseClicked,
and MouseDragged events on Swing components within a PCanvas.
|
Modifier and Type | Class and Description |
---|---|
class |
PSWTSelectionEventHandler
Selection event handler modified to use SWT paths instead of normal paths.
|
Modifier and Type | Method and Description |
---|---|
void |
PSWTCanvas.addInputEventListener(PInputEventListener listener)
Add an input listener to the camera associated with this canvas.
|
void |
PSWTCanvas.removeInputEventListener(PInputEventListener listener)
Remove an input listener to the camera associated with this canvas.
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.