All Packages Class Hierarchy This Package Previous Next Index
Class com.netobjects.nfx.wizard.WizardModel
java.lang.Object
|
+----java.util.Observable
|
+----com.netobjects.nfx.wizard.WizardModel
- public class WizardModel
- extends Observable
- implements Observer
This class is the model portion
of a model-view-controller design, the wizard-part-view
being the view portion. The controller is replaced
by the java Observable/Observer mechanism.
- Version:
- 1.0
- Author:
- Scott Cinnamond
-
dmWizardView
-
-
WizardModel(WizardView)
- Constructor.
-
createView()
- Create the view.
-
getView()
-
-
isValid()
- Return true if there is a corrisponding view
member which has been instanciated and it is
valid.
-
show()
- Create the associated view if not already
instanciated.
-
update(Observable, Object)
- Implements the Observer interface.
dmWizardView
protected WizardView dmWizardView
WizardModel
public WizardModel(WizardView page)
- Constructor.
- Parameters:
- page - the parent page.
getView
public WizardView getView()
isValid
public boolean isValid()
- Return true if there is a corrisponding view
member which has been instanciated and it is
valid.
show
public void show()
- Create the associated view if not already
instanciated.
createView
public void createView()
- Create the view. This class must be overridden
in derived classes.
update
public void update(Observable observable,
Object object)
- Implements the Observer interface.
- Parameters:
- observable - the observable object.
- object - an object argument.
All Packages Class Hierarchy This Package Previous Next Index