public interface ButtonEventHandler
Buttons events.| Modifier and Type | Method and Description |
|---|---|
boolean |
onButtonClicked(int event)
Handles button clicked event.
|
boolean |
onButtonDoubleClicked(int event)
Handles button double-clicked event.
|
boolean |
onButtonPressed(int event)
Handles button pressed event.
|
boolean |
onButtonReleased(int event)
Handles button released event.
|
boolean |
onButtonRepeated(int event)
Handles button repeated event.
|
boolean onButtonPressed(int event)
event - the button event to handle.true if the event is consumed, false otherwise.boolean onButtonReleased(int event)
event - the button event to handle.true if the event is consumed, false otherwise.boolean onButtonClicked(int event)
event - the button event to handle.true if the event is consumed, false otherwise.boolean onButtonDoubleClicked(int event)
event - the button event to handle.true if the event is consumed, false otherwise.boolean onButtonRepeated(int event)
event - the button event to handle.true if the event is consumed, false otherwise.