|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GGButtonListener
Declarations of the notification method called when a push button is pressed, released or clicked using the left mouse button. The order of events is: pressed, released, clicked. If the button is not released within a short time span or the button is released with the mouse cursor outside the button, the click event is not generated. The callbacks are executed in a separate thread, so some synchronization may be necessary to prevent concurrency problems.
Method Summary | |
---|---|
void |
buttonClicked(GGButton button)
Event callback method called when the button is clicked. |
void |
buttonPressed(GGButton button)
Event callback method called when the button is pressed. |
void |
buttonReleased(GGButton button)
Event callback method called when the button is released. |
Method Detail |
---|
void buttonPressed(GGButton button)
button
- the GGButton reference of the button that caused the eventvoid buttonReleased(GGButton button)
button
- the GGButton reference of the button that caused the eventvoid buttonClicked(GGButton button)
button
- the GGButton reference of the button that caused the event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |