| Package | Description |
|---|---|
| org.testfx.api | |
| org.testfx.service.finder | |
| org.testfx.service.finder.impl | |
| org.testfx.service.query | |
| org.testfx.service.query.impl |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
FxRobot.from(java.util.Collection<javafx.scene.Node> parentNodes) |
NodeQuery |
FxRobotInterface.from(java.util.Collection<javafx.scene.Node> parentNodes)
Calls
NodeFinder.from(Collection) and returns itself for method chaining. |
NodeQuery |
FxRobot.from(javafx.scene.Node... parentNodes) |
NodeQuery |
FxRobotInterface.from(javafx.scene.Node... parentNodes)
Calls
NodeFinder.from(Node...) and returns itself for method chaining. |
NodeQuery |
FxRobot.from(NodeQuery nodeQuery) |
NodeQuery |
FxRobotInterface.from(NodeQuery nodeQuery)
Convenience method: Calls
NodeFinder.from(NodeQuery) and returns itself for method chaining. |
NodeQuery |
FxRobot.fromAll() |
NodeQuery |
FxRobotInterface.fromAll()
Calls
NodeFinder.fromAll() and returns itself for method chaining. |
<T extends javafx.scene.Node> |
FxRobot.lookup(org.hamcrest.Matcher<T> matcher) |
<T extends javafx.scene.Node> |
FxRobotInterface.lookup(org.hamcrest.Matcher<T> matcher)
Convenience method: Calls
NodeFinder.lookup(Matcher) and returns itself for method chaining. |
<T extends javafx.scene.Node> |
FxRobot.lookup(java.util.function.Predicate<T> predicate) |
<T extends javafx.scene.Node> |
FxRobotInterface.lookup(java.util.function.Predicate<T> predicate)
Convenience method: Calls
NodeFinder.lookup(Predicate) and returns itself for method chaining. |
NodeQuery |
FxRobot.lookup(java.lang.String query) |
NodeQuery |
FxRobotInterface.lookup(java.lang.String query)
Convenience method: Calls
NodeFinder.lookup(String) and returns itself for method chaining. |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
FxRobot.from(NodeQuery nodeQuery) |
NodeQuery |
FxRobotInterface.from(NodeQuery nodeQuery)
Convenience method: Calls
NodeFinder.from(NodeQuery) and returns itself for method chaining. |
static <T extends javafx.scene.Node> |
FxAssert.verifyThat(NodeQuery nodeQuery,
org.hamcrest.Matcher<T> nodeMatcher) |
static <T extends javafx.scene.Node> |
FxAssert.verifyThat(NodeQuery nodeQuery,
org.hamcrest.Matcher<T> nodeMatcher,
java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> errorMessageMapper) |
static <T extends javafx.scene.Node> |
FxAssert.verifyThat(NodeQuery nodeQuery,
java.util.function.Predicate<T> nodePredicate) |
static <T extends javafx.scene.Node> |
FxAssert.verifyThat(NodeQuery nodeQuery,
java.util.function.Predicate<T> nodePredicate,
java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> errorMessageMapper) |
static <T extends javafx.scene.Node> |
FxAssert.verifyThatIter(NodeQuery nodeQuery,
org.hamcrest.Matcher<java.lang.Iterable<T>> nodesMatcher) |
static <T extends javafx.scene.Node> |
FxAssert.verifyThatIter(NodeQuery nodeQuery,
org.hamcrest.Matcher<java.lang.Iterable<T>> nodesMatcher,
java.util.function.Function<java.lang.StringBuilder,java.lang.StringBuilder> errorMessageMapper) |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
NodeFinder.from(java.util.Collection<javafx.scene.Node> parentNodes)
Returns a
NodeQuery that stores the given parentNodes collection. |
NodeQuery |
NodeFinder.from(javafx.scene.Node... parentNodes)
Returns a
NodeQuery that stores the given parentNodes |
NodeQuery |
NodeFinder.from(NodeQuery nodeQuery)
Returns a new
NodeQuery that stores all the parentNodes from the given nodeQuery (essentially,
it creates a copy/clone). |
NodeQuery |
NodeFinder.fromAll()
Returns a
NodeQuery that stores all the root nodes of all windows via
WindowFinder.listTargetWindows() |
<T> NodeQuery |
NodeFinder.lookup(org.hamcrest.Matcher<T> matcher)
Returns a
NodeQuery that stores all the root nodes that match the given matcher. |
<T extends javafx.scene.Node> |
NodeFinder.lookup(java.util.function.Predicate<T> predicate)
Returns a
NodeQuery that stores all the root nodes that pass the given predicate |
NodeQuery |
NodeFinder.lookup(java.lang.String query)
Returns a
NodeQuery that stores all the root nodes that meet the given query |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
NodeFinder.from(NodeQuery nodeQuery)
Returns a new
NodeQuery that stores all the parentNodes from the given nodeQuery (essentially,
it creates a copy/clone). |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
NodeFinderImpl.from(java.util.Collection<javafx.scene.Node> parentNodes) |
NodeQuery |
NodeFinderImpl.from(javafx.scene.Node... parentNodes) |
NodeQuery |
NodeFinderImpl.from(NodeQuery nodeQuery) |
NodeQuery |
NodeFinderImpl.fromAll() |
<T> NodeQuery |
NodeFinderImpl.lookup(org.hamcrest.Matcher<T> matcher) |
<T extends javafx.scene.Node> |
NodeFinderImpl.lookup(java.util.function.Predicate<T> predicate) |
NodeQuery |
NodeFinderImpl.lookup(java.lang.String query) |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
NodeFinderImpl.from(NodeQuery nodeQuery) |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
NodeQuery.from(java.util.Collection<javafx.scene.Node> parentNodes)
Stores all given
parentNodes within this NodeQuery. |
NodeQuery |
NodeQuery.from(javafx.scene.Node... parentNodes)
Stores all given
parentNodes within this NodeQuery. |
NodeQuery |
NodeQuery.lookup(java.util.function.Function<javafx.scene.Node,java.util.Set<javafx.scene.Node>> function)
Sifts through stored nodes and uses
function to determine which nodes to keep and which to remove. |
<T> NodeQuery |
NodeQuery.lookup(org.hamcrest.Matcher<T> matcher)
Sifts through stored nodes and keeps only those
Nodes that match the given matcher. |
<T extends javafx.scene.Node> |
NodeQuery.lookup(java.util.function.Predicate<T> predicate)
Sifts through stored nodes and keeps only those
Nodes that pass the given predicate. |
NodeQuery |
NodeQuery.lookup(java.lang.String query)
Sifts through stored nodes by their id ("#id"), their class (".class"), or the text it has ("text"),
depending on the query used, and keeps only those
Nodes that meet the query. |
<T> NodeQuery |
NodeQuery.match(org.hamcrest.Matcher<T> matcher)
Sifts through stored nodes and keeps only those
Nodes that match the given matcher. |
<T extends javafx.scene.Node> |
NodeQuery.match(java.util.function.Predicate<T> predicate)
Sifts through stored nodes and keeps only those
Nodes that pass the given predicate. |
NodeQuery |
NodeQuery.nth(int index)
Keeps the nth
Node in stored nodes and removes all others. |
| Modifier and Type | Class and Description |
|---|---|
class |
NodeQueryImpl |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
NodeQueryImpl.from(java.util.Collection<javafx.scene.Node> parentNodes) |
NodeQuery |
NodeQueryImpl.from(javafx.scene.Node... parentNodes) |
NodeQuery |
NodeQueryImpl.lookup(java.util.function.Function<javafx.scene.Node,java.util.Set<javafx.scene.Node>> function) |
<T> NodeQuery |
NodeQueryImpl.lookup(org.hamcrest.Matcher<T> matcher) |
<T extends javafx.scene.Node> |
NodeQueryImpl.lookup(java.util.function.Predicate<T> predicate) |
NodeQuery |
NodeQueryImpl.lookup(java.lang.String query) |
<T> NodeQuery |
NodeQueryImpl.match(org.hamcrest.Matcher<T> matcher) |
<T extends javafx.scene.Node> |
NodeQueryImpl.match(java.util.function.Predicate<T> predicate) |
NodeQuery |
NodeQueryImpl.nth(int index) |