- java.lang.Object
-
- javafx.scene.control.TableColumn.CellDataFeatures<S,T>
-
- Type Parameters:
S
- The TableView typeT
- The TableColumn type
- Enclosing class:
- TableColumn<S,T>
public static class TableColumn.CellDataFeatures<S,T> extends Object
A support class used in TableColumn as a wrapper class to provide all necessary information for a particularCell
. Once instantiated, this class is immutable.- Since:
- JavaFX 2.0
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
Modifier and Type Method Description TableColumn<S,T>
getTableColumn()
Returns theTableColumn
passed in to the constructor.TableView<S>
getTableView()
Returns theTableView
passed in to the constructor.S
getValue()
Returns the value passed in to the constructor.
-
-
-
Constructor Detail
-
CellDataFeatures
public 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.- Parameters:
tableView
- The TableView that this instance refers to.tableColumn
- The TableColumn that this instance refers to.value
- The value for a row in the TableView.
-
-
Method Detail
-
getValue
public S getValue()
Returns the value passed in to the constructor.- Returns:
- the value passed in to the constructor
-
getTableColumn
public TableColumn<S,T> getTableColumn()
Returns theTableColumn
passed in to the constructor.- Returns:
- the TableColumn passed in to the constructor
-
-