public class GGPushButtonAdapter extends java.lang.Object implements GGPushButtonListener
| Constructor and Description |
|---|
GGPushButtonAdapter() |
| 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 is held down.
|
public void buttonPressed(GGPushButton button)
buttonPressed in interface GGPushButtonListenerbutton - the GGPushButton reference of the button that caused the eventpublic void buttonReleased(GGPushButton button)
buttonReleased in interface GGPushButtonListenerbutton - the GGPushButton reference of the button that caused the eventpublic void buttonClicked(GGPushButton button)
buttonClicked in interface GGPushButtonListenerbutton - the GGPushButton reference of the button that caused the eventpublic void buttonRepeated(GGPushButton button)
buttonRepeated in interface GGPushButtonListenerbutton - the GGPushButton reference of the button that caused the event