Examples of StringTextMatcher


Examples of org.fest.swing.util.StringTextMatcher

   * @throws IllegalStateException if the <code>JList</code> is disabled.
   * @throws IllegalStateException if the <code>JList</code> is not showing on the screen.
   * @throws LocationUnavailableException if an element matching the given value cannot be found.
   */
  public void clickItem(JList list, String value, MouseButton button, int times) {
    clickItem(list, new StringTextMatcher(value), button, times);
  }
View Full Code Here

Examples of org.fest.swing.util.StringTextMatcher

   * @throws IllegalArgumentException if the given array is empty.
   * @throws AssertionError if the selected items do not match the given values.
   */
  @RunsInEDT
  public void requireSelectedItems(JList list, String... items) {
    requireSelectedItems(list, new StringTextMatcher(items));
  }
View Full Code Here

Examples of org.fest.swing.util.StringTextMatcher

   * @throws LocationUnavailableException if an element matching the given value cannot be found.
   * @see #cellReader(JListCellReader)
   */
  @RunsInEDT
  public void drag(JList list, String value) {
    drag(list, new StringTextMatcher(value));
  }
View Full Code Here

Examples of org.fest.swing.util.StringTextMatcher

   * @throws LocationUnavailableException if an element matching the given value cannot be found.
   * @throws ActionFailedException if there is no drag action in effect.
   */
  @RunsInEDT
  public void drop(JList list, String value) {
    drop(list, new StringTextMatcher(value));
  }
View Full Code Here

Examples of org.fest.swing.util.StringTextMatcher

   * @throws ComponentLookupException if a pop-up menu cannot be found.
   * @throws LocationUnavailableException if an element matching the given value cannot be found.
   */
  @RunsInEDT
  public JPopupMenu showPopupMenu(JList list, String value) {
    return showPopupMenu(list, new StringTextMatcher(value));
  }
View Full Code Here

Examples of org.fest.swing.util.StringTextMatcher

   * @return the index of the first item matching the given value.
   * @throws LocationUnavailableException if an element matching the given value cannot be found.
   */
  @RunsInEDT
  public int indexOf(JList list, String value) {
    return indexOf(list, new StringTextMatcher(value));
  }
View Full Code Here

Examples of org.fest.swing.util.StringTextMatcher

   * @return the index of the first tab that matches the given <code>String</code>.
   * @throws LocationUnavailableException if a tab matching the given title could not be found.
   */
  @RunsInCurrentThread
  public int indexOf(JTabbedPane tabbedPane, String title) {
    return indexOf(tabbedPane, new StringTextMatcher(title));
  }
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.