org.dllearner.tools.ore
Class WizardModel

java.lang.Object
  extended by org.dllearner.tools.ore.WizardModel

public class WizardModel
extends Object

The model for the Wizard component, which tracks the text, icons, and enabled state of each of the buttons, as well as the current panel that is displayed. Note that the model, in its current form, is not intended to be subclassed.

Author:
Lorenz Buehmann

Field Summary
static String BACK_BUTTON_ENABLED_PROPERTY
          Property identification String for the Back button's enabled state.
static String BACK_BUTTON_TEXT_PROPERTY
          Property identification String for the Back button's text.
static String CANCEL_BUTTON_ENABLED_PROPERTY
          Property identification String for the Cancel button's enabled state.
static String CANCEL_BUTTON_TEXT_PROPERTY
          Property identification String for the Cancel button's text.
static String CURRENT_PANEL_DESCRIPTOR_PROPERTY
          Identification string for the current panel.
static String NEXT_FINISH_BUTTON_ENABLED_PROPERTY
          Property identification String for the Next button's enabled state.
static String NEXT_FINISH_BUTTON_TEXT_PROPERTY
          Property identification String for the Next button's text.
 
Constructor Summary
WizardModel()
          Default constructor.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener p)
           
 ORE getOre()
           
 HashMap<Object,WizardPanelDescriptor> getPanelHashMap()
           
 void removePropertyChangeListener(PropertyChangeListener p)
           
 void setOre(ORE ore)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_PANEL_DESCRIPTOR_PROPERTY

public static final String CURRENT_PANEL_DESCRIPTOR_PROPERTY
Identification string for the current panel.

See Also:
Constant Field Values

BACK_BUTTON_TEXT_PROPERTY

public static final String BACK_BUTTON_TEXT_PROPERTY
Property identification String for the Back button's text.

See Also:
Constant Field Values

BACK_BUTTON_ENABLED_PROPERTY

public static final String BACK_BUTTON_ENABLED_PROPERTY
Property identification String for the Back button's enabled state.

See Also:
Constant Field Values

NEXT_FINISH_BUTTON_TEXT_PROPERTY

public static final String NEXT_FINISH_BUTTON_TEXT_PROPERTY
Property identification String for the Next button's text.

See Also:
Constant Field Values

NEXT_FINISH_BUTTON_ENABLED_PROPERTY

public static final String NEXT_FINISH_BUTTON_ENABLED_PROPERTY
Property identification String for the Next button's enabled state.

See Also:
Constant Field Values

CANCEL_BUTTON_TEXT_PROPERTY

public static final String CANCEL_BUTTON_TEXT_PROPERTY
Property identification String for the Cancel button's text.

See Also:
Constant Field Values

CANCEL_BUTTON_ENABLED_PROPERTY

public static final String CANCEL_BUTTON_ENABLED_PROPERTY
Property identification String for the Cancel button's enabled state.

See Also:
Constant Field Values
Constructor Detail

WizardModel

public WizardModel()
Default constructor.

Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener p)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener p)

getOre

public ORE getOre()

setOre

public void setOre(ORE ore)

getPanelHashMap

public HashMap<Object,WizardPanelDescriptor> getPanelHashMap()


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann