org.dllearner.tools.ore
Class WizardController
java.lang.Object
org.dllearner.tools.ore.WizardController
- All Implemented Interfaces:
- ActionListener, EventListener
public class WizardController
- extends Object
- implements ActionListener
This class is responsible for reacting to events generated by pushing any of the
three buttons, 'Next', 'Previous', and 'Cancel.' Based on what button is pressed,
the controller will update the model to show a new panel and reset the state of
the buttons as necessary.
- Author:
- Lorenz Buehmann
|
Constructor Summary |
WizardController(Wizard w)
This constructor accepts a reference to the Wizard component that created it,
which it uses to update the button components and access the WizardModel. |
WizardController
public WizardController(Wizard w)
- This constructor accepts a reference to the Wizard component that created it,
which it uses to update the button components and access the WizardModel.
- Parameters:
w - A callback to the Wizard component that created this controller.
actionPerformed
public void actionPerformed(ActionEvent evt)
- Calling method for the action listener interface. This class listens for actions
performed by the buttons in the Wizard class, and calls methods below to determine
the correct course of action.
- Specified by:
actionPerformed in interface ActionListener
- Parameters:
evt - The ActionEvent that occurred.
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann