|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsli.util.swing.wizard.WizardPanelDescriptor
public class WizardPanelDescriptor
A base descriptor class used to reference a Component panel for the Wizard, as well as provide general rules as to how the panel should behave.
| Field Summary | |
|---|---|
static csli.util.swing.wizard.WizardPanelDescriptor.FinishIdentifier |
FINISH
Identifier returned by getNextPanelDescriptor() to indicate that this is the last panel and the text of the 'Next' button should change to 'Finish'. |
| Constructor Summary | |
|---|---|
WizardPanelDescriptor()
Default constructor. |
|
WizardPanelDescriptor(Object id,
Component panel)
Constructor which accepts both the Object-based identifier and a reference to the Component class which makes up the panel. |
|
| Method Summary | |
|---|---|
void |
aboutToDisplayPanel()
Override this method to provide functionality that will be performed just before the panel is to be displayed. |
void |
aboutToHidePanel()
Override this method to perform functionality just before the panel is to be hidden. |
void |
displayingPanel()
Override this method to perform functionality when the panel itself is displayed. |
Object |
getBackPanelDescriptor()
Override this class to provide the Object-based identifier of the panel that the user should traverse to when the Back button is pressed. |
Object |
getNextPanelDescriptor()
Override this class to provide the Object-based identifier of the panel that the user should traverse to when the Next button is pressed. |
Component |
getPanelComponent()
Returns to java.awt.Component that serves as the actual panel. |
Object |
getPanelDescriptorIdentifier()
Returns the unique Object-based identifier for this panel descriptor. |
Wizard |
getWizard()
Returns a reference to the Wizard component. |
WizardModel |
getWizardModel()
Returns a reference to the current WizardModel for this Wizard component. |
void |
setPanelComponent(Component panel)
Sets the panel's component as a class that extends java.awt.Component |
void |
setPanelDescriptorIdentifier(Object id)
Sets the Object-based identifier for this panel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final csli.util.swing.wizard.WizardPanelDescriptor.FinishIdentifier FINISH
| Constructor Detail |
|---|
public WizardPanelDescriptor()
public WizardPanelDescriptor(Object id,
Component panel)
id - Object-based identifierpanel - A class which extends java.awt.Component that will be inserted
as a panel into the wizard dialog.| Method Detail |
|---|
public void aboutToDisplayPanel()
public void aboutToHidePanel()
public void displayingPanel()
public Object getBackPanelDescriptor()
public Object getNextPanelDescriptor()
public final Component getPanelComponent()
public final Object getPanelDescriptorIdentifier()
public final Wizard getWizard()
public WizardModel getWizardModel()
public final void setPanelComponent(Component panel)
panel - java.awt.Component which serves as the wizard panelpublic final void setPanelDescriptorIdentifier(Object id)
id - Object-based identifier for this panel.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||