Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
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 . |
Modifier and Type | Field and Description |
---|---|
private TableColumn<S,?> |
TableView.ResizeFeatures.column |
private TableColumn<S,T> |
TablePosition.tableColumn |
private TableColumn<S,T> |
TableColumn.CellDataFeatures.tableColumn |
private TableColumn<S,T> |
TablePositionBuilder.tableColumn |
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<Callback<TableColumn<S,T>,TableCell<S,T>>> |
TableColumn.cellFactory
The cell factory for all cells in this column.
|
private Callback<TableColumn<S,T>,TableCell<S,T>> |
TableColumnBuilder.cellFactory |
private ObservableList<TableColumn<S,?>> |
TableView.columns
*
Instance Variables *
*
|
private ObservableList<TableColumn<S,?>> |
TableColumn.columns
*
Instance Variables *
*
|
private java.util.Collection<? extends TableColumn<S,?>> |
TableViewBuilder.columns |
private java.util.Collection<? extends TableColumn<S,?>> |
TableColumnBuilder.columns |
static Callback<TableColumn<?,?>,TableCell<?,?>> |
TableColumn.DEFAULT_CELL_FACTORY
If no cellFactory is specified on a TableColumn instance, then this one
will be used by default.
|
private ReadOnlyObjectWrapper<TableColumn<S,?>> |
TableColumn.parentColumn
This read-only property will always refer to the parent of this column,
in the situation where nested columns are being used.
|
private ObservableList<TableColumn<S,?>> |
TableView.sortOrder |
private java.util.Collection<? extends TableColumn<S,?>> |
TableViewBuilder.sortOrder |
private ReadOnlyObjectWrapper<TableColumn<S,T>> |
TableCell.tableColumn
*
Properties *
*
|
private ObservableList<TableColumn<S,?>> |
TableView.unmodifiableVisibleLeafColumns |
private ObservableList<TableColumn<S,?>> |
TableView.visibleLeafColumns |
private ListChangeListener<TableColumn<S,T>> |
TableCell.visibleLeafColumnsListener |
Modifier and Type | Method and Description |
---|---|
TableColumn<S,T> |
TableColumnBuilder.build()
Make an instance of
TableColumn based on the properties set on this builder. |
TableColumn<S,?> |
TableView.ResizeFeatures.getColumn()
Returns the column upon which the resize is occurring, or null
if this ResizeFeatures instance was created as a result of a
TableView resize operation.
|
TableColumn<S,?> |
TableColumn.getParentColumn()
Gets the value of the property parentColumn.
|
TableColumn<S,T> |
TablePosition.getTableColumn()
The TableColumn that this TablePosition represents in the TableView.
|
TableColumn<S,T> |
TableColumn.CellDataFeatures.getTableColumn()
Returns the
TableColumn passed in to the constructor. |
TableColumn<S,T> |
TableColumn.CellEditEvent.getTableColumn()
Returns the TableColumn upon which this event occurred.
|
TableColumn<S,T> |
TableCell.getTableColumn()
Gets the value of the property tableColumn.
|
private TableColumn<S,?> |
TableView.TableViewArrayListSelectionModel.getTableColumn(int pos)
*
Support code *
*
|
private TableColumn<S,?> |
TableView.TableViewArrayListSelectionModel.getTableColumn(TableColumn<S,?> column,
int offset) |
private TableColumn<S,?> |
TableView.TableViewFocusModel.getTableColumn(TableColumn<S,?> column,
int offset) |
TableColumn<S,?> |
TableView.getVisibleLeafColumn(int column)
Returns the TableColumn in the given column index, relative to all other
visible leaf columns.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Callback<TableColumn<S,T>,TableCell<S,T>>> |
TableColumn.cellFactoryProperty()
The cell factory for all cells in this column.
|
Callback<TableColumn<S,T>,TableCell<S,T>> |
TableColumn.getCellFactory()
Gets the value of the property cellFactory.
|
ObservableList<TableColumn<S,?>> |
TableView.getColumns()
The TableColumns that are part of this TableView.
|
ObservableList<TableColumn<S,?>> |
TableColumn.getColumns()
This enables support for nested columns, which can be useful to group
together related data.
|
private static java.util.List<TableColumn<?,?>> |
TableView.getResizableChildren(TableColumn<?,?> column,
boolean isShrinking) |
ObservableList<TableColumn<S,?>> |
TableView.getSortOrder()
The sortOrder list defines the order in which
TableColumn instances
are sorted. |
ObservableList<TableColumn<S,?>> |
TableView.getVisibleLeafColumns()
Returns an unmodifiable list containing the currently visible leaf columns.
|
ReadOnlyObjectProperty<TableColumn<S,?>> |
TableColumn.parentColumnProperty()
This read-only property will always refer to the parent of this column,
in the situation where nested columns are being used.
|
private ReadOnlyObjectWrapper<TableColumn<S,?>> |
TableColumn.parentColumnPropertyImpl() |
ReadOnlyObjectProperty<TableColumn<S,T>> |
TableCell.tableColumnProperty()
The TableColumn instance that backs this TableCell.
|
Modifier and Type | Method and Description |
---|---|
void |
TableColumnBuilder.applyTo(TableColumn<S,T> x) |
abstract void |
TableView.TableViewSelectionModel.clearAndSelect(int row,
TableColumn<S,?> column)
Clears all selection, and then selects the cell at the given row/column
intersection.
|
void |
TableView.TableViewArrayListSelectionModel.clearAndSelect(int row,
TableColumn<S,?> column) |
abstract void |
TableView.TableViewSelectionModel.clearSelection(int row,
TableColumn<S,?> column)
Removes selection from the specified row/column position (in view indexes).
|
void |
TableView.TableViewArrayListSelectionModel.clearSelection(int row,
TableColumn<S,?> column) |
B |
TableViewBuilder.columns(TableColumn<S,?>... x)
Add the given items to the List of items in the
columns property for the instance constructed by this builder. |
B |
TableColumnBuilder.columns(TableColumn<S,?>... x)
Add the given items to the List of items in the
columns property for the instance constructed by this builder. |
void |
TableView.edit(int row,
TableColumn<S,?> column)
Causes the cell at the given row/column view indexes to switch into
its editing state, if it is not already in it, and assuming that the
TableView and column are also editable.
|
private void |
TableView.TableViewArrayListSelectionModel.focus(int row,
TableColumn<S,?> column) |
void |
TableView.TableViewFocusModel.focus(int row,
TableColumn<S,?> column)
Causes the item at the given index to receive the focus.
|
private static java.util.List<TableColumn<?,?>> |
TableView.getResizableChildren(TableColumn<?,?> column,
boolean isShrinking) |
private TableColumn<S,?> |
TableView.TableViewArrayListSelectionModel.getTableColumn(TableColumn<S,?> column,
int offset) |
private TableColumn<S,?> |
TableView.TableViewFocusModel.getTableColumn(TableColumn<S,?> column,
int offset) |
int |
TableView.getVisibleLeafIndex(TableColumn<S,?> column)
Returns the position of the given column, relative to all other
visible leaf columns.
|
boolean |
TableView.TableViewFocusModel.isFocused(int row,
TableColumn<S,?> column)
Tests whether the row / cell at the given location currently has the
focus within the TableView.
|
abstract boolean |
TableView.TableViewSelectionModel.isSelected(int row,
TableColumn<S,?> column)
Convenience function which tests whether the given row and column index
is currently selected in this TableView instance.
|
boolean |
TableView.TableViewArrayListSelectionModel.isSelected(int row,
TableColumn<S,?> column) |
private static double |
TableView.resize(TableColumn<?,?> column,
double delta) |
boolean |
TableView.resizeColumn(TableColumn<S,?> column,
double delta)
Applies the currently installed resize policy against the given column,
resizing it based on the delta value provided.
|
abstract void |
TableView.TableViewSelectionModel.select(int row,
TableColumn<S,?> column)
Selects the cell at the given row/column intersection.
|
void |
TableView.TableViewArrayListSelectionModel.select(int row,
TableColumn<S,?> column) |
private void |
TableColumn.setParentColumn(TableColumn<S,?> value) |
private void |
TableCell.setTableColumn(TableColumn<S,T> value) |
B |
TableViewBuilder.sortOrder(TableColumn<S,?>... x)
Add the given items to the List of items in the
sortOrder property for the instance constructed by this builder. |
B |
TablePositionBuilder.tableColumn(TableColumn<S,T> x)
Set the value of the
tableColumn property for the instance constructed by this builder. |
void |
TableCell.updateTableColumn(TableColumn col)
Updates the TableColumn associated with this TableCell.
|
Modifier and Type | Method and Description |
---|---|
private void |
TableView.addColumnsListener(java.util.List<? extends TableColumn<S,?>> list,
ListChangeListener cl) |
private void |
TableView.addTableColumnListener(java.util.List<? extends TableColumn<S,?>> list) |
private void |
TableView.buildVisibleLeafColumns(java.util.List<TableColumn<S,?>> cols,
java.util.List<TableColumn<S,?>> vlc) |
private void |
TableView.buildVisibleLeafColumns(java.util.List<TableColumn<S,?>> cols,
java.util.List<TableColumn<S,?>> vlc) |
B |
TableColumnBuilder.cellFactory(Callback<TableColumn<S,T>,TableCell<S,T>> x)
Set the value of the
cellFactory property for the instance constructed by this builder. |
B |
TableViewBuilder.columns(java.util.Collection<? extends TableColumn<S,?>> x)
Add the given items to the List of items in the
columns property for the instance constructed by this builder. |
B |
TableColumnBuilder.columns(java.util.Collection<? extends TableColumn<S,?>> x)
Add the given items to the List of items in the
columns property for the instance constructed by this builder. |
private void |
TableView.removeColumnsListener(java.util.List<? extends TableColumn<S,?>> list,
ListChangeListener cl) |
private void |
TableView.removeTableColumnListener(java.util.List<? extends TableColumn<S,?>> list) |
private static double |
TableView.resizeColumns(java.util.List<TableColumn<?,?>> columns,
double delta) |
void |
TableColumn.setCellFactory(Callback<TableColumn<S,T>,TableCell<S,T>> value)
Sets the value of the property cellFactory.
|
B |
TableViewBuilder.sortOrder(java.util.Collection<? extends TableColumn<S,?>> x)
Add the given items to the List of items in the
sortOrder property for the instance constructed by this builder. |
Constructor and Description |
---|
TableColumn.CellDataFeatures(TableView<S> tableView,
TableColumn<S,T> tableColumn,
S value)
Instantiates a CellDataFeatures instance with the given properties
set as read-only values of this instance.
|
TablePosition(TableView<S> tableView,
int row,
TableColumn<S,T> tableColumn)
Constructs a TablePosition instance to represent the given row/column
position in the given TableView instance.
|
TableView.ResizeFeatures(TableView<S> table,
TableColumn<S,?> column,
java.lang.Double delta)
Creates an instance of this class, with the provided TableView,
TableColumn and delta values being set and stored in this immutable
instance.
|
Modifier and Type | Method and Description |
---|---|
static <S> Callback<TableColumn<S,java.lang.String>,TableCell<S,java.lang.String>> |
TextFieldTableCell.forTableColumn()
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> Callback<TableColumn<S,java.lang.Double>,TableCell<S,java.lang.Double>> |
ProgressBarTableCell.forTableColumn()
Provides a
ProgressBar that allows easy visualisation of a Number
value as it proceeds from 0.0 to 1.0. |
static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>> |
CheckBoxTableCell.forTableColumn(Callback<java.lang.Integer,ObservableValue<java.lang.Boolean>> getSelectedProperty)
Creates a cell factory for use in a
TableColumn cell factory. |
static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>> |
CheckBoxTableCell.forTableColumn(Callback<java.lang.Integer,ObservableValue<java.lang.Boolean>> getSelectedProperty,
boolean showLabel)
Creates a cell factory for use in a
TableColumn cell factory. |
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>> |
ComboBoxTableCell.forTableColumn(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(ObservableList<T> items)
Creates a ChoiceBox cell factory for use in
TableColumn controls. |
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 <S,T> Callback<TableColumn<S,T>,TableCell<S,T>> |
ComboBoxTableCell.forTableColumn(T... items)
Creates a ComboBox cell factory for use in
TableColumn controls. |
static <S,T> Callback<TableColumn<S,T>,TableCell<S,T>> |
ChoiceBoxTableCell.forTableColumn(T... items)
Creates a ChoiceBox cell factory for use in
TableColumn controls. |
static <S> Callback<TableColumn<S,java.lang.Boolean>,TableCell<S,java.lang.Boolean>> |
CheckBoxTableCell.forTableColumn(TableColumn<S,java.lang.Boolean> column)
Creates a cell factory for use in a
TableColumn cell factory. |
Modifier and Type | Method and Description |
---|---|
static <S> Callback<TableColumn<S,java.lang.Boolean>,TableCell<S,java.lang.Boolean>> |
CheckBoxTableCell.forTableColumn(TableColumn<S,java.lang.Boolean> column)
Creates a cell factory for use in a
TableColumn cell factory. |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to