Uses of Interface
edu.umd.cs.piccolo.event.PInputEventListener
Packages that use PInputEventListener
Package
Description
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
This package supports Piccolo event handlers.
This package defines several utility classes that are likely
to be useful for Piccolo applications.
-
Uses of PInputEventListener in edu.umd.cs.piccolo
Classes in edu.umd.cs.piccolo that implement PInputEventListenerModifier and TypeClassDescriptionclassPInputManager is responsible for dispatching PInputEvents to node's event listeners.Methods in edu.umd.cs.piccolo that return PInputEventListenerModifier and TypeMethodDescriptionPCanvas.getInputEventListeners()Returns the input event listeners registered to receive input events.PNode.getInputEventListeners()Returns an array of input event listeners that are attached to this node.PInputManager.getKeyboardFocus()Return the node that currently has the keyboard focus.Methods in edu.umd.cs.piccolo with parameters of type PInputEventListenerModifier and TypeMethodDescriptionvoidPCanvas.addInputEventListener(PInputEventListener listener) Add an input listener to the camera associated with this canvas.voidPNode.addInputEventListener(PInputEventListener listener) Adds the specified input event listener to receive input events from this node.protected voidPInputManager.dispatchEventToListener(PInputEvent event, int type, PInputEventListener listener) Dispatches the given event to the listener, or does nothing if listener is null.voidPCanvas.removeInputEventListener(PInputEventListener listener) Remove an input listener to the camera associated with this canvas.voidPNode.removeInputEventListener(PInputEventListener listener) Removes the specified input event listener so that it no longer receives input events from this node.voidPInputManager.setKeyboardFocus(PInputEventListener eventHandler) Set the node that should receive key events. -
Uses of PInputEventListener in edu.umd.cs.piccolo.event
Classes in edu.umd.cs.piccolo.event that implement PInputEventListenerModifier and TypeClassDescriptionclassPBasicInputEventHandler is the standard class in Piccolo that is used to register for mouse and keyboard events on a PNode.classPDragEventHandler is a simple event handler for dragging a node on the canvas.classPDragSequenceEventHandler is designed to support mouse pressed, dragged, and released interaction sequences.classPPanEventHandler provides event handlers for basic panning of the canvas view with the left mouse.classZoomEventhandler provides event handlers for basic zooming of the canvas view with the right (third) button. -
Uses of PInputEventListener in edu.umd.cs.piccolo.util
Classes in edu.umd.cs.piccolo.util that implement PInputEventListenerModifier and TypeClassDescriptionclassPPickPath represents a ordered list of nodes that have been picked.