public final class JavaFXUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
configure(javafx.scene.control.ButtonBase control,
JavaFXAction action) |
static void |
configure(javafx.scene.control.MenuItem control,
JavaFXAction action) |
static Object |
findElement(Object root,
String id) |
static javafx.scene.Node |
findNode(javafx.scene.Node root,
String id) |
static void |
setIcon(javafx.scene.control.ButtonBase control,
String iconUrl) |
static void |
setIcon(javafx.scene.control.MenuItem control,
String iconUrl) |
static void |
setTooltip(javafx.scene.control.Control control,
String text) |
public static void configure(@Nonnull javafx.scene.control.ButtonBase control, @Nonnull JavaFXAction action)
public static void configure(@Nonnull javafx.scene.control.MenuItem control, @Nonnull JavaFXAction action)
public static void setTooltip(@Nonnull javafx.scene.control.Control control, @Nullable String text)
public static void setIcon(@Nonnull javafx.scene.control.ButtonBase control, @Nonnull String iconUrl)
public static void setIcon(@Nonnull javafx.scene.control.MenuItem control, @Nonnull String iconUrl)
@Nullable public static javafx.scene.Node findNode(@Nonnull javafx.scene.Node root, @Nonnull String id)