public interface GGPushButtonListener
Modifier and Type | Method and Description |
---|---|
void |
buttonClicked(GGPushButton button)
Event callback method called when the button is clicked.
|
void |
buttonPressed(GGPushButton button)
Event callback method called when the button is pressed.
|
void |
buttonReleased(GGPushButton button)
Event callback method called when the button is released.
|
void |
buttonRepeated(GGPushButton button)
Event callback method called when the button held down.
|
void buttonPressed(GGPushButton button)
button
- the GGPushButton reference of the button that caused the eventvoid buttonReleased(GGPushButton button)
button
- the GGPushButton reference of the button that caused the eventvoid buttonClicked(GGPushButton button)
button
- the GGPushButton reference of the button that caused the eventvoid buttonRepeated(GGPushButton button)
button
- the GGPushButton reference of the button that caused the event