Package org.eclipse.swtbot.swt.finder.results

Examples of org.eclipse.swtbot.swt.finder.results.IntResult


   * Returns the number of items contained in the receiver that are direct item children of the receiver.
   *
   * @return the number of items
   */
  public int rowCount() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getItemCount();
      }
    });
  }
View Full Code Here


   * Gets the item count in the list
   *
   * @return the number of items in the list.
   */
  public int itemCount() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getItemCount();
      }
    });
  }
View Full Code Here

   * Gets the selection count.
   *
   * @return the number of selected items in the list.
   */
  public int selectionCount() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getSelectionCount();
      }
    });
  }
View Full Code Here

   *
   * @param item the search item.
   * @return the index of the item, or -1 if the item does not exist.
   */
  public int indexOf(final String item) {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.indexOf(item);
      }
    });
  }
View Full Code Here

   * Return the current value of the slider.
   *
   * @return the current selection in the slider.
   */
  public int getSelection() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getSelection();
      }
    });
  }
View Full Code Here

   * Return the maximum value the slider will accept.
   *
   * @return the maximum of the slider.
   */
  public int getMaximum() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getMaximum();
      }
    });
  }
View Full Code Here

   * Return the minimum value the slider will accept.
   *
   * @return the minimum of the slider.
   */
  public int getMinimum() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getMinimum();
      }
    });
  }
View Full Code Here

   * Return the increment of the slider.
   *
   * @return the increment of the slider.
   */
  public int getIncrement() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getIncrement();
      }
    });
  }
View Full Code Here

   * Return the page increment of the slider.
   *
   * @return the increment of the slider.
   */
  public int getPageIncrement() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getPageIncrement();
      }
    });
  }
View Full Code Here

   * Return the size of the thumb of the slider.
   *
   * @return the size of the thumb of the slider.
   */
  public int getThumb() {
    return syncExec(new IntResult() {
      public Integer run() {
        return widget.getThumb();
      }
    });
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swtbot.swt.finder.results.IntResult

Copyright © 2018 www.massapicom. 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.