public class ConcreteTypeMatcher<T extends Component>
extends org.fest.swing.core.GenericTypeMatcher<T>
| Constructor and Description |
|---|
ConcreteTypeMatcher(SwingScreenElement<T> swingScreenElement) |
ConcreteTypeMatcher(SwingScreenElement swingScreenElement,
String methodToInvoke,
Object[] arguments) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
capitalizeFirstLetterOf(String input) |
protected boolean |
invokeMethodAndGetResult(Component component,
Optional<Method> methodOptional,
java.util.function.Predicate<Object> predicate) |
protected void |
invokeRequiredMethodOn(T component) |
protected boolean |
isMatching(T component) |
static ConcreteTypeMatcher |
matcherFor(SwingScreenElement swingScreenElement) |
static ConcreteTypeMatcher |
matcherFor(SwingScreenElement swingScreenElement,
String methodToInvoke,
Object... arguments) |
protected boolean |
testAllAttributesOf(Component component) |
protected <T extends Component> |
testAttribute(T component,
AttributeValuePair attributeValuePair) |
protected String |
toMethodName(String input) |
public ConcreteTypeMatcher(SwingScreenElement<T> swingScreenElement)
public ConcreteTypeMatcher(SwingScreenElement swingScreenElement, String methodToInvoke, Object[] arguments)
public static ConcreteTypeMatcher matcherFor(SwingScreenElement swingScreenElement)
public static ConcreteTypeMatcher matcherFor(SwingScreenElement swingScreenElement, String methodToInvoke, Object... arguments)
protected boolean isMatching(T component)
protected void invokeRequiredMethodOn(T component)
protected <T extends Component> boolean testAttribute(T component, AttributeValuePair attributeValuePair)
protected boolean invokeMethodAndGetResult(Component component, Optional<Method> methodOptional, java.util.function.Predicate<Object> predicate)
protected boolean testAllAttributesOf(Component component)
Copyright © 2016. All rights reserved.