public static class Utils.EscKeyListener
extends java.awt.event.KeyAdapter
Constructor and Description |
---|
Utils.EscKeyListener(java.awt.Window wFrame)
Creates an EscKeyListener for the given Window.
|
public Utils.EscKeyListener(java.awt.Window wFrame)
wFrame
- The frame to connect this listener to. All
of the frame's Components will have this listener
installed, too.public void keyTyped(java.awt.event.KeyEvent ke)
keyTyped
in interface java.awt.event.KeyListener
keyTyped
in class java.awt.event.KeyAdapter
ke
- The key-typed event.public java.lang.String toString()
toString
in class java.lang.Object