ch.aplu.jgamegrid
Interface GGRadioButtonListener
- All Superinterfaces:
- java.util.EventListener
public interface GGRadioButtonListener
- extends java.util.EventListener
Declarations of the notification method called when a radio button changes state
caused by a mouse click. When registered in a GGRadioButtonGroup, only changes
from deselected to selected state are reported.
Method Summary |
void |
buttonSelected(GGRadioButton radioButton,
boolean selected)
Event callback method called when the button changes the state. |
buttonSelected
void buttonSelected(GGRadioButton radioButton,
boolean selected)
- Event callback method called when the button changes the state.
- Parameters:
radioButton
- the GGRadioButton reference of the button that caused the eventselected
- true, if the button changed from deselected to selected state;
false, if the button changed from selected to deselected state. (If registered in
a GGRadioButtonGroup, only changes from deselected to selected state are reported, so
selected is always true.)