APIdia Launch Partner
Top Fields Constructors Methods
javafx.scene.control.cell

pack-priv Class CellUtils

extends Object
Class Inheritance
Imports
javafx.beans.InvalidationListener, .Observable, javafx.beans.property.ObjectProperty, javafx.collections.ObservableList, javafx.scene.Node, javafx.scene.control.Cell, .ChoiceBox, .ComboBox, .ListView, .Skin, .TextField, .TreeItem, javafx.scene.control.skin.ComboBoxListViewSkin, javafx.scene.input.KeyCode, .KeyEvent, .MouseEvent, javafx.scene.layout.HBox, javafx.util.StringConverter

Field Summary

Modifier and TypeField and Description
private static final StringConverter<?>
private static final StringConverter<?>
pack-priv static int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static <T> void
cancelEdit(Cell<T> cell, final StringConverter<T> converter, Node graphic)

pack-priv static <T> ChoiceBox<T>
createChoiceBox(final Cell<T> cell, final ObservableList<T> items, final ObjectProperty<StringConverter<T>> converter)

pack-priv static <T> ComboBox<T>
createComboBox(final Cell<T> cell, final ObservableList<T> items, final ObjectProperty<StringConverter<T>> converter)

pack-priv static <T> TextField
createTextField(final Cell<T> cell, final StringConverter<T> converter)

pack-priv static <T> StringConverter<T>
pack-priv static <T> StringConverter<TreeItem<T>>
pack-priv static Node
getGraphic(TreeItem<?> treeItem)

private static <T> String
getItemText(Cell<T> cell, StringConverter<T> converter)

private static <T> boolean
listenToComboBoxSkin(final ComboBox<T> comboBox, final Cell<T> cell)

pack-priv static <T> void
startEdit(final Cell<T> cell, final StringConverter<T> converter, final HBox hbox, final Node graphic, final TextField textField)

private static <T> void
tryComboBoxCommit(ComboBox<T> comboBox, Cell<T> cell)

pack-priv static <T> void
updateItem(final Cell<T> cell, final StringConverter<T> converter, final ChoiceBox<T> choiceBox)

pack-priv static <T> void
updateItem(final Cell<T> cell, final StringConverter<T> converter, final HBox hbox, final Node graphic, final ChoiceBox<T> choiceBox)

pack-priv static <T> void
updateItem(final Cell<T> cell, final StringConverter<T> converter, final TextField textField)

pack-priv static <T> void
updateItem(final Cell<T> cell, final StringConverter<T> converter, final HBox hbox, final Node graphic, final TextField textField)

pack-priv static <T> void
updateItem(Cell<T> cell, StringConverter<T> converter, ComboBox<T> comboBox)

pack-priv static <T> void
updateItem(final Cell<T> cell, final StringConverter<T> converter, final HBox hbox, final Node graphic, final ComboBox<T> comboBox)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

defaultStringConverterback to summary
private static final StringConverter<?> defaultStringConverter
defaultTreeItemStringConverterback to summary
private static final StringConverter<?> defaultTreeItemStringConverter
TREE_VIEW_HBOX_GRAPHIC_PADDINGback to summary
pack-priv static int TREE_VIEW_HBOX_GRAPHIC_PADDING

Constructor Detail

CellUtilsback to summary
pack-priv CellUtils()

Method Detail

cancelEditback to summary
pack-priv static <T> void cancelEdit(Cell<T> cell, final StringConverter<T> converter, Node graphic)
createChoiceBoxback to summary
pack-priv static <T> ChoiceBox<T> createChoiceBox(final Cell<T> cell, final ObservableList<T> items, final ObjectProperty<StringConverter<T>> converter)
createComboBoxback to summary
pack-priv static <T> ComboBox<T> createComboBox(final Cell<T> cell, final ObservableList<T> items, final ObjectProperty<StringConverter<T>> converter)
createTextFieldback to summary
pack-priv static <T> TextField createTextField(final Cell<T> cell, final StringConverter<T> converter)
defaultStringConverterback to summary
pack-priv static <T> StringConverter<T> defaultStringConverter()
Annotations
@SuppressWarnings:unchecked
defaultTreeItemStringConverterback to summary
pack-priv static <T> StringConverter<TreeItem<T>> defaultTreeItemStringConverter()
Annotations
@SuppressWarnings:unchecked
getGraphicback to summary
pack-priv static Node getGraphic(TreeItem<?> treeItem)
getItemTextback to summary
private static <T> String getItemText(Cell<T> cell, StringConverter<T> converter)
listenToComboBoxSkinback to summary
private static <T> boolean listenToComboBoxSkin(final ComboBox<T> comboBox, final Cell<T> cell)
startEditback to summary
pack-priv static <T> void startEdit(final Cell<T> cell, final StringConverter<T> converter, final HBox hbox, final Node graphic, final TextField textField)
tryComboBoxCommitback to summary
private static <T> void tryComboBoxCommit(ComboBox<T> comboBox, Cell<T> cell)
updateItemback to summary
pack-priv static <T> void updateItem(final Cell<T> cell, final StringConverter<T> converter, final ChoiceBox<T> choiceBox)
updateItemback to summary
pack-priv static <T> void updateItem(final Cell<T> cell, final StringConverter<T> converter, final HBox hbox, final Node graphic, final ChoiceBox<T> choiceBox)
updateItemback to summary
pack-priv static <T> void updateItem(final Cell<T> cell, final StringConverter<T> converter, final TextField textField)
updateItemback to summary
pack-priv static <T> void updateItem(final Cell<T> cell, final StringConverter<T> converter, final HBox hbox, final Node graphic, final TextField textField)
updateItemback to summary
pack-priv static <T> void updateItem(Cell<T> cell, StringConverter<T> converter, ComboBox<T> comboBox)
updateItemback to summary
pack-priv static <T> void updateItem(final Cell<T> cell, final StringConverter<T> converter, final HBox hbox, final Node graphic, final ComboBox<T> comboBox)