@ToFriendlyString public class GuiItemRef extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GuiItemRef.ComponentMatcher
Returns a Matcher that always matches a single known component.
|
Modifier and Type | Field and Description |
---|---|
java.awt.Component |
lastFound |
abbot.finder.Matcher |
matcher |
private GuiRelative |
relationship |
private GuiItemRef |
relative |
Constructor and Description |
---|
GuiItemRef(java.awt.Component identity)
Returns a GuiItemRef that always matches a single known component.
|
GuiItemRef(abbot.finder.Matcher matcher) |
Modifier and Type | Method and Description |
---|---|
GuiItemRef |
clearFound(boolean clearRelatives) |
java.awt.Component |
getLastFound() |
GuiRelative |
getRelationship() |
GuiItemRef |
getRelative() |
java.lang.String |
relativeToString(boolean includeFullRelativeDescription) |
void |
setRelative(GuiItemRef relative,
GuiRelative relationship) |
java.lang.String |
toString() |
java.lang.String |
toString(boolean includeFullRelativeDescription) |
public java.awt.Component lastFound
public final abbot.finder.Matcher matcher
private GuiRelative relationship
private GuiItemRef relative
public GuiItemRef(java.awt.Component identity)
identity
- The component to matchpublic GuiItemRef(abbot.finder.Matcher matcher)
public GuiItemRef clearFound(boolean clearRelatives)
public java.awt.Component getLastFound()
public GuiRelative getRelationship()
public GuiItemRef getRelative()
public java.lang.String relativeToString(boolean includeFullRelativeDescription)
public void setRelative(GuiItemRef relative, GuiRelative relationship)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean includeFullRelativeDescription)