Uses of Class
javafx.util.StringConverter
-
Packages that use StringConverter Package Description javafx.beans.binding Provides classes that create and operate on aBindingthat calculates a value that depends on one or more sources.javafx.beans.property The packagejavafx.beans.propertydefines read-only properties and writable properties, plus a number of implementations.javafx.scene.chart The JavaFX User Interface provides a set of chart components that are a very convenient way for data visualization.javafx.scene.control The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.javafx.scene.control.cell Thejavafx.scene.control.cellpackage is where all cell-related classes are located, other than the core classes such asCell,IndexedCell,ListCell,TreeCell, andTableCell.javafx.scene.control.skin The javafx.scene.control.skin package is where the skin classes, typically one for each UI control, are locatedjavafx.util.converter This package is for standard string converters for JavaFX. -
-
Uses of StringConverter in javafx.beans.binding
Methods in javafx.beans.binding with parameters of type StringConverter Modifier and Type Method Description static <T> voidBindings. bindBidirectional(Property<String> stringProperty, Property<T> otherProperty, StringConverter<T> converter)Generates a bidirectional binding (or "bind with inverse") between aString-Propertyand anotherPropertyusing the specifiedStringConverterfor conversion. -
Uses of StringConverter in javafx.beans.property
Methods in javafx.beans.property with parameters of type StringConverter Modifier and Type Method Description <T> voidStringProperty. bindBidirectional(Property<T> other, StringConverter<T> converter)Create a bidirectional binding between thisStringPropertyand another arbitrary property. -
Uses of StringConverter in javafx.scene.chart
Subclasses of StringConverter in javafx.scene.chart Modifier and Type Class Description static classNumberAxis.DefaultFormatterDefault number formatter for NumberAxis, this stays in sync with auto-ranging and formats values appropriately.Methods in javafx.scene.chart that return StringConverter Modifier and Type Method Description StringConverter<T>ValueAxis. getTickLabelFormatter()Gets the value of the property tickLabelFormatter.Methods in javafx.scene.chart that return types with arguments of type StringConverter Modifier and Type Method Description ObjectProperty<StringConverter<T>>ValueAxis. tickLabelFormatterProperty()StringConverter used to format tick mark labels.Methods in javafx.scene.chart with parameters of type StringConverter Modifier and Type Method Description voidValueAxis. setTickLabelFormatter(StringConverter<T> value)Sets the value of the property tickLabelFormatter. -
Uses of StringConverter in javafx.scene.control
Fields in javafx.scene.control declared as StringConverter Modifier and Type Field Description static StringConverter<String>TextFormatter. IDENTITY_STRING_CONVERTERThis string converter converts the text to the same String value.Methods in javafx.scene.control that return StringConverter Modifier and Type Method Description StringConverter<T>ChoiceBox. getConverter()Gets the value of the property converter.StringConverter<T>ComboBox. getConverter()Gets the value of the property converter.StringConverter<LocalDate>DatePicker. getConverter()Gets the value of the property converter.StringConverter<T>SpinnerValueFactory. getConverter()Gets the value of the property converter.StringConverter<Double>Slider. getLabelFormatter()Gets the value of the property labelFormatter.StringConverter<V>TextFormatter. getValueConverter()The converter between the values and text.Methods in javafx.scene.control that return types with arguments of type StringConverter Modifier and Type Method Description ObjectProperty<StringConverter<T>>ChoiceBox. converterProperty()Allows a way to specify how to represent objects in the items list.ObjectProperty<StringConverter<T>>ComboBox. converterProperty()ObjectProperty<StringConverter<LocalDate>>DatePicker. converterProperty()Converts the input text to an object of type LocalDate and vice versa.ObjectProperty<StringConverter<T>>SpinnerValueFactory. converterProperty()ObjectProperty<StringConverter<Double>>Slider. labelFormatterProperty()A function for formatting the label for a major tick.Methods in javafx.scene.control with parameters of type StringConverter Modifier and Type Method Description voidChoiceBox. setConverter(StringConverter<T> value)Sets the value of the property converter.voidComboBox. setConverter(StringConverter<T> value)Sets the value of the property converter.voidDatePicker. setConverter(StringConverter<LocalDate> value)Sets the value of the property converter.voidSpinnerValueFactory. setConverter(StringConverter<T> newValue)Sets the value of the property converter.voidSlider. setLabelFormatter(StringConverter<Double> value)Sets the value of the property labelFormatter.Constructors in javafx.scene.control with parameters of type StringConverter Constructor Description TextFormatter(StringConverter<V> valueConverter)Creates a new Formatter with the provided value converter.TextFormatter(StringConverter<V> valueConverter, V defaultValue)Creates a new Formatter with the provided value converter and default value.TextFormatter(StringConverter<V> valueConverter, V defaultValue, UnaryOperator<TextFormatter.Change> filter)Creates a new Formatter with the provided filter, value converter and default value. -
Uses of StringConverter in javafx.scene.control.cell
Methods in javafx.scene.control.cell that return StringConverter Modifier and Type Method Description StringConverter<T>CheckBoxListCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>CheckBoxTableCell. getConverter()Returns theStringConverterused in this cell.StringConverter<TreeItem<T>>CheckBoxTreeCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>CheckBoxTreeTableCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>ChoiceBoxListCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>ChoiceBoxTableCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>ChoiceBoxTreeCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>ChoiceBoxTreeTableCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>ComboBoxListCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>ComboBoxTableCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>ComboBoxTreeCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>ComboBoxTreeTableCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>TextFieldListCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>TextFieldTableCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>TextFieldTreeCell. getConverter()Returns theStringConverterused in this cell.StringConverter<T>TextFieldTreeTableCell. getConverter()Returns theStringConverterused in this cell.Methods in javafx.scene.control.cell with parameters of type StringConverter Modifier and Type Method Description static <T> Callback<ListView<T>,ListCell<T>>CheckBoxListCell. forListView(Callback<T,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)Creates a cell factory for use in ListView controls.static <T> Callback<ListView<T>,ListCell<T>>ChoiceBoxListCell. forListView(StringConverter<T> converter, ObservableList<T> items)Creates a ChoiceBox cell factory for use inListViewcontrols.static <T> Callback<ListView<T>,ListCell<T>>ChoiceBoxListCell. forListView(StringConverter<T> converter, T... items)Creates a ChoiceBox cell factory for use inListViewcontrols.static <T> Callback<ListView<T>,ListCell<T>>ComboBoxListCell. forListView(StringConverter<T> converter, ObservableList<T> items)Creates a ComboBox cell factory for use inListViewcontrols.static <T> Callback<ListView<T>,ListCell<T>>ComboBoxListCell. forListView(StringConverter<T> converter, T... items)Creates a ComboBox cell factory for use inListViewcontrols.static <T> Callback<ListView<T>,ListCell<T>>TextFieldListCell. forListView(StringConverter<T> converter)Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenListView.edit(int)is called.static <S,T>
Callback<TableColumn<S,T>,TableCell<S,T>>CheckBoxTableCell. forTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)Creates a cell factory for use in aTableColumncell factory.static <S,T>
Callback<TableColumn<S,T>,TableCell<S,T>>ChoiceBoxTableCell. forTableColumn(StringConverter<T> converter, ObservableList<T> items)Creates a ChoiceBox cell factory for use inTableColumncontrols.static <S,T>
Callback<TableColumn<S,T>,TableCell<S,T>>ChoiceBoxTableCell. forTableColumn(StringConverter<T> converter, T... items)Creates a ChoiceBox cell factory for use inTableColumncontrols.static <S,T>
Callback<TableColumn<S,T>,TableCell<S,T>>ComboBoxTableCell. forTableColumn(StringConverter<T> converter, ObservableList<T> items)Creates a ComboBox cell factory for use inTableColumncontrols.static <S,T>
Callback<TableColumn<S,T>,TableCell<S,T>>ComboBoxTableCell. forTableColumn(StringConverter<T> converter, T... items)Creates a ComboBox cell factory for use inTableColumncontrols.static <S,T>
Callback<TableColumn<S,T>,TableCell<S,T>>TextFieldTableCell. forTableColumn(StringConverter<T> converter)Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTableView.edit(int, javafx.scene.control.TableColumn)is called.static <S,T>
Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>CheckBoxTreeTableCell. forTreeTableColumn(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)Creates a cell factory for use in aTreeTableColumncell factory.static <S,T>
Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>ChoiceBoxTreeTableCell. forTreeTableColumn(StringConverter<T> converter, ObservableList<T> items)Creates a ChoiceBox cell factory for use inTreeTableColumncontrols.static <S,T>
Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>ChoiceBoxTreeTableCell. forTreeTableColumn(StringConverter<T> converter, T... items)Creates a ChoiceBox cell factory for use inTreeTableColumncontrols.static <S,T>
Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>ComboBoxTreeTableCell. forTreeTableColumn(StringConverter<T> converter, ObservableList<T> items)Creates a ComboBox cell factory for use inTreeTableColumncontrols.static <S,T>
Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>ComboBoxTreeTableCell. forTreeTableColumn(StringConverter<T> converter, T... items)Creates a ComboBox cell factory for use inTreeTableColumncontrols.static <S,T>
Callback<TreeTableColumn<S,T>,TreeTableCell<S,T>>TextFieldTreeTableCell. forTreeTableColumn(StringConverter<T> converter)Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTreeTableView.edit(int, javafx.scene.control.TreeTableColumn)is called.static <T> Callback<TreeView<T>,TreeCell<T>>CheckBoxTreeCell. forTreeView(Callback<TreeItem<T>,ObservableValue<Boolean>> getSelectedProperty, StringConverter<TreeItem<T>> converter)Creates a cell factory for use in a TreeView control.static <T> Callback<TreeView<T>,TreeCell<T>>ChoiceBoxTreeCell. forTreeView(StringConverter<T> converter, ObservableList<T> items)Creates a ChoiceBox cell factory for use inTreeViewcontrols.static <T> Callback<TreeView<T>,TreeCell<T>>ChoiceBoxTreeCell. forTreeView(StringConverter<T> converter, T... items)Creates a ChoiceBox cell factory for use inTreeViewcontrols.static <T> Callback<TreeView<T>,TreeCell<T>>ComboBoxTreeCell. forTreeView(StringConverter<T> converter, ObservableList<T> items)Creates a ComboBox cell factory for use inTreeViewcontrols.static <T> Callback<TreeView<T>,TreeCell<T>>ComboBoxTreeCell. forTreeView(StringConverter<T> converter, T... items)Creates a ComboBox cell factory for use inTreeViewcontrols.static <T> Callback<TreeView<T>,TreeCell<T>>TextFieldTreeCell. forTreeView(StringConverter<T> converter)Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTreeView.edit(javafx.scene.control.TreeItem)is called.voidCheckBoxListCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidCheckBoxTableCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidCheckBoxTreeCell. setConverter(StringConverter<TreeItem<T>> value)Sets theStringConverterto be used in this cell.voidCheckBoxTreeTableCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidChoiceBoxListCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidChoiceBoxTableCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidChoiceBoxTreeCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidChoiceBoxTreeTableCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidComboBoxListCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidComboBoxTableCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidComboBoxTreeCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidComboBoxTreeTableCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidTextFieldListCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidTextFieldTableCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidTextFieldTreeCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.voidTextFieldTreeTableCell. setConverter(StringConverter<T> value)Sets theStringConverterto be used in this cell.Constructors in javafx.scene.control.cell with parameters of type StringConverter Constructor Description CheckBoxListCell(Callback<T,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)Creates a CheckBoxListCell with a custom string converter.CheckBoxTableCell(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)Creates a CheckBoxTableCell with a custom string converter.CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<Boolean>> getSelectedProperty, StringConverter<TreeItem<T>> converter)Creates aCheckBoxTreeCellfor use in a TreeView control via a cell factory.CheckBoxTreeTableCell(Callback<Integer,ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter)Creates a CheckBoxTreeTableCell with a custom string converter.ChoiceBoxListCell(StringConverter<T> converter, ObservableList<T> items)Creates aChoiceBoxListCellinstance with the given items being used to populate theChoiceBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ChoiceBoxListCell(StringConverter<T> converter, T... items)Creates aChoiceBoxListCellinstance with the given items being used to populate theChoiceBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ChoiceBoxTableCell(StringConverter<T> converter, ObservableList<T> items)Creates aChoiceBoxTableCellinstance with the given items being used to populate theChoiceBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ChoiceBoxTableCell(StringConverter<T> converter, T... items)Creates aChoiceBoxTableCellinstance with the given items being used to populate theChoiceBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ChoiceBoxTreeCell(StringConverter<T> converter, ObservableList<T> items)Creates aChoiceBoxTreeCellinstance with the given items being used to populate theChoiceBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ChoiceBoxTreeCell(StringConverter<T> converter, T... items)Creates aChoiceBoxTreeCellinstance with the given items being used to populate theChoiceBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ChoiceBoxTreeTableCell(StringConverter<T> converter, ObservableList<T> items)Creates aChoiceBoxTreeTableCellinstance with the given items being used to populate theChoiceBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ChoiceBoxTreeTableCell(StringConverter<T> converter, T... items)Creates aChoiceBoxTreeTableCellinstance with the given items being used to populate theChoiceBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ComboBoxListCell(StringConverter<T> converter, ObservableList<T> items)Creates aComboBoxListCellinstance with the given items being used to populate theComboBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ComboBoxListCell(StringConverter<T> converter, T... items)Creates aComboBoxListCellinstance with the given items being used to populate theComboBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ComboBoxTableCell(StringConverter<T> converter, ObservableList<T> items)Creates aComboBoxTableCellinstance with the given items being used to populate theComboBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ComboBoxTableCell(StringConverter<T> converter, T... items)Creates aComboBoxTableCellinstance with the given items being used to populate theComboBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ComboBoxTreeCell(StringConverter<T> converter, ObservableList<T> items)Creates aComboBoxTreeCellinstance with the given items being used to populate theComboBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ComboBoxTreeCell(StringConverter<T> converter, T... items)Creates aComboBoxTreeCellinstance with the given items being used to populate theComboBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ComboBoxTreeTableCell(StringConverter<T> converter, ObservableList<T> items)Creates aComboBoxTreeTableCellinstance with the given items being used to populate theComboBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.ComboBoxTreeTableCell(StringConverter<T> converter, T... items)Creates aComboBoxTreeTableCellinstance with the given items being used to populate theComboBoxwhen it is shown, and theStringConverterbeing used to convert the item in to a user-readable form.TextFieldListCell(StringConverter<T> converter)Creates a TextFieldListCell that provides aTextFieldwhen put into editing mode that allows editing of the cell content.TextFieldTableCell(StringConverter<T> converter)Creates a TextFieldTableCell that provides aTextFieldwhen put into editing mode that allows editing of the cell content.TextFieldTreeCell(StringConverter<T> converter)Creates a TextFieldTreeCell that provides aTextFieldwhen put into editing mode that allows editing of the cell content.TextFieldTreeTableCell(StringConverter<T> converter)Creates a TextFieldTreeTableCell that provides aTextFieldwhen put into editing mode that allows editing of the cell content. -
Uses of StringConverter in javafx.scene.control.skin
Methods in javafx.scene.control.skin that return StringConverter Modifier and Type Method Description protected StringConverter<Color>ColorPickerSkin. getConverter()Subclasses are responsible for getting the converter.protected StringConverter<T>ComboBoxListViewSkin. getConverter()Subclasses are responsible for getting the converter.protected abstract StringConverter<T>ComboBoxPopupControl. getConverter()Subclasses are responsible for getting the converter.protected StringConverter<LocalDate>DatePickerSkin. getConverter()Subclasses are responsible for getting the converter. -
Uses of StringConverter in javafx.util.converter
Subclasses of StringConverter in javafx.util.converter Modifier and Type Class Description classBigDecimalStringConverterStringConverterimplementation forBigDecimalvalues.classBigIntegerStringConverterStringConverterimplementation forBigIntegervalues.classBooleanStringConverterStringConverterimplementation forBoolean(and boolean primitive) values.classByteStringConverterStringConverterimplementation forByte(and byte primitive) values.classCharacterStringConverterStringConverterimplementation forCharacter(and char primitive) values.classCurrencyStringConverterStringConverterimplementation forNumbervalues that represent currency.classDateStringConverterStringConverterimplementation forDatevalues.classDateTimeStringConverterStringConverterimplementation forDatevalues that represent a date and time.classDefaultStringConverterStringConverterimplementation forStringvalues.classDoubleStringConverterStringConverterimplementation forDouble(and double primitive) values.classFloatStringConverterStringConverterimplementation forFloat(and float primitive) values.classFormatStringConverter<T>StringConverterimplementation that can use aFormatinstance.classIntegerStringConverterStringConverterimplementation forInteger(and int primitive) values.classLocalDateStringConverterStringConverterimplementation forLocalDatevalues.classLocalDateTimeStringConverterStringConverterimplementation forLocalDateTimevalues.classLocalTimeStringConverterStringConverterimplementation forLocalTimevalues.classLongStringConverterStringConverterimplementation forLong(and long primitive) values.classNumberStringConverterStringConverterimplementation forNumbervalues.classPercentageStringConverterStringConverterimplementation forNumbervalues that represent percentages.classShortStringConverterStringConverterimplementation forShortvalues.classTimeStringConverterStringConverterimplementation forDatevalues that represent time.
-