Package org.rspeer.listener
Interface BotKeyListener
-
public interface BotKeyListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleankeyPressed(KeyEvent e)Invoked when a key has been pressed.booleankeyReleased(KeyEvent e)Invoked when a key has been released.booleankeyTyped(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 forKeyEventfor 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 forKeyEventfor a definition of a key pressed event.- Parameters:
e- the event to be processed- Returns:
- true to consume the event
-
-