public class KeysControl
extends java.awt.event.KeyAdapter
History:
Constructor and Description |
---|
KeysControl(LaFrame laFrame)
Create a KeysControl object for key controller by
specifying vttObj.
|
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(java.awt.event.KeyEvent evt)
Override methods for key press.
|
void |
keyReleased(java.awt.event.KeyEvent evt)
Override methods for key release.
|
void |
keyTyped(java.awt.event.KeyEvent evt)
Override methods for key types.
|
public KeysControl(LaFrame laFrame)
laFrame
- LaFramepublic void keyPressed(java.awt.event.KeyEvent evt)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class java.awt.event.KeyAdapter
evt
- an event indicateds a keystroke press occurred in a component.public void keyReleased(java.awt.event.KeyEvent evt)
keyReleased
in interface java.awt.event.KeyListener
keyReleased
in class java.awt.event.KeyAdapter
evt
- an event indicateds a keystroke release occurred in a componentpublic void keyTyped(java.awt.event.KeyEvent evt)
keyTyped
in interface java.awt.event.KeyListener
keyTyped
in class java.awt.event.KeyAdapter
evt
- an event indicateds a keystroke occurred in a component. Submit a bug or feature
Copyright © 2016 National Library of Medicine