public class FocusInContainerCondition extends Condition
EMPTY_TEXT| Constructor and Description |
|---|
FocusInContainerCondition(ComponentFinder finder,
ComponentMatcher matcher)
Creates a new
|
FocusInContainerCondition(String name)
Creates a new
|
FocusInContainerCondition(String name,
Class<? extends Component> type)
Creates a new
|
FocusInContainerCondition(String description,
ComponentFinder finder,
ComponentMatcher matcher)
Creates a new
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test()
Returns
true if the focus is in either the container that we are
matching on, or one of its children contained inside it. |
descriptionAddendum, done, toStringpublic FocusInContainerCondition(String name, Class<? extends Component> type)
FocusInContainerConditionname - The name of the component to find.type - The type of the component to find.public FocusInContainerCondition(String name)
FocusInContainerConditionname - The name of the component to find.public FocusInContainerCondition(ComponentFinder finder, ComponentMatcher matcher)
FocusInContainerConditionfinder - performs the component search.matcher - specifies the condition that the component we are looking for needs to
match.public FocusInContainerCondition(String description, ComponentFinder finder, ComponentMatcher matcher)
FocusInContainerConditiondescription - the description of this condition.finder - performs the component search.matcher - specifies the condition that the component we are looking for needs to
match.Copyright © 2014–2016 AssertJ. All rights reserved.