ch.aplu.jgamegrid
Interface GGToggleButtonListener

All Superinterfaces:
java.util.EventListener

public interface GGToggleButtonListener
extends java.util.EventListener

Declarations of the notification method called when a toggle button changes state caused by a mouse click.


Method Summary
 void buttonToggled(GGToggleButton toggleButton, boolean toggled)
          Event callback method called when the button changes the state.
 

Method Detail

buttonToggled

void buttonToggled(GGToggleButton toggleButton,
                   boolean toggled)
Event callback method called when the button changes the state.

Parameters:
toggleButton - the GGToggleButton reference of the button that caused the event
toggled - true, if the button changed from untoggled to toggled state; false, if the button changed from toggled to untoggled state