public class EditablePlot.UndoListener
extends java.lang.Object
implements java.awt.event.KeyListener
Constructor and Description |
---|
UndoListener() |
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(java.awt.event.KeyEvent e)
Handle Control, Z or Y being pressed with
by calling undo() or redo().
|
void |
keyReleased(java.awt.event.KeyEvent e)
Handle Control being released.
|
void |
keyTyped(java.awt.event.KeyEvent e)
Ignored by this class.
|
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
e
- The KeyEvent.public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
e
- The KeyEvent.public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
e
- Ignored by this method.