| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWizardStep
A single step in the wizard. The architecture assumes that the wizard-ui keeps synchronized with the model at all the time, so that other steps can react to changes and update their own availability. Steps *should* preserve the user input even when they temporarily enter a invalid UI state while they are not yet active.
| Method Summary | |
|---|---|
 void | 
createPresentationComponent(org.pentaho.ui.xul.XulDomContainer mainWizardContainer)
 | 
 String | 
getStepName()
 | 
 boolean | 
isDisabled()
isDisabled()  | 
 boolean | 
isFinishable()
 | 
 boolean | 
isValid()
Checks, whether the step is currently valid.  | 
 void | 
setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bindingFactory)
 | 
 void | 
setBindings()
setBindings() Allows concrete implementations to set their bindings for enclosed properties and Xul defined elements.  | 
 void | 
setDisabled(boolean disabled)
setDisabled(boolean disable);  | 
 void | 
setDocument(org.pentaho.ui.xul.dom.Document document)
 | 
 void | 
setFinishable(boolean finishable)
setFinishable()  | 
 void | 
stepActivatingForward()
stepActivatingForward() Called if the step that is activating is higher in the list than the current one (next).  | 
 void | 
stepActivatingReverse()
stepActivatingReverse() Called if the step that is activatig is lower in the list than the current active one (back)  | 
 boolean | 
stepDeactivatingForward()
Called on a step just before it becomes deactivated (before the next active step is shown) on response to moving forward in the step list (next).  | 
 boolean | 
stepDeactivatingReverse()
Called on a step just before it become deactivated (before the next active step is shown) on response to moving backward in the step list (back)  | 
| Method Detail | 
|---|
void setBindings()
boolean isValid()
void stepActivatingForward()
void stepActivatingReverse()
boolean stepDeactivatingForward()
boolean stepDeactivatingReverse()
void setFinishable(boolean finishable)
finishable - sets the flag that determines if the "Finish" button should be enabled for this
 wizard panel.boolean isFinishable()
void createPresentationComponent(org.pentaho.ui.xul.XulDomContainer mainWizardContainer)
                                 throws org.pentaho.ui.xul.XulException
mainWizardContainer - 
org.pentaho.ui.xul.XulException - Creates the presentation layer associated with this IWizardStep.  This is usually
 done by loading an overlay into the main_wzard_panel.xulvoid setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bindingFactory)
void setDocument(org.pentaho.ui.xul.dom.Document document)
String getStepName()
boolean isDisabled()
void setDisabled(boolean disabled)
enable - boolean that indicates if this step should be enabled in the current chain
 
 Note: it is an error to call this method on a step that is currently being displayed.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||