S - the type of the wizard's states.V - the type of the wizard's views.public abstract class SwingWizardController<S extends Enum<S>,V extends Component & WizardView<S>> extends BasicWizardController<S,V>
JDialog.| Modifier and Type | Class and Description |
|---|---|
static class |
SwingWizardController.ReturnCode
Indicates which button was pressed to close the wizard dialog.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SwingWizardController(Dialog nullableOwner)
Constructs a wizard controller for the given owner dialog.
|
protected |
SwingWizardController(EnhancedDialog dialog)
Constructs a wizard controller which uses the given dialog.
|
protected |
SwingWizardController(Frame nullableOwner)
Constructs a wizard controller for the given owner frame.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
Closes the modal wizard dialog and sets the return code to
cancel(). |
protected void |
finish()
Closes the modal wizard dialog and sets the return code to
finish(). |
SwingWizardController.ReturnCode |
lastReturnCode()
Returns the last return code from the wizard dialog.
|
protected ComponentEnabler |
nextButtonProxy()
Returns an enabler for the next-button.
|
protected void |
onAfterStateSwitch() |
SwingWizardController.ReturnCode |
showModalDialog()
Packs and displays the modal wizard dialog.
|
protected void |
view(S state,
V view) |
backState, create, currentState, currentView, fireAfterStateSwitch, fireBeforeStateSwitch, model, nextState, onBeforeStateSwitch, switchBack, switchBackEnabled, switchNext, switchNextEnabled, viewprotected SwingWizardController(Dialog nullableOwner)
nullableOwner - the nullable owner dialog.protected SwingWizardController(EnhancedDialog dialog)
dialog - the dialog to use.protected SwingWizardController(Frame nullableOwner)
nullableOwner - the nullable owner frame.protected void cancel()
cancel().protected void finish()
finish().public SwingWizardController.ReturnCode lastReturnCode()
protected ComponentEnabler nextButtonProxy()
protected void onAfterStateSwitch()
onAfterStateSwitch in class BasicWizardController<S extends Enum<S>,V extends Component & WizardView<S>>public SwingWizardController.ReturnCode showModalDialog()
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.