Package org.rspeer.listener
Interface BotKeyListener
-
public interface BotKeyListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
keyPressed(KeyEvent e)
Invoked when a key has been pressed.boolean
keyReleased(KeyEvent e)
Invoked when a key has been released.boolean
keyTyped(KeyEvent e)
Invoked when a key has been typed.
-
-
-
Method Detail
-
keyTyped
boolean keyTyped(KeyEvent e)
Invoked when a key has been typed. See the class description forKeyEvent
for a definition of a key typed event.- Parameters:
e
- the event to be processed- Returns:
- true to consume the event
-
keyPressed
boolean keyPressed(KeyEvent e)
Invoked when a key has been pressed. See the class description forKeyEvent
for a definition of a key pressed event.- Parameters:
e
- the event to be processed- Returns:
- true to consume the event
-
-