public abstract class ModuleWizardStep extends StepAdapter
Modifier and Type | Field and Description |
---|---|
static ModuleWizardStep[] |
EMPTY_ARRAY |
Constructor and Description |
---|
ModuleWizardStep() |
Modifier and Type | Method and Description |
---|---|
static FieldPanel |
createFieldPanel(javax.swing.JTextField field,
java.lang.String labelText,
BrowseFilesListener browseButtonActionListener) |
void |
disposeUIResources() |
abstract javax.swing.JComponent |
getComponent() |
java.lang.String |
getHelpId() |
java.lang.String |
getName() |
boolean |
isStepVisible() |
void |
onStepLeaving() |
void |
onWizardFinished() |
java.lang.String |
toString() |
abstract void |
updateDataModel()
Commits data from UI into ModuleBuilder and WizardContext
|
void |
updateStep()
Update UI from ModuleBuilder and WizardContext
|
boolean |
validate()
Validates user input before
updateDataModel() is called. |
_commit, _init, fireStateChanged, getIcon, getPreferredFocusedComponent, registerStepListener
public static final ModuleWizardStep[] EMPTY_ARRAY
public abstract javax.swing.JComponent getComponent()
getComponent
in interface Step
getComponent
in class StepAdapter
JComponent
that represents step's UI in the wizard. This
method should not return null
.public abstract void updateDataModel()
public void updateStep()
public java.lang.String getHelpId()
public boolean validate() throws ConfigurationException
updateDataModel()
is called.true
if input is valid, false
otherwiseConfigurationException
- if input is not valid and needs user attention. Exception message will be displayed to userpublic void onStepLeaving()
public void onWizardFinished() throws CommitStepException
CommitStepException
public boolean isStepVisible()
public java.lang.String getName()
public void disposeUIResources()
public static FieldPanel createFieldPanel(javax.swing.JTextField field, java.lang.String labelText, BrowseFilesListener browseButtonActionListener)
public java.lang.String toString()
toString
in class java.lang.Object