Class MFXBuilderUtils

java.lang.Object
cz.masci.springfx.mvci.util.MFXBuilderUtils

public class MFXBuilderUtils extends Object
  • Constructor Details

    • MFXBuilderUtils

      public MFXBuilderUtils()
  • Method Details

    • createTextField

      public static io.github.palexdev.materialfx.controls.MFXTextField createTextField(String floatingText, Double maxWidth)
      Creates and returns a MFXTextField with the specified floating text and max width.
      Parameters:
      floatingText - the floating text to be displayed in the text field
      maxWidth - the max width used for display
      Returns:
      a new MFXTextField object with the specified floating text
    • createTableColumn

      public static <T> io.github.palexdev.materialfx.controls.MFXTableColumn<T> createTableColumn(String title, Function<T,String> extractor)
    • initSelectionModel

      public static <T, E extends DetailModel<T>> void initSelectionModel(io.github.palexdev.materialfx.selection.base.IMultipleSelectionModel<E> selectionModel, Runnable update, BaseListModel<T,E> viewModel)