Examples of SWTBotRadio


Examples of net.sf.swtbot.widgets.SWTBotRadio

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

Examples of net.sf.swtbot.widgets.SWTBotRadio

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

   * @return a {@link SWTBotRadio} with the specified <code>label</code> with the specified <code>inGroup</code>.
   */
  @SuppressWarnings("unchecked")
  public SWTBotRadio radioWithLabelInGroup(String label, String inGroup, int index) {
    Matcher matcher = allOf(widgetOfType(Button.class), withLabel(label), inGroup(inGroup), withStyle(SWT.RADIO, "SWT.RADIO"));
    return new SWTBotRadio((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.