Package com.reportmill.wizard
Class Wizard
- java.lang.Object
- 
- com.reportmill.wizard.Wizard
 
- 
- Direct Known Subclasses:
- FormsBasic,- GraphsBar,- TablesBasic
 
 public class Wizard extends java.lang.ObjectThis class manages a specific wizard, like "Form 1040EZ" or "Table with Groupings"
- 
- 
Constructor SummaryConstructors Constructor Description Wizard()Creates a new wizard for the given name.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddScreen(WizardScreen aWS)Adds a wizard screen to this wizard.booleanfinish()Does finish.java.lang.StringgetCategory()Returns the category name for this wizard.RMDataSourcegetDataSource()Returns the datasource for this wizard's wizard panel's document's datasource.RMDataSourcegetDataSourceDefault()Returns the default datasource to be used when document doesn't have one.java.lang.StringgetDescription()Returns the description for this wizard.protected RMShape[]getFinishShapes()Returns an array of finish shapes.java.lang.StringgetListKey()Returns the list key for this wizard.intgetMaxSelectedPanelIndex()Returns the max selected panel index.java.lang.StringgetName()Returns the name for this wizard.RJPanelgetPanel(int anIndex)Returns the specific panel at the given index.intgetPanelCount()Returns the number of screens in this Wizard.java.lang.StringgetPrettyName()Returns the name for this wizard.WizardScreengetScreen(int anIndex)Returns the specific wizard screen at the given index.RJPanelgetSelectedPanel()Returns the currently selected screen.intgetSelectedPanelIndex()Returns the currently selected screen index.javax.swing.IcongetThumbnailImage()Returns the image for this wizard.static WizardgetWizard(java.lang.String aName, java.lang.String aCategory, WizardPanel aWizardPanel)Returns an instance of the wizard for the given category and name.protected voidprepareFinishShapes()Does initialization prior to get finish shapes.voidremoveScreen(WizardScreen aWS)Removes a wizard screen from this wizard.voidresetUI()Updates UI.voidrespondUI(java.lang.Object anObj)Responds to UI.voidsetCategory(java.lang.String aName)Sets the category name for this wizard.voidsetListKey(java.lang.String aKey)Sets the list key for this wizard.voidsetMaxSelectedPanelIndex(int anIndex)Sets the max selected panel index.voidsetName(java.lang.String aName)Sets the name for this wizard.voidsetSelectedPanelIndex(int anIndex)Sets the currently selected screen index.
 
- 
- 
- 
Method Detail- 
getWizardpublic 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.
 - 
getNamepublic java.lang.String getName() Returns the name for this wizard.
 - 
setNamepublic void setName(java.lang.String aName) Sets the name for this wizard.
 - 
getCategorypublic java.lang.String getCategory() Returns the category name for this wizard.
 - 
setCategorypublic void setCategory(java.lang.String aName) Sets the category name for this wizard.
 - 
getPrettyNamepublic java.lang.String getPrettyName() Returns the name for this wizard.
 - 
getDescriptionpublic java.lang.String getDescription() Returns the description for this wizard.
 - 
getThumbnailImagepublic javax.swing.Icon getThumbnailImage() Returns the image for this wizard.
 - 
getPanelCountpublic int getPanelCount() Returns the number of screens in this Wizard.
 - 
getScreenpublic WizardScreen getScreen(int anIndex) Returns the specific wizard screen at the given index.
 - 
addScreenpublic void addScreen(WizardScreen aWS) Adds a wizard screen to this wizard.
 - 
removeScreenpublic void removeScreen(WizardScreen aWS) Removes a wizard screen from this wizard.
 - 
getPanelpublic RJPanel getPanel(int anIndex) Returns the specific panel at the given index.
 - 
getSelectedPanelIndexpublic int getSelectedPanelIndex() Returns the currently selected screen index.
 - 
setSelectedPanelIndexpublic void setSelectedPanelIndex(int anIndex) Sets the currently selected screen index.
 - 
getSelectedPanelpublic RJPanel getSelectedPanel() Returns the currently selected screen.
 - 
getMaxSelectedPanelIndexpublic int getMaxSelectedPanelIndex() Returns the max selected panel index.
 - 
setMaxSelectedPanelIndexpublic void setMaxSelectedPanelIndex(int anIndex) Sets the max selected panel index.
 - 
getDataSourcepublic RMDataSource getDataSource() Returns the datasource for this wizard's wizard panel's document's datasource.
 - 
getDataSourceDefaultpublic RMDataSource getDataSourceDefault() Returns the default datasource to be used when document doesn't have one.
 - 
getListKeypublic java.lang.String getListKey() Returns the list key for this wizard.
 - 
setListKeypublic void setListKey(java.lang.String aKey) Sets the list key for this wizard.
 - 
resetUIpublic void resetUI() Updates UI.
 - 
respondUIpublic void respondUI(java.lang.Object anObj) Responds to UI.
 - 
finishpublic boolean finish() Does finish.
 - 
prepareFinishShapesprotected void prepareFinishShapes() Does initialization prior to get finish shapes.
 - 
getFinishShapesprotected RMShape[] getFinishShapes() Returns an array of finish shapes.
 
- 
 
-