public interface TICKeyListener extends java.util.EventListener
TICComponent
s.Modifier and Type | Method and Description |
---|---|
boolean |
keyPressed(TICKeyEvent event)
This method is called when a key on the keyboard is pressed down.
|
boolean |
keyReleased(TICKeyEvent event)
This method is called when a key on the keyboard is released.
|
boolean keyPressed(TICKeyEvent event)
event
- the object containing information about the eventtrue
if the event was consumed by this listener, false otherwise
(See
TICComponent
for information on how the return value is used.)boolean keyReleased(TICKeyEvent event)
event
- the object containing information about the eventtrue
if the event was consumed by this listener, false otherwise
(See
TICComponent
for information on how the return value is used.)