S - The type of items in the TableViewpublic static final class TableRowExpanderColumn.TableRowDataFeatures<S>
extends java.lang.Object
getValue()} which returns the
object represented by the current row.
Further more, the expandedProperty() returns a boolean property indicating the current expansion
state of the current row. You can use this, or the toggleExpanded() method to toggle and inspect
the expanded state of the row, for example if you want an action inside the row editor to contract the editor.| Type | Property and Description |
|---|---|
javafx.beans.property.BooleanProperty |
expanded
The expanded property can be used to inspect or mutate the toggled state of this row editor.
|
| Constructor and Description |
|---|
TableRowDataFeatures(javafx.scene.control.TableRow<S> tableRow,
TableRowExpanderColumn<S> tableColumn,
S value) |
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.BooleanProperty |
expandedProperty()
The expanded property can be used to inspect or mutate the toggled state of this row editor.
|
TableRowExpanderColumn<S> |
getTableColumn()
Return the TableColumn which contains the toggle button.
|
javafx.scene.control.TableRow<S> |
getTableRow()
Return the current TableRow.
|
S |
getValue()
The value represented by the current table row.
|
java.lang.Boolean |
isExpanded()
Returns a boolean indicating if the current row is expanded or not
|
void |
setExpanded(java.lang.Boolean expanded)
Set the expanded state.
|
void |
toggleExpanded()
Toggle the expanded state of this row editor.
|
public javafx.beans.property.BooleanProperty expandedProperty
isExpanded(),
setExpanded(Boolean)public TableRowDataFeatures(javafx.scene.control.TableRow<S> tableRow, TableRowExpanderColumn<S> tableColumn, S value)
public javafx.scene.control.TableRow<S> getTableRow()
IndexedCell.getIndex() is
correct as long as you use it for the initial node creation. It is not safe to trust the result of this call
at any later time, for example in a button action within the row editor.public TableRowExpanderColumn<S> getTableColumn()
expandedProperty() for inspection and mutation of the toggled state of this row.public javafx.beans.property.BooleanProperty expandedProperty()
isExpanded(),
setExpanded(Boolean)public void toggleExpanded()
public java.lang.Boolean isExpanded()
public void setExpanded(java.lang.Boolean expanded)
expandedProperty() accordingly.expanded - Wheter the row editor should be expanded or notpublic S getValue()