class CellUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static StringConverter<?> |
defaultStringConverter
*
Private fields *
*
|
private static StringConverter<?> |
defaultTreeItemStringConverter |
(package private) static int |
TREE_VIEW_HBOX_GRAPHIC_PADDING |
Constructor and Description |
---|
CellUtils() |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> void |
cancelEdit(Cell<T> cell,
StringConverter<T> converter,
Node graphic) |
(package private) static <T> ChoiceBox<T> |
createChoiceBox(Cell<T> cell,
ObservableList<T> items,
ObjectProperty<StringConverter<T>> converter) |
(package private) static <T> ComboBox<T> |
createComboBox(Cell<T> cell,
ObservableList<T> items,
ObjectProperty<StringConverter<T>> converter) |
(package private) static <T> TextField |
createTextField(Cell<T> cell,
StringConverter<T> converter) |
(package private) static <T> StringConverter<T> |
defaultStringConverter()
*
General convenience *
*
|
(package private) static <T> StringConverter<TreeItem<T>> |
defaultTreeItemStringConverter() |
(package private) static Node |
getGraphic(TreeItem<?> treeItem) |
private static <T> java.lang.String |
getItemText(Cell<T> cell,
StringConverter<T> converter) |
(package private) static <T> void |
startEdit(Cell<T> cell,
StringConverter<T> converter,
HBox hbox,
Node graphic,
TextField textField) |
(package private) static <T> void |
updateItem(Cell<T> cell,
StringConverter<T> converter,
ChoiceBox<T> choiceBox)
*
ChoiceBox convenience *
*
|
(package private) static <T> void |
updateItem(Cell<T> cell,
StringConverter<T> converter,
ComboBox<T> comboBox)
*
ComboBox convenience *
*
|
(package private) static <T> void |
updateItem(Cell<T> cell,
StringConverter<T> converter,
HBox hbox,
Node graphic,
ChoiceBox<T> choiceBox) |
(package private) static <T> void |
updateItem(Cell<T> cell,
StringConverter<T> converter,
HBox hbox,
Node graphic,
ComboBox<T> comboBox) |
(package private) static <T> void |
updateItem(Cell<T> cell,
StringConverter<T> converter,
HBox hbox,
Node graphic,
TextField textField) |
(package private) static <T> void |
updateItem(Cell<T> cell,
StringConverter<T> converter,
TextField textField)
*
TextField convenience *
*
|
static int TREE_VIEW_HBOX_GRAPHIC_PADDING
private static final StringConverter<?> defaultStringConverter
private static final StringConverter<?> defaultTreeItemStringConverter
static <T> StringConverter<T> defaultStringConverter()
static <T> StringConverter<TreeItem<T>> defaultTreeItemStringConverter()
private static <T> java.lang.String getItemText(Cell<T> cell, StringConverter<T> converter)
static <T> void updateItem(Cell<T> cell, StringConverter<T> converter, ChoiceBox<T> choiceBox)
static <T> void updateItem(Cell<T> cell, StringConverter<T> converter, HBox hbox, Node graphic, ChoiceBox<T> choiceBox)
static <T> ChoiceBox<T> createChoiceBox(Cell<T> cell, ObservableList<T> items, ObjectProperty<StringConverter<T>> converter)
static <T> void updateItem(Cell<T> cell, StringConverter<T> converter, TextField textField)
static <T> void updateItem(Cell<T> cell, StringConverter<T> converter, HBox hbox, Node graphic, TextField textField)
static <T> void startEdit(Cell<T> cell, StringConverter<T> converter, HBox hbox, Node graphic, TextField textField)
static <T> void cancelEdit(Cell<T> cell, StringConverter<T> converter, Node graphic)
static <T> TextField createTextField(Cell<T> cell, StringConverter<T> converter)
static <T> void updateItem(Cell<T> cell, StringConverter<T> converter, ComboBox<T> comboBox)
static <T> void updateItem(Cell<T> cell, StringConverter<T> converter, HBox hbox, Node graphic, ComboBox<T> comboBox)
static <T> ComboBox<T> createComboBox(Cell<T> cell, ObservableList<T> items, ObjectProperty<StringConverter<T>> converter)