All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.netobjects.nfx.wizard.WizardDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----com.sun.java.swing.JFrame
                                           |
                                           +----com.netobjects.nfx.wizard.WizardDialog

public class WizardDialog
extends JFrame
Version:
1.0
Author:
Scott Cinnamond

Variable Index

 o dmBtnClose
 o dmBtnLabelBack
 o dmBtnLabelClose
 o dmBtnLabelFinish
 o dmBtnLabelNext
 o dmBtnNext
 o dmBtnPrevious
 o dmButtonPanel
 o dmCodeBase
 o dmControlInsets
 o dmCurrPage
 o dmCurrPageKey
 o dmExceptionHandler
 o dmObservable
 o dmPageIndex
 o dmPagePanel
 o dmPagePanelCardLayout
 o dmStandardHeight
 o dmStandardWidth

Constructor Index

 o WizardDialog(JFrame, String, String, ExceptionHandler)
Constructor.

Method Index

 o add(WizardPage)
Add a page to the wizard.
 o addObserver(Observer)
 o clearChanged()
 o countObservers()
 o deleteObserver(Observer)
 o deleteObservers()
 o enableNext(boolean)
 o enablePrevious(boolean)
 o finalize()
 o getCodeBase()
 o getExceptionHandler()
 o hasChanged()
 o initialize()
 o nextPage()
 o notifyObservers()
 o notifyObservers(Object)
 o previousPage()
 o setChanged()
 o update(Observable, Object)
Implements the Observer interface.
 o windowClosing(WindowEvent)
Processes a window close event.

Variables

 o dmExceptionHandler
 private ExceptionHandler dmExceptionHandler
 o dmObservable
 private WizardDialog. WizardDialogObservable dmObservable
 o dmPageIndex
 private Hashtable dmPageIndex
 o dmCodeBase
 private String dmCodeBase
 o dmBtnPrevious
 private JButton dmBtnPrevious
 o dmBtnNext
 private JButton dmBtnNext
 o dmBtnClose
 private JButton dmBtnClose
 o dmButtonPanel
 private JPanel dmButtonPanel
 o dmPagePanel
 private JPanel dmPagePanel
 o dmPagePanelCardLayout
 private CardLayout dmPagePanelCardLayout
 o dmCurrPageKey
 private int dmCurrPageKey
 o dmCurrPage
 private WizardPage dmCurrPage
 o dmBtnLabelBack
 private static final String dmBtnLabelBack
 o dmBtnLabelNext
 private static final String dmBtnLabelNext
 o dmBtnLabelFinish
 private static final String dmBtnLabelFinish
 o dmBtnLabelClose
 private static final String dmBtnLabelClose
 o dmStandardWidth
 private static final int dmStandardWidth
 o dmStandardHeight
 private static final int dmStandardHeight
 o dmControlInsets
 private static final int dmControlInsets

Constructors

 o WizardDialog
 public WizardDialog(JFrame parent,
                     String title,
                     String codeBase,
                     ExceptionHandler handler)
Constructor.

Parameters:
parent - the parent frame.
title - the title for the dialog.
handler - the exception handler.

Methods

 o getExceptionHandler
 public ExceptionHandler getExceptionHandler()
 o getCodeBase
 public String getCodeBase()
 o initialize
 public void initialize()
 o finalize
 public void finalize()
Overrides:
finalize in class Object
 o nextPage
 public void nextPage() throws InternalError, ExternalError
 o previousPage
 public void previousPage() throws InternalError
 o enableNext
 public void enableNext(boolean enable)
 o enablePrevious
 public void enablePrevious(boolean enable)
 o add
 public void add(WizardPage page)
Add a page to the wizard. Auto-set its parent and an id value. Hash its id to the page in the card-layout and page index.

Parameters:
page - the wizard page.
 o windowClosing
 void windowClosing(WindowEvent event)
Processes a window close event.

Parameters:
event - the window event.
 o addObserver
 public void addObserver(Observer obs)
 o clearChanged
 public void clearChanged()
 o countObservers
 public int countObservers()
 o deleteObserver
 public void deleteObserver(Observer obs)
 o deleteObservers
 public void deleteObservers()
 o hasChanged
 public boolean hasChanged()
 o notifyObservers
 public void notifyObservers()
 o notifyObservers
 public void notifyObservers(Object obj)
 o setChanged
 public void setChanged()
 o 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