public class ComponentFocusedCondition extends Condition
EMPTY_TEXT| Constructor and Description |
|---|
ComponentFocusedCondition(ComponentFinder finder,
ComponentMatcher matcher)
Creates a new
|
ComponentFocusedCondition(String name)
Creates a new
|
ComponentFocusedCondition(String name,
Class<? extends Component> type)
Creates a new
|
ComponentFocusedCondition(String description,
ComponentFinder finder,
ComponentMatcher matcher)
Creates a new
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test()
Returns
true if a component that matches the search criteria in this
condition's can be found. |
descriptionAddendum, done, toStringpublic ComponentFocusedCondition(String name)
ComponentVisibleConditionname - The name of the component to find in the GUI.public ComponentFocusedCondition(String name, Class<? extends Component> type)
ComponentVisibleConditionname - The name of the component to find in the GUI.type - The type of the component to find.public ComponentFocusedCondition(ComponentFinder finder, ComponentMatcher matcher)
ComponentVisibleConditionfinder - performs the component search.matcher - specifies the condition that the component we are looking for needs to
match.public ComponentFocusedCondition(String description, ComponentFinder finder, ComponentMatcher matcher)
ComponentVisibleConditiondescription - the description of this condition.finder - performs the component search.matcher - specifies the condition that the component we are looking for needs to
match.public boolean test()
true if a component that matches the search criteria in this
condition's ComponentMatcher can be found.
Otherwise, this method returns false.Copyright © 2014–2016 AssertJ. All rights reserved.