public class ViewKeyListener
extends java.lang.Object
implements java.awt.event.KeyListener
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Cursor |
cursorBackup |
protected java.awt.Cursor |
cursorWait |
protected static int |
DELAY |
protected static int |
ROTATION_FACTOR |
protected static int |
STEP |
protected static double |
ZOOM_IN_FACTOR |
protected static double |
ZOOM_OUT_FACTOR |
| Constructor and Description |
|---|
ViewKeyListener(View view) |
ViewKeyListener(View view,
int delay,
int step,
double zoomInFactor,
double zoomOutFactor,
int rotationFactor) |
| Modifier and Type | Method and Description |
|---|---|
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
protected java.awt.Cursor cursorBackup
protected java.awt.Cursor cursorWait
protected static int DELAY
protected static int STEP
protected static double ZOOM_IN_FACTOR
protected static double ZOOM_OUT_FACTOR
protected static int ROTATION_FACTOR
public ViewKeyListener(View view)
public ViewKeyListener(View view, int delay, int step, double zoomInFactor, double zoomOutFactor, int rotationFactor)
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped in interface java.awt.event.KeyListener