| Modifier and Type | Method and Description |
|---|---|
| public static NodeResolver | Returns: a resolver that finds the button by actionthe StandardAction associated with the button action)Creates a resolver that finds a button by its StandardAction. |
| public static NodeResolver | Returns: a resolver that finds the button by button typethe button type to find buttonType)Creates a resolver that finds a button by its button type, assuming the node
resolved is a |
| public static NodeResolver | Returns: a resolver that finds the button by graphicthe graphic of the button glyphCreates a resolver that finds a button by its graphic. |
| public static NodeResolver | buttonWithGraphicIn(Class<? extends Node> container, IconTheme.
Creates a resolver that finds a button by its graphic below the first visible node of
type |
| private static boolean | |
| private static @Nullable Node | |
| public static NodeResolver | firstOf(NodeResolver... resolvers)
Creates a resolver that returns the first node any of the given resolvers finds, in order. |
| public static NodeResolver | |
| private static boolean | |
| public static NodeResolver | |
| public static NodeResolver | |
| public Optional | |
| public static NodeResolver | |
| public static NodeResolver | Returns: a resolver that finds the node by style class and text contentthe style class to match selector, @NonNull Predicate<String> predicate to match text content in LabeledText children textMatcher)Creates a resolver that finds a node by selector first, then matches text content in the node and the node's LabeledText children. |
| action | back to summary |
|---|---|
| public static NodeResolver action(@NonNull StandardActions action) Creates a resolver that finds a button by its StandardAction. The button is matched by its tooltip text or button text. The returned button is guaranteed to be visible.
| |
| buttonType | back to summary |
|---|---|
| public static NodeResolver buttonType(@NonNull ButtonType buttonType) Creates a resolver that finds a button by its button type, assuming the node
resolved is a
| |
| buttonWithGraphic | back to summary |
|---|---|
| public static NodeResolver buttonWithGraphic(IconTheme. Creates a resolver that finds a button by its graphic. The returned button is guaranteed to be visible.
| |
| buttonWithGraphicIn | back to summary |
|---|---|
| public static NodeResolver buttonWithGraphicIn(Class<? extends Node> container, IconTheme. Creates a resolver that finds a button by its graphic below the first visible node of
type | |
| containsGlyph | back to summary |
|---|---|
| private static boolean containsGlyph(@Nullable Node graphic, IconTheme. | |
| findNode | back to summary |
|---|---|
| private static @Nullable Node findNode(@NonNull Node root, @NonNull Predicate<Node> predicate) | |
| firstOf | back to summary |
|---|---|
| public static NodeResolver firstOf(NodeResolver... resolvers) Creates a resolver that returns the first node any of the given resolvers finds, in order. | |
| fxId | back to summary |
|---|---|
| public static NodeResolver fxId(@NonNull String fxId) Creates a resolver that finds a node by its fx:id. The returned node is guaranteed to be visible.
| |
| isVisible | back to summary |
|---|---|
| private static boolean isVisible(@Nullable Node node) | |
| menuItem | back to summary |
|---|---|
| public static NodeResolver menuItem(@NonNull String text) Creates a resolver that finds a menu item by its text.
| |
| predicate | back to summary |
|---|---|
| public static NodeResolver predicate(@NonNull Predicate<Node> predicate) Creates a resolver that finds a node by a predicate. The returned node is guaranteed to be visible.
| |
| resolve | back to summary |
|---|---|
| public Optional Resolves a node from the given scene. | |
| selector | back to summary |
|---|---|
| public static NodeResolver selector(@NonNull String selector) Creates a resolver that finds a node by CSS selector. The returned node is guaranteed to be visible.
| |
| selectorWithText | back to summary |
|---|---|
| public static NodeResolver selectorWithText(@NonNull String selector, @NonNull Predicate<String> textMatcher) Creates a resolver that finds a node by selector first, then matches text content in the node and the node's LabeledText children. The returned node is guaranteed to be visible. | |