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
Properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal javafx.scene.NodeGets the value of theheaderproperty.final javafx.collections.ObservableListgetItems()Gets the value of theitemsproperty.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 voidsetHeader(javafx.scene.Node header) Sets the value of theheaderproperty.final voidsetItems(javafx.collections.ObservableList items) Sets the value of theitemsproperty.
-
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 theitemsproperty.- Property description:
- The data shown in the column.
- Returns:
- the value of the
itemsproperty - 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 theitemsproperty.- Property description:
- The data shown in the column.
- Parameters:
items- the value for theitemsproperty- See Also:
-
getHeader
public final javafx.scene.Node getHeader()Gets the value of theheaderproperty.- 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
headerproperty - 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 theheaderproperty.- 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 theheaderproperty- See Also:
-