Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.beans.binding |
Characteristics of Bindings
|
javafx.beans.property |
The package
javafx.beans.property defines 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 |
The
javafx.scene.control.cell package is where all cell-related
classes are located, other than the core classes such as
Cell , IndexedCell ,
ListCell , TreeCell ,
and TableCell . |
javafx.util.converter |
This package is for standard string converters for JavaFX.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
Bindings.bindBidirectional(Property<java.lang.String> stringProperty,
Property<T> otherProperty,
StringConverter<T> converter)
Generates a bidirectional binding (or "bind with inverse") between a
String -Property and another Property
using the specified StringConverter for conversion. |
Modifier and Type | Method and Description |
---|---|
<T> void |
StringProperty.bindBidirectional(Property<T> other,
StringConverter<T> converter)
Create a bidirectional binding between this
StringProperty and another
arbitrary property. |
Modifier and Type | Class and Description |
---|---|
static class |
NumberAxis.DefaultFormatter
Default number formatter for NumberAxis, this stays in sync with auto-ranging and formats values appropriately.
|
Modifier and Type | Field and Description |
---|---|
private StringConverter<T> |
ValueAxisBuilder.tickLabelFormatter |
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<StringConverter<T>> |
ValueAxis.tickLabelFormatter
StringConverter used to format tick mark labels.
|
Modifier and Type | Method and Description |
---|---|
StringConverter<T> |
ValueAxis.getTickLabelFormatter()
Gets the value of the property tickLabelFormatter.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<StringConverter<T>> |
ValueAxis.tickLabelFormatterProperty()
StringConverter used to format tick mark labels.
|
Modifier and Type | Method and Description |
---|---|
void |
ValueAxis.setTickLabelFormatter(StringConverter<T> value)
Sets the value of the property tickLabelFormatter.
|
B |
ValueAxisBuilder.tickLabelFormatter(StringConverter<T> x)
Set the value of the
tickLabelFormatter property for the instance constructed by this builder. |
Modifier and Type | Field and Description |
---|---|
private StringConverter<T> |
ComboBoxBuilder.converter |
private StringConverter<T> |
ChoiceBoxBuilder.converter |
private StringConverter<java.lang.Double> |
SliderBuilder.labelFormatter |
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<StringConverter<T>> |
ComboBox.converter |
private ObjectProperty<StringConverter<T>> |
ChoiceBox.converter |
private ObjectProperty<StringConverter<java.lang.Double>> |
Slider.labelFormatter
A function for formatting the label for a major tick.
|
Modifier and Type | Method and Description |
---|---|
private static <T> StringConverter<T> |
ComboBox.defaultStringConverter()
*
Static properties and methods *
*
|
StringConverter<T> |
ComboBox.getConverter()
Gets the value of the property converter.
|
StringConverter<T> |
ChoiceBox.getConverter()
Gets the value of the property converter.
|
StringConverter<java.lang.Double> |
Slider.getLabelFormatter()
Gets the value of the property labelFormatter.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<StringConverter<T>> |
ComboBox.converterProperty()
|
ObjectProperty<StringConverter<T>> |
ChoiceBox.converterProperty()
Allows a way to specify how to represent objects in the items list.
|
ObjectProperty<StringConverter<java.lang.Double>> |
Slider.labelFormatterProperty()
A function for formatting the label for a major tick.
|
Modifier and Type | Method and Description |
---|---|
B |
ComboBoxBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
ChoiceBoxBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
SliderBuilder.labelFormatter(StringConverter<java.lang.Double> x)
Set the value of the
labelFormatter property for the instance constructed by this builder. |
void |
ComboBox.setConverter(StringConverter<T> value)
Sets the value of the property converter.
|
void |
ChoiceBox.setConverter(StringConverter<T> value)
Sets the value of the property converter.
|
void |
Slider.setLabelFormatter(StringConverter<java.lang.Double> value)
Sets the value of the property labelFormatter.
|
Modifier and Type | Field and Description |
---|---|
private StringConverter<T> |
TextFieldTreeCellBuilder.converter |
private StringConverter<T> |
TextFieldTableCellBuilder.converter |
private StringConverter<T> |
TextFieldListCellBuilder.converter |
private StringConverter<T> |
ComboBoxTreeCellBuilder.converter |
private StringConverter<T> |
ComboBoxTableCellBuilder.converter |
private StringConverter<T> |
ComboBoxListCellBuilder.converter |
private StringConverter<T> |
ChoiceBoxTreeCellBuilder.converter |
private StringConverter<T> |
ChoiceBoxTableCellBuilder.converter |
private StringConverter<T> |
ChoiceBoxListCellBuilder.converter |
private StringConverter<TreeItem<T>> |
CheckBoxTreeCellBuilder.converter |
private StringConverter<T> |
CheckBoxTableCellBuilder.converter |
private StringConverter<T> |
CheckBoxListCellBuilder.converter |
private static StringConverter |
CellUtils.defaultStringConverter
*
Private fields *
*
|
private static StringConverter |
CellUtils.defaultTreeItemStringConverter |
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<StringConverter<T>> |
TextFieldTreeCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
TextFieldTableCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
TextFieldListCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
ComboBoxTreeCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
ComboBoxTableCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
ComboBoxListCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
ChoiceBoxTreeCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
ChoiceBoxTableCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
ChoiceBoxListCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<TreeItem<T>>> |
CheckBoxTreeCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
CheckBoxTableCell.converter
*
Properties *
*
|
private ObjectProperty<StringConverter<T>> |
CheckBoxListCell.converter
*
Properties *
*
|
Modifier and Type | Method and Description |
---|---|
(package private) static <T> StringConverter<T> |
CellUtils.defaultStringConverter()
*
General convenience *
*
|
(package private) static <T> StringConverter<TreeItem<T>> |
CellUtils.defaultTreeItemStringConverter() |
StringConverter<T> |
TextFieldTreeCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
TextFieldTableCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
TextFieldListCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
ComboBoxTreeCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
ComboBoxTableCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
ComboBoxListCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
ChoiceBoxTreeCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
ChoiceBoxTableCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
ChoiceBoxListCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<TreeItem<T>> |
CheckBoxTreeCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
CheckBoxTableCell.getConverter()
Returns the
StringConverter used in this cell. |
StringConverter<T> |
CheckBoxListCell.getConverter()
Returns the
StringConverter used in this cell. |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> void |
CellUtils.cancelEdit(Cell<T> cell,
StringConverter<T> converter) |
B |
TextFieldTreeCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
TextFieldTableCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
TextFieldListCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
ComboBoxTreeCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
ComboBoxTableCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
ComboBoxListCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
ChoiceBoxTreeCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
ChoiceBoxTableCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
ChoiceBoxListCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
CheckBoxTableCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
CheckBoxListCellBuilder.converter(StringConverter<T> x)
Set the value of the
converter property for the instance constructed by this builder. |
B |
CheckBoxTreeCellBuilder.converter(StringConverter<TreeItem<T>> x)
Set the value of the
converter property for the instance constructed by this builder. |
private static <T> TextField |
CellUtils.createTextField(Cell<T> cell,
StringConverter<T> converter) |
static <T> Callback<ListView<T>,ListCell<T>> |
CheckBoxListCell.forListView(Callback<T,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<T> converter)
Creates a cell factory for use in ListView controls.
|
static <T> Callback<ListView<T>,ListCell<T>> |
TextFieldListCell.forListView(StringConverter<T> converter)
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when ListView.edit(int) is called. |
static <T> Callback<ListView<T>,ListCell<T>> |
ComboBoxListCell.forListView(StringConverter<T> converter,
ObservableList<T> items)
Creates a ComboBox 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 in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
ComboBoxListCell.forListView(StringConverter<T> converter,
T... items)
Creates a ComboBox cell factory for use in
ListView controls. |
static <T> Callback<ListView<T>,ListCell<T>> |
ChoiceBoxListCell.forListView(StringConverter<T> converter,
T... items)
Creates a ChoiceBox cell factory for use in
ListView controls. |
static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>> |
CheckBoxTableCell.forTableColumn(Callback<java.lang.Integer,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<T> converter)
Creates a cell factory for use in a
TableColumn cell factory. |
static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>> |
TextFieldTableCell.forTableColumn(StringConverter<T> converter)
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when
TableView.edit(int, javafx.scene.control.TableColumn) is called. |
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 in
TableColumn controls. |
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 in
TableColumn controls. |
static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>> |
ComboBoxTableCell.forTableColumn(StringConverter<T> converter,
T... items)
Creates a ComboBox cell factory for use in
TableColumn controls. |
static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>> |
ChoiceBoxTableCell.forTableColumn(StringConverter<T> converter,
T... items)
Creates a ChoiceBox cell factory for use in
TableColumn controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter)
Creates a cell factory for use in a TreeView control.
|
private static <T> Callback<TreeView<T>,TreeCell<T>> |
CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter,
Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getIndeterminateProperty)
Creates a cell factory for use in a TreeView control.
|
static <T> Callback<TreeView<T>,TreeCell<T>> |
TextFieldTreeCell.forTreeView(StringConverter<T> converter)
Provides a
TextField that allows editing of the cell content when
the cell is double-clicked, or when
TreeView.edit(javafx.scene.control.TreeItem) is called. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ComboBoxTreeCell.forTreeView(StringConverter<T> converter,
ObservableList<T> items)
Creates a ComboBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ChoiceBoxTreeCell.forTreeView(StringConverter<T> converter,
ObservableList<T> items)
Creates a ChoiceBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ComboBoxTreeCell.forTreeView(StringConverter<T> converter,
T... items)
Creates a ComboBox cell factory for use in
TreeView controls. |
static <T> Callback<TreeView<T>,TreeCell<T>> |
ChoiceBoxTreeCell.forTreeView(StringConverter<T> converter,
T... items)
Creates a ChoiceBox cell factory for use in
TreeView controls. |
private static <T> java.lang.String |
CellUtils.getItemText(Cell<T> cell,
StringConverter<T> converter) |
void |
TextFieldTreeCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
TextFieldTableCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
TextFieldListCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
ComboBoxTreeCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
ComboBoxTableCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
ComboBoxListCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
ChoiceBoxTreeCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
ChoiceBoxTableCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
ChoiceBoxListCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
CheckBoxTableCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
CheckBoxListCell.setConverter(StringConverter<T> value)
Sets the
StringConverter to be used in this cell. |
void |
CheckBoxTreeCell.setConverter(StringConverter<TreeItem<T>> value)
Sets the
StringConverter to be used in this cell. |
(package private) static <T> void |
CellUtils.startEdit(Cell<T> cell,
TextField textField,
StringConverter<T> converter) |
(package private) static <T> void |
CellUtils.updateItem(Cell<T> cell,
ChoiceBox<T> choiceBox,
StringConverter<T> converter)
*
ChoiceBox convenience *
*
|
(package private) static <T> void |
CellUtils.updateItem(Cell<T> cell,
ComboBox<T> comboBox,
StringConverter<T> converter)
*
TextField convenience *
*
|
(package private) static <T> void |
CellUtils.updateItem(Cell<T> cell,
TextField textField,
StringConverter<T> converter)
*
TextField convenience *
*
|
Constructor and Description |
---|
CheckBoxListCell(Callback<T,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<T> converter)
Creates a CheckBoxListCell with a custom string converter.
|
CheckBoxTableCell(Callback<java.lang.Integer,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<T> converter)
Creates a CheckBoxTableCell with a custom string converter.
|
CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter)
Creates a
CheckBoxTreeCell for use in a TreeView control via a
cell factory. |
CheckBoxTreeCell(Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getSelectedProperty,
StringConverter<TreeItem<T>> converter,
Callback<TreeItem<T>,ObservableValue<java.lang.Boolean>> getIndeterminateProperty) |
ChoiceBoxListCell(StringConverter<T> converter,
ObservableList<T> items)
Creates a
ChoiceBoxListCell instance with the given items
being used to populate the ChoiceBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ChoiceBoxListCell(StringConverter<T> converter,
T... items)
Creates a
ChoiceBoxListCell instance with the given items
being used to populate the ChoiceBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ChoiceBoxTableCell(StringConverter<T> converter,
ObservableList<T> items)
Creates a
ChoiceBoxTableCell instance with the given items
being used to populate the ChoiceBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ChoiceBoxTableCell(StringConverter<T> converter,
T... items)
Creates a
ChoiceBoxTableCell instance with the given items
being used to populate the ChoiceBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ChoiceBoxTreeCell(StringConverter<T> converter,
ObservableList<T> items)
Creates a
ChoiceBoxTreeCell instance with the given items
being used to populate the ChoiceBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ChoiceBoxTreeCell(StringConverter<T> converter,
T... items)
Creates a
ChoiceBoxTreeCell instance with the given items
being used to populate the ChoiceBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ComboBoxListCell(StringConverter<T> converter,
ObservableList<T> items)
Creates a
ComboBoxListCell instance with the given items
being used to populate the ComboBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ComboBoxListCell(StringConverter<T> converter,
T... items)
Creates a
ComboBoxListCell instance with the given items
being used to populate the ComboBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ComboBoxTableCell(StringConverter<T> converter,
ObservableList<T> items)
Creates a
ComboBoxTableCell instance with the given items
being used to populate the ComboBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ComboBoxTableCell(StringConverter<T> converter,
T... items)
Creates a
ComboBoxTableCell instance with the given items
being used to populate the ComboBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ComboBoxTreeCell(StringConverter<T> converter,
ObservableList<T> items)
Creates a
ComboBoxTreeCell instance with the given items
being used to populate the ComboBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
ComboBoxTreeCell(StringConverter<T> converter,
T... items)
Creates a
ComboBoxTreeCell instance with the given items
being used to populate the ComboBox when it is shown, and the
StringConverter being used to convert the item in to a
user-readable form. |
TextFieldListCell(StringConverter<T> converter)
Creates a TextFieldListCell that provides a
TextField when put
into editing mode that allows editing of the cell content. |
TextFieldTableCell(StringConverter<T> converter)
Creates a TextFieldTableCell that provides a
TextField when put
into editing mode that allows editing of the cell content. |
TextFieldTreeCell(StringConverter<T> converter)
Creates a TextFieldTreeCell that provides a
TextField when put
into editing mode that allows editing of the cell content. |
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalStringConverter
StringConverter implementation for BigDecimal values. |
class |
BigIntegerStringConverter
StringConverter implementation for BigInteger values. |
class |
BooleanStringConverter
StringConverter implementation for Boolean
(and boolean primitive) values. |
class |
ByteStringConverter
StringConverter implementation for Byte
(and byte primitive) values. |
class |
CharacterStringConverter
StringConverter implementation for Character
(and char primitive) values. |
class |
CurrencyStringConverter
StringConverter implementation for Number values
that represent currency. |
class |
DateStringConverter
StringConverter implementation for Date values. |
class |
DateTimeStringConverter
StringConverter implementation for Date values that
represent a date and time. |
class |
DefaultStringConverter
StringConverter implementation for String values. |
class |
DoubleStringConverter
StringConverter implementation for Double
(and double primitive) values. |
class |
FloatStringConverter
StringConverter implementation for Float
(and float primitive) values. |
class |
FormatStringConverter<T>
StringConverter implementation that can use a Format
instance. |
class |
IntegerStringConverter
StringConverter implementation for Integer
(and int primitive) values. |
class |
LongStringConverter
StringConverter implementation for Long
(and long primitive) values. |
class |
NumberStringConverter
StringConverter implementation for Number values. |
class |
PercentageStringConverter
StringConverter implementation for Number values
that represent percentages. |
class |
ShortStringConverter
StringConverter implementation for Short values. |
class |
TimeStringConverter
StringConverter implementation for Date values that
represent time. |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to