public final class FxUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static javafx.scene.layout.Region |
createVerticalFiller() |
static void |
ensureFxInitialized() |
static void |
glueToAnchorPane(javafx.scene.Node node) |
static <T> javafx.beans.value.ChangeListener<T> |
onChange(java.util.function.Consumer<T> consumer) |
static void |
runSyncOnFxThread(java.lang.Runnable task) |
static void |
setFontWeight(javafx.scene.control.TitledPane definitionPane,
javafx.scene.text.FontWeight weight) |
static void |
setPercentageWidth(javafx.scene.control.TableView<?> table,
java.util.Map<javafx.scene.control.TableColumn<?,?>,java.lang.Double> percentages) |
static void |
setPercentageWidth(javafx.scene.control.TreeTableView<?> table,
java.util.Map<javafx.scene.control.TreeTableColumn<?,?>,java.lang.Double> percentages) |
static javafx.scene.layout.AnchorPane |
wrapAndGlueToAnchorPane(javafx.scene.Node node) |
public static void ensureFxInitialized()
public static void setFontWeight(javafx.scene.control.TitledPane definitionPane,
javafx.scene.text.FontWeight weight)
public static javafx.scene.layout.Region createVerticalFiller()
public static void runSyncOnFxThread(java.lang.Runnable task)
public static javafx.scene.layout.AnchorPane wrapAndGlueToAnchorPane(javafx.scene.Node node)
public static void glueToAnchorPane(javafx.scene.Node node)
public static void setPercentageWidth(javafx.scene.control.TreeTableView<?> table,
java.util.Map<javafx.scene.control.TreeTableColumn<?,?>,java.lang.Double> percentages)
public static void setPercentageWidth(javafx.scene.control.TableView<?> table,
java.util.Map<javafx.scene.control.TableColumn<?,?>,java.lang.Double> percentages)
public static <T> javafx.beans.value.ChangeListener<T> onChange(java.util.function.Consumer<T> consumer)