|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WizardPage is a single page in a Wizard. This interface is typically
implemented directly on a JPanel subclass, and 'this' is returned from the
public JComponent getPageComponent()
method. When a
WizardPage becomes the 'current' page in the Wizard, the public void
activated(WizardHost host)
method is called. When the user hits
'Back' or 'Next' in the WizardHost, the public void deactivated()
method is called.
The BasicWizardPage class is provided as a basic imlementation of this interface - ideal for subclassing to create a wizard page.
Wizard
,
WizardHost
,
BasicWizardPage
Method Summary | |
void |
activated(WizardHost host)
Called when this WizardPage is activated as the 'current' page in the Wizard. |
void |
deactivated()
Called when this WizardPage is deactivated, and is no longer the 'current' page in the Wizard. |
javax.swing.JComponent |
getPageComponent(WizardHost host)
Returns the JComponent to act as the UI for this WizardPage. |
Method Detail |
public javax.swing.JComponent getPageComponent(WizardHost host)
host
- The WizardHost hosting this Wizard.public void activated(WizardHost host)
host
- The WizardHost hosting this Wizard. NOTE: For pages that have
required fields - the WizardHost interface can be used to enable/
disable the 'Next' and 'Finish' buttons.public void deactivated()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |