| |
|
| java.lang.Object com.nexes.wizard.WizardPanelDescriptor
All known Subclasses: com.nexes.test.TestPanel1Descriptor, org.dbbrowser.ui.helper.exporthelper.wizard.paneldescriptors.HeaderFooterPanelDescriptor, org.dbbrowser.ui.helper.exporthelper.wizard.paneldescriptors.ExportTypePanelDescriptor, com.nexes.test.TestPanel3Descriptor, com.nexes.test.TestPanel2Descriptor, org.dbbrowser.ui.helper.exporthelper.wizard.paneldescriptors.ExportProgressPanelDescriptor, org.dbbrowser.ui.helper.exporthelper.wizard.paneldescriptors.IncludeTableColumnsPanelDescriptor, org.dbbrowser.ui.helper.exporthelper.wizard.paneldescriptors.ExportConfirmationPanelDescriptor, org.dbbrowser.ui.helper.exporthelper.wizard.paneldescriptors.DateFormatPanelDescriptor, org.dbbrowser.ui.helper.exporthelper.wizard.paneldescriptors.PageSetupPanelDescriptor, org.dbbrowser.ui.helper.exporthelper.wizard.paneldescriptors.OverviewPanelDescriptor,
WizardPanelDescriptor | public class WizardPanelDescriptor (Code) | | 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.
|
Inner Class :static class FinishIdentifier | |
Field Summary | |
final public static 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'. |
FINISH | final public static FinishIdentifier FINISH(Code) | | Identifier returned by getNextPanelDescriptor() to indicate that this is the
last panel and the text of the 'Next' button should change to 'Finish'.
|
WizardPanelDescriptor | public WizardPanelDescriptor()(Code) | | Default constructor. The id and the Component panel must be set separately.
|
WizardPanelDescriptor | public WizardPanelDescriptor(Object id, Component panel)(Code) | | Constructor which accepts both the Object-based identifier and a reference to
the Component class which makes up the panel.
Parameters: id - Object-based identifier Parameters: panel - A class which extends java.awt.Component that will be inserted as apanel into the wizard dialog. |
aboutToDisplayPanel | public void aboutToDisplayPanel()(Code) | | Override this method to provide functionality that will be performed just before
the panel is to be displayed.
|
aboutToHidePanel | public void aboutToHidePanel()(Code) | | Override this method to perform functionality just before the panel is to be
hidden.
|
displayingPanel | public void displayingPanel()(Code) | | Override this method to perform functionality when the panel itself is displayed.
|
getBackPanelDescriptor | public Object getBackPanelDescriptor()(Code) | | Override this class to provide the Object-based identifier of the panel that the
user should traverse to when the Back button is pressed. Note that this method
is only called when the button is actually pressed, so that the panel can change
the previous panel's identifier dynamically at runtime if necessary. Return null if
the button should be disabled.
Object-based identifier |
getNextPanelDescriptor | public Object getNextPanelDescriptor()(Code) | | Override this class to provide the Object-based identifier of the panel that the
user should traverse to when the Next button is pressed. Note that this method
is only called when the button is actually pressed, so that the panel can change
the next panel's identifier dynamically at runtime if necessary. Return null if
the button should be disabled. Return FinishIdentfier if the button text
should change to 'Finish' and the dialog should end.
Object-based identifier. |
getPanelComponent | final public Component getPanelComponent()(Code) | | Returns to java.awt.Component that serves as the actual panel.
A reference to the java.awt.Component that serves as the panel |
getPanelDescriptorIdentifier | final public Object getPanelDescriptorIdentifier()(Code) | | Returns the unique Object-based identifier for this panel descriptor.
The Object-based identifier |
getWizard | final public Wizard getWizard()(Code) | | Returns a reference to the Wizard component.
The Wizard class hosting this descriptor. |
getWizardModel | public WizardModel getWizardModel()(Code) | | Returns a reference to the current WizardModel for this Wizard component.
The current WizardModel for this Wizard component. |
setPanelComponent | final public void setPanelComponent(Component panel)(Code) | | Sets the panel's component as a class that extends java.awt.Component
Parameters: panel - java.awt.Component which serves as the wizard panel |
setPanelDescriptorIdentifier | final public void setPanelDescriptorIdentifier(Object id)(Code) | | Sets the Object-based identifier for this panel. The identifier must be unique
from all the other identifiers in the panel.
Parameters: id - Object-based identifier for this panel. |
|
|
|