Class CellBindingUtils
java.lang.Object
gov.llnl.gnem.apps.coda.common.gui.util.CellBindingUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
attachEditableIntegerCellFactories
(javafx.scene.control.TableColumn<T, String> col, Function<T, Integer> getValue, BiConsumer<T, Integer> setValue) static <T> void
attachEditableTextCellFactories
(javafx.scene.control.TableColumn<T, String> col, Function<T, Double> getValue, BiConsumer<T, Double> setValue) static <T> void
attachEditableTextCellFactories
(javafx.scene.control.TableColumn<T, String> col, Function<T, Double> getValue, BiConsumer<T, Double> setValue, NumberFormat format) static <T> void
attachIntegerCellFactories
(javafx.scene.control.TableColumn<T, String> col, Function<T, Integer> getValue) static <T> void
attachTextCellFactories
(javafx.scene.control.TableColumn<T, String> col, Function<T, Double> getValue) static <T> void
attachTextCellFactories
(javafx.scene.control.TableColumn<T, String> col, Function<T, Double> getValue, NumberFormat format) static <T> void
attachTextCellFactoriesString
(javafx.scene.control.TableColumn<T, String> col, Function<T, String> getValue)
-
Constructor Details
-
CellBindingUtils
public CellBindingUtils()
-
-
Method Details
-
attachTextCellFactories
-
attachTextCellFactoriesString
-
attachTextCellFactories
public static <T> void attachTextCellFactories(javafx.scene.control.TableColumn<T, String> col, Function<T, Double> getValue, NumberFormat format) -
attachIntegerCellFactories
-
attachEditableTextCellFactories
public static <T> void attachEditableTextCellFactories(javafx.scene.control.TableColumn<T, String> col, Function<T, Double> getValue, BiConsumer<T, Double> setValue) -
attachEditableTextCellFactories
public static <T> void attachEditableTextCellFactories(javafx.scene.control.TableColumn<T, String> col, Function<T, Double> getValue, BiConsumer<T, Double> setValue, NumberFormat format) -
attachEditableIntegerCellFactories
public static <T> void attachEditableIntegerCellFactories(javafx.scene.control.TableColumn<T, String> col, Function<T, Integer> getValue, BiConsumer<T, Integer> setValue)
-