Method Summary |
|
void | close(int code) Closes the dialog and sets the return code to the integer parameter. |
public boolean | getBackButtonEnabled() Mirrors the WizardModel method of the same name. |
public boolean | getCancelButtonEnabled() Mirrors the WizardModel method of the same name. |
public JDialog | getDialog() Returns an instance of the JDialog that this class created. |
public WizardModel | getModel() Returns the current model of the wizard dialog. |
public boolean | getNextFinishButtonEnabled() Mirrors the WizardModel method of the same name. |
public Component | getOwner() Returns the owner of the generated javax.swing.JDialog. |
public int | getReturnCode() Retrieves the last return code set by the dialog.
An integer that identifies how the dialog was closed. |
public String | getTitle() Returns the current title of the generated dialog. |
public boolean | isModal() Returns the modality of the dialog. |
public void | propertyChange(PropertyChangeEvent evt) Method used to listen for property change events from the model and update the
dialog's graphical components as necessary. |
public void | registerWizardPanel(Object id, WizardPanelDescriptor panel) Add a Component as a panel for the wizard dialog by registering its
WizardPanelDescriptor object. |
public void | setBackButtonEnabled(boolean newValue) Mirrors the WizardModel method of the same name. |
public void | setCancelButtonEnabled(boolean newValue) Mirrors the WizardModel method of the same name. |
public void | setCurrentPanel(Object id) Displays the panel identified by the object passed in. |
public void | setModal(boolean b) Sets the modality of the generated javax.swing.JDialog. |
public void | setNextFinishButtonEnabled(boolean newValue) Mirrors the WizardModel method of the same name. |
public void | setTitle(String s) Sets the title of the generated javax.swing.JDialog. |
public int | showModalDialog() Convienence method that displays a modal wizard dialog and blocks until the dialog
has completed.
Indicates how the dialog was closed. |
public void | windowClosing(WindowEvent e) If the user presses the close box on the dialog's window, treat it
as a cancel. |