Class SimplePagingGridTableView<T>

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
Type Parameters:
T - the type of items to show in the list view
All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable

public class SimplePagingGridTableView<T> extends PagingGridTableView<T>
A simple version of the paging grid table view that is completely based on a list of items, just like a normal table view would be. The view uses an internal data loader that accesses the list to retrieve the items of the current page.
  • Property Details

    • items

      public final javafx.beans.property.ListProperty<T> itemsProperty
      Stores the data structure to be used by the table view. The internal data loader will simply retrieve the page items from this list.
      See Also:
  • Constructor Details

    • SimplePagingGridTableView

      public SimplePagingGridTableView()
      Constructs a new table view and sets a loader that uses the data list.
  • Method Details

    • show

      public final void show(T item)
      Ensures that the given item becomes visible within the table view. This method will only succeed if the given item is a member of the getItems().
      Parameters:
      item - the item to show
    • getItems

      public final javafx.collections.ObservableList<T> getItems()
      Gets the value of the items property.
      Property description:
      Stores the data structure to be used by the table view. The internal data loader will simply retrieve the page items from this list.
      Returns:
      the value of the items property
      See Also:
    • itemsProperty

      public final javafx.beans.property.ListProperty<T> itemsProperty()
      Stores the data structure to be used by the table view. The internal data loader will simply retrieve the page items from this list.
      Returns:
      the data model feeding the table view
      See Also:
    • setItems

      public final void setItems(javafx.collections.ObservableList<T> items)
      Sets the value of the items property.
      Property description:
      Stores the data structure to be used by the table view. The internal data loader will simply retrieve the page items from this list.
      Parameters:
      items - the value for the items property
      See Also: