public class KeyboardListener
extends edu.umd.cs.piccolo.event.PBasicInputEventHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
X_PAN |
static String |
Y_PAN |
| Constructor and Description |
|---|
KeyboardListener(MappingComponent map)
Creates a new KeyboardListener object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
keyPressed(edu.umd.cs.piccolo.event.PInputEvent event) |
void |
pan(String direction,
float factor,
int localAnimationDuration,
int delayTime)
DOCUMENT ME!
|
void |
zoom(float factor,
edu.umd.cs.piccolo.event.PInputEvent e,
int localAnimationDuration,
int delayTime)
DOCUMENT ME!
|
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelRotated, mouseWheelRotatedByBlock, paramString, processEvent, setEventFilter, toStringpublic static final String X_PAN
public static final String Y_PAN
public KeyboardListener(MappingComponent map)
map - DOCUMENT ME!public void keyPressed(edu.umd.cs.piccolo.event.PInputEvent event)
keyPressed in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerpublic void pan(String direction, float factor, int localAnimationDuration, int delayTime)
direction - DOCUMENT ME!factor - DOCUMENT ME!localAnimationDuration - DOCUMENT ME!delayTime - DOCUMENT ME!public void zoom(float factor,
edu.umd.cs.piccolo.event.PInputEvent e,
int localAnimationDuration,
int delayTime)
factor - DOCUMENT ME!e - DOCUMENT ME!localAnimationDuration - DOCUMENT ME!delayTime - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.