ur_rna.GUITester.GuiTools

## Class GuiItemRef.ComponentMatcher

- java.lang.Object
- - ur_rna.GUITester.GuiTools.GuiItemRef.ComponentMatcher

- All Implemented Interfaces:
    abbot.finder.Matcher
  Enclosing class:
    GuiItemRef

      public static class GuiItemRef.ComponentMatcher
      extends java.lang.Object
      implements abbot.finder.Matcher

  Returns a Matcher that always matches a single known component.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.awt.Component` | `identity`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ComponentMatcher(java.awt.Component identity)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `matches(java.awt.Component c)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### identity

          public final java.awt.Component identity

  - ### Constructor Detail

    - #### ComponentMatcher

          public ComponentMatcher(java.awt.Component identity)

  - ### Method Detail

    - #### matches

          public boolean matches(java.awt.Component c)

      Specified by:
        `matches` in interface `abbot.finder.Matcher`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`