public interface GGToggleButtonListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
buttonToggled(GGToggleButton toggleButton,
boolean toggled)
Event callback method called when the button changes the state.
|
void buttonToggled(GGToggleButton toggleButton, boolean toggled)
toggleButton
- the GGToggleButton reference of the button that caused the eventtoggled
- true, if the button changed from untoggled to toggled state;
false, if the button changed from toggled to untoggled state