| org.netbeans.jellytools.NbDialogOperator org.netbeans.jellytools.WizardOperator
All known Subclasses: org.netbeans.jellytools.modules.web.NewWebFreeFormSrcFoldersStepOperator, org.netbeans.jellytools.modules.web.NewWebFreeFormNameStepOperator, org.netbeans.jellytools.modules.web.NewJspFileNameStepOperator, org.netbeans.jellytools.NewFileWizardOperator, org.netbeans.jellytools.NewProjectWizardOperator, org.netbeans.jellytools.modules.web.NewWebFreeFormActionsStepOperator, org.netbeans.jellytools.modules.javacvs.CVSRootStepOperator, org.netbeans.jellytools.modules.javacvs.ImportWizardOperator, org.netbeans.jellytools.modules.javacvs.CheckoutWizardOperator, org.netbeans.jellytools.modules.web.NewWebFreeFormWebSrcStepOperator,
WizardOperator | public class WizardOperator extends NbDialogOperator (Code) | | Enable to manipulate NetBeans wizards. You can access list of steps on the
left side, all buttons at the bottom (Back, Next, Finish, Cancel, Help).
Each step of a particular wizard is represented by an ancestor of
WizardOperator, i.e. all components are described there.
Timeout "WizardOperator.WaitWizardStepTimeout" is defined during waiting for
exact step (methods stepsWaitSelectedIndex(int) and
stepsWaitSelectedValue(String)).
|
Method Summary | |
public void | back() Pushes "< Back" button. | public JButtonOperator | btBack() Returns operator of "< Back" button. | public JButtonOperator | btFinish() Returns operator of "Finish" button. | public JButtonOperator | btNext() Returns operator of "Next >" button. | protected void | checkPanel(String panelName) Checks if given panel name is currently selected/shown in wizard. | public void | finish() Pushes "Finish" button. | public JListOperator | lstSteps() Returns operator of the list of steps on the left side in wizard dialog. | public void | next() Pushes "Next >" button. | public int | stepsGetSelectedIndex() Returns index of currently selected step which is bold faced. | public String | stepsGetSelectedValue() Returns currently selected step which is bold faced. | public void | stepsWaitSelectedIndex(int index) Waits for panel with given index. | public void | stepsWaitSelectedValue(String panelName) Waits for panel with given name. | public void | verify() |
WizardOperator | public WizardOperator(JDialog dialog)(Code) | | Generic constructor
Parameters: dialog - instance of NbDialog |
WizardOperator | public WizardOperator(String title)(Code) | | Creates a new instance of WizardOperator.
It waits for a dialog with given title.
Parameters: title - title of a wizard window |
back | public void back()(Code) | | Pushes "< Back" button.
|
btBack | public JButtonOperator btBack()(Code) | | Returns operator of "< Back" button.
JButtonOperator instance of "< Back" button |
btFinish | public JButtonOperator btFinish()(Code) | | Returns operator of "Finish" button.
JButtonOperator instance of "Finish" button |
btNext | public JButtonOperator btNext()(Code) | | Returns operator of "Next >" button.
JButtonOperator instance of "Next >" button |
checkPanel | protected void checkPanel(String panelName)(Code) | | Checks if given panel name is currently selected/shown in wizard. It
compares name for exact match.
Parameters: panelName - name of panel |
finish | public void finish()(Code) | | Pushes "Finish" button.
|
lstSteps | public JListOperator lstSteps()(Code) | | Returns operator of the list of steps on the left side in wizard dialog.
JListOperator instance of list of steps |
next | public void next()(Code) | | Pushes "Next >" button.
|
stepsGetSelectedIndex | public int stepsGetSelectedIndex()(Code) | | Returns index of currently selected step which is bold faced.
index of currently selected step (starts at 0) |
stepsGetSelectedValue | public String stepsGetSelectedValue()(Code) | | Returns currently selected step which is bold faced.
value of currently selected step without leading number |
stepsWaitSelectedIndex | public void stepsWaitSelectedIndex(int index)(Code) | | Waits for panel with given index.
Timeout is declared as "WizardOperator.WaitWizardStepTimeout".
Parameters: index - int index of requested panel |
stepsWaitSelectedValue | public void stepsWaitSelectedValue(String panelName)(Code) | | Waits for panel with given name.
Timeout is declared as "WizardOperator.WaitWizardStepTimeout".
Parameters: panelName - String requested panel name |
verify | public void verify()(Code) | | Performs verification by accessing all sub-components
|
|
|