Examples of SWTBotCheckBox


Examples of net.sf.swtbot.widgets.SWTBotCheckBox

   * @param checkBoxText the text on the checkbox.
   * @return a wrapper around a Checkbox Button with the specified text.
   * @throws WidgetNotFoundException if the widget is not found.
   */
  public SWTBotCheckBox checkBox(String checkBoxText) throws WidgetNotFoundException {
    return new SWTBotCheckBox(finder, checkBoxText);
  }
View Full Code Here

Examples of net.sf.swtbot.widgets.SWTBotCheckBox

   * @param checkBoxText the text on the checkbox.
   * @return a wrapper around a Checkbox Button with the specified text.
   * @throws WidgetNotFoundException if the widget is not found.
   */
  public SWTBotCheckBox checkBox(String checkBoxText) throws WidgetNotFoundException {
    return new SWTBotCheckBox(finder, checkBoxText);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox

   * @return a {@link SWTBotCheckBox} with the specified <code>label</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotCheckBox checkBoxWithLabel(String label, int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), withLabel(label), withStyle(SWT.CHECK, "SWT.CHECK"));
    return new SWTBotCheckBox((Button) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox

   * @return a {@link SWTBotCheckBox} with the specified <code>mnemonicText</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotCheckBox checkBox(String mnemonicText, int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), withMnemonic(mnemonicText), withStyle(SWT.CHECK, "SWT.CHECK"));
    return new SWTBotCheckBox((Button) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox

   * @return a {@link SWTBotCheckBox} with the specified <code>tooltip</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotCheckBox checkBoxWithTooltip(String tooltip, int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), withTooltip(tooltip), withStyle(SWT.CHECK, "SWT.CHECK"));
    return new SWTBotCheckBox((Button) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox

   * @return a {@link SWTBotCheckBox} with the specified <code>key/value</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotCheckBox checkBoxWithId(String key, String value, int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), withId(key, value), withStyle(SWT.CHECK, "SWT.CHECK"));
    return new SWTBotCheckBox((Button) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox

   * @return a {@link SWTBotCheckBox} with the specified <code>value</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotCheckBox checkBoxWithId(String value, int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), withId(value), withStyle(SWT.CHECK, "SWT.CHECK"));
    return new SWTBotCheckBox((Button) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox

   * @return a {@link SWTBotCheckBox} with the specified <code>inGroup</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotCheckBox checkBoxInGroup(String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), inGroup(inGroup), withStyle(SWT.CHECK, "SWT.CHECK"));
    return new SWTBotCheckBox((Button) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox

   * @return a {@link SWTBotCheckBox} with the specified <code>none</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotCheckBox checkBox(int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), withStyle(SWT.CHECK, "SWT.CHECK"));
    return new SWTBotCheckBox((Button) widget(matcher, index), matcher);
  }
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCheckBox

   * @return a {@link SWTBotCheckBox} with the specified <code>label</code> with the specified <code>inGroup</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotCheckBox checkBoxWithLabelInGroup(String label, String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), withLabel(label), inGroup(inGroup), withStyle(SWT.CHECK, "SWT.CHECK"));
    return new SWTBotCheckBox((Button) widget(matcher, index), matcher);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.