public class Wizard
extends java.lang.Object
Constructor and Description |
---|
Wizard()
Creates a new wizard for the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
addScreen(WizardScreen aWS)
Adds a wizard screen to this wizard.
|
boolean |
finish()
Does finish.
|
java.lang.String |
getCategory()
Returns the category name for this wizard.
|
RMDataSource |
getDataSource()
Returns the datasource for this wizard's wizard panel's document's datasource.
|
RMDataSource |
getDataSourceDefault()
Returns the default datasource to be used when document doesn't have one.
|
java.lang.String |
getDescription()
Returns the description for this wizard.
|
protected RMShape[] |
getFinishShapes()
Returns an array of finish shapes.
|
java.lang.String |
getListKey()
Returns the list key for this wizard.
|
int |
getMaxSelectedPanelIndex()
Returns the max selected panel index.
|
java.lang.String |
getName()
Returns the name for this wizard.
|
RJPanel |
getPanel(int anIndex)
Returns the specific panel at the given index.
|
int |
getPanelCount()
Returns the number of screens in this Wizard.
|
java.lang.String |
getPrettyName()
Returns the name for this wizard.
|
WizardScreen |
getScreen(int anIndex)
Returns the specific wizard screen at the given index.
|
RJPanel |
getSelectedPanel()
Returns the currently selected screen.
|
int |
getSelectedPanelIndex()
Returns the currently selected screen index.
|
javax.swing.Icon |
getThumbnailImage()
Returns the image for this wizard.
|
static Wizard |
getWizard(java.lang.String aName,
java.lang.String aCategory,
WizardPanel aWizardPanel)
Returns an instance of the wizard for the given category and name.
|
protected void |
prepareFinishShapes()
Does initialization prior to get finish shapes.
|
void |
removeScreen(WizardScreen aWS)
Removes a wizard screen from this wizard.
|
void |
resetUI()
Updates UI.
|
void |
respondUI(java.lang.Object anObj)
Responds to UI.
|
void |
setCategory(java.lang.String aName)
Sets the category name for this wizard.
|
void |
setListKey(java.lang.String aKey)
Sets the list key for this wizard.
|
void |
setMaxSelectedPanelIndex(int anIndex)
Sets the max selected panel index.
|
void |
setName(java.lang.String aName)
Sets the name for this wizard.
|
void |
setSelectedPanelIndex(int anIndex)
Sets the currently selected screen index.
|
public static Wizard getWizard(java.lang.String aName, java.lang.String aCategory, WizardPanel aWizardPanel)
public java.lang.String getName()
public void setName(java.lang.String aName)
public java.lang.String getCategory()
public void setCategory(java.lang.String aName)
public java.lang.String getPrettyName()
public java.lang.String getDescription()
public javax.swing.Icon getThumbnailImage()
public int getPanelCount()
public WizardScreen getScreen(int anIndex)
public void addScreen(WizardScreen aWS)
public void removeScreen(WizardScreen aWS)
public RJPanel getPanel(int anIndex)
public int getSelectedPanelIndex()
public void setSelectedPanelIndex(int anIndex)
public RJPanel getSelectedPanel()
public int getMaxSelectedPanelIndex()
public void setMaxSelectedPanelIndex(int anIndex)
public RMDataSource getDataSource()
public RMDataSource getDataSourceDefault()
public java.lang.String getListKey()
public void setListKey(java.lang.String aKey)
public void resetUI()
public void respondUI(java.lang.Object anObj)
public boolean finish()
protected void prepareFinishShapes()
protected RMShape[] getFinishShapes()