Class MultiColumnListView.ListViewColumn<T>

java.lang.Object
com.dlsc.gemsfx.MultiColumnListView.ListViewColumn<T>
Type Parameters:
T - the type of items shown by the column
Enclosing class:
MultiColumnListView<T>

public static class MultiColumnListView.ListViewColumn<T> extends Object
The model object representing a single column. The type of the items in all columns must be the same.
  • Property Summary

    Properties
    Type
    Property
    Description
    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.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final javafx.scene.Node
    Gets the value of the header property.
    final javafx.collections.ObservableList
    Gets the value of the items 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 the header property.
    final void
    setItems(javafx.collections.ObservableList items)
    Sets the value of the items property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Details

  • Constructor Details

    • ListViewColumn

      public ListViewColumn()
  • Method Details

    • getItems

      public final javafx.collections.ObservableList getItems()
      Gets the value of the items property.
      Property description:
      The data shown in the column.
      Returns:
      the value of the items property
      See Also:
    • itemsProperty

      public final javafx.beans.property.ListProperty<T> 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 the items property.
      Property description:
      The data shown in the column.
      Parameters:
      items - the value for the items property
      See Also:
    • getHeader

      public final javafx.scene.Node getHeader()
      Gets the value of the header 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 the header 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 the header property
      See Also: