| org.netbeans.modules.visualweb.gravy.NbDialogOperator
All known Subclasses: org.netbeans.modules.visualweb.gravy.properties.editors.FilesystemCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.AbbreviationsEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.ClasspathCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.DimensionCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.FileCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.ColorCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.KeyBindingsEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.StringArrayCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.ServiceTypeCustomEditorOperator, org.netbeans.modules.visualweb.gravy.OptionsOperator, org.netbeans.modules.visualweb.gravy.websvc.TestMethodOperator, org.netbeans.modules.visualweb.gravy.properties.editors.IconCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.FindEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.RectangleCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.ProcessDescriptorCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.FontCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.StringCustomEditorOperator, org.netbeans.modules.visualweb.gravy.properties.editors.GoToLineEditorOperator,
NbDialogOperator | public class NbDialogOperator extends JDialogOperator (Code) | | Handle generic NetBeans dialog. The dialog can include Yes, No, OK,
Cancel, Close or Help buttons. The dialog is identified by its title.
|
Method Summary | |
public JButtonOperator | btCancel() Returns operator of "Cancel" button. | public JButtonOperator | btClose() Returns operator of "Close" button. | public JButtonOperator | btHelp() Returns operator of "Help" button. | public JButtonOperator | btNo() Returns operator of "No" button. | public JButtonOperator | btOK() Returns operator of "OK" button. | public JButtonOperator | btYes() Returns operator of "Yes" button. | public void | cancel() Pushes "Cancel" button. | public void | closeByButton() Pushes "Close" button. | public void | help() Pushes "Help" button. | public void | no() Pushes "No" button. | public void | ok() Pushes "OK" button. | public void | yes() Pushes "Yes" button. |
NbDialogOperator | public NbDialogOperator(String title)(Code) | | Waits until dialog with requested title is found. Title is compared
on partial match and case non-sensitive. If dialog is not found, runtime
exception is thrown.
Parameters: title - title of window |
NbDialogOperator | public NbDialogOperator(JDialog dialog)(Code) | | Created NbDialogOperator with given dialog
Parameters: dialog - JDialog instance |
btCancel | public JButtonOperator btCancel()(Code) | | Returns operator of "Cancel" button.
JButtonOperator instance of "Cancel" button |
btClose | public JButtonOperator btClose()(Code) | | Returns operator of "Close" button.
JButtonOperator instance of "Close" button |
btHelp | public JButtonOperator btHelp()(Code) | | Returns operator of "Help" button.
JButtonOperator instance of "Help" button |
btNo | public JButtonOperator btNo()(Code) | | Returns operator of "No" button.
JButtonOperator instance of "No" button |
btOK | public JButtonOperator btOK()(Code) | | Returns operator of "OK" button.
JButtonOperator instance of "OK" button |
btYes | public JButtonOperator btYes()(Code) | | Returns operator of "Yes" button.
JButtonOperator instance of "Yes" button |
cancel | public void cancel()(Code) | | Pushes "Cancel" button.
|
closeByButton | public void closeByButton()(Code) | | Pushes "Close" button. Using
JDialogOperator.close close() will close dialog default way like on demand of a window manager.
|
help | public void help()(Code) | | Pushes "Help" button.
|
no | public void no()(Code) | | Pushes "No" button.
|
ok | public void ok()(Code) | | Pushes "OK" button.
|
yes | public void yes()(Code) | | Pushes "Yes" button.
|
|
|