java.lang.Object
com.dlsc.gemsfx.MultiColumnListView.ListViewColumn<T>
- Type Parameters:
T
- the type of items shown by the column
- Enclosing class:
MultiColumnListView<T>
The model object representing a single column. The type of the items in all columns must be the
same.
-
Property Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal javafx.scene.Node
Gets the value of theheader
property.final javafx.collections.ObservableList
getItems()
Gets the value of theitems
property.final javafx.beans.property.ObjectProperty<javafx.scene.Node>
An optional node that will serve as the column's header.final javafx.beans.property.ListProperty<T>
The data shown in the column.final void
setHeader
(javafx.scene.Node header) Sets the value of theheader
property.final void
setItems
(javafx.collections.ObservableList items) Sets the value of theitems
property.
-
Property Details
-
items
The data shown in the column. -
header
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> headerPropertyAn optional node that will serve as the column's header. It will be shown above the column.- See Also:
-
-
Constructor Details
-
ListViewColumn
public ListViewColumn()
-
-
Method Details
-
getItems
public final javafx.collections.ObservableList getItems()Gets the value of theitems
property.- Property description:
- The data shown in the column.
- Returns:
- the value of the
items
property - See Also:
-
itemsProperty
The data shown in the column.- Returns:
- the model for this column
- See Also:
-
setItems
public final void setItems(javafx.collections.ObservableList items) Sets the value of theitems
property.- Property description:
- The data shown in the column.
- Parameters:
items
- the value for theitems
property- See Also:
-
getHeader
public final javafx.scene.Node getHeader()Gets the value of theheader
property.- Property description:
- An optional node that will serve as the column's header. It will be shown above the column.
- Returns:
- the value of the
header
property - See Also:
-
headerProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> headerProperty()An optional node that will serve as the column's header. It will be shown above the column.- Returns:
- the header node / header UI
- See Also:
-
setHeader
public final void setHeader(javafx.scene.Node header) Sets the value of theheader
property.- Property description:
- An optional node that will serve as the column's header. It will be shown above the column.
- Parameters:
header
- the value for theheader
property- See Also:
-