fourwin
Class FourGUI.ButtonListener
java.lang.Object
fourwin.FourGUI.ButtonListener
- All Implemented Interfaces:
- ActionListener, EventListener
- Enclosing class:
- FourGUI
private class FourGUI.ButtonListener
- extends Object
- implements ActionListener
This private class is a standard ButtonListener which reacts on button-events,
as we have in this case three standard buttons and two CheckBoxes. They control the
game process and decide whether a new game should be played and if the game can start.
Another button can connect to the NXT Brick to visualize the game or to control the game
at the Visualization. If the "calculate"-checkbox is checked, the algorithm is calculated
at the NXT, and the game setting panel at the right side of the GUI changes at only 3
levels to decide.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FourGUI.ButtonListener
private FourGUI.ButtonListener()
actionPerformed
public void actionPerformed(ActionEvent event)
- Specified by:
actionPerformed
in interface ActionListener