Package cz.masci.springfx.mvci.util
Class MFXBuilderUtils
java.lang.Object
cz.masci.springfx.mvci.util.MFXBuilderUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> io.github.palexdev.materialfx.controls.MFXTableColumn<T>createTableColumn(String title, Function<T, String> extractor) static io.github.palexdev.materialfx.controls.MFXTextFieldcreateTextField(String floatingText, Double maxWidth) Creates and returns a MFXTextField with the specified floating text and max width.static <T,E extends DetailModel<T>>
voidinitSelectionModel(io.github.palexdev.materialfx.selection.base.IMultipleSelectionModel<E> selectionModel, Runnable update, BaseListModel<T, E> viewModel)
-
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 fieldmaxWidth- the max width used for display- Returns:
- a new MFXTextField object with the specified floating text
-
createTableColumn
-
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)
-