Class CellBindingUtils

java.lang.Object
gov.llnl.gnem.apps.coda.common.gui.util.CellBindingUtils

public class CellBindingUtils extends Object
  • Constructor Details

    • CellBindingUtils

      public CellBindingUtils()
  • Method Details

    • attachTextCellFactories

      public static <T> void attachTextCellFactories(javafx.scene.control.TableColumn<T,String> col, Function<T,Double> getValue)
    • attachTextCellFactoriesString

      public static <T> void attachTextCellFactoriesString(javafx.scene.control.TableColumn<T,String> col, Function<T,String> getValue)
    • attachTextCellFactories

      public static <T> void attachTextCellFactories(javafx.scene.control.TableColumn<T,String> col, Function<T,Double> getValue, NumberFormat format)
    • attachIntegerCellFactories

      public static <T> void attachIntegerCellFactories(javafx.scene.control.TableColumn<T,String> col, Function<T,Integer> getValue)
    • 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)