Interface TableItems.Ordered<T>

Type Parameters:
T - row item type
All Superinterfaces:
DataUnit, TableItems<T>
All Known Subinterfaces:
GroupTableItems<I>, TableItems.Sortable<T>, TreeTableItems<I>
All Known Implementing Classes:
ContainerGroupTableItems, ContainerTableItems, ContainerTreeTableItems, EmptyGroupTableItems, EmptyTableItems, EmptyTreeTableItems
Enclosing interface:
TableItems<I>

public static interface TableItems.Ordered<T> extends TableItems<T>
Ordered table items.
  • Method Details

    • nextItemId

      @Nullable Object nextItemId(@Nullable Object itemId)
      Gets the ID of the item following the Item that corresponds to itemId.
      Parameters:
      itemId - item id
      Returns:
      ID of the next visible Item or null
    • prevItemId

      @Nullable Object prevItemId(@Nullable Object itemId)
      Gets the ID of the item preceding the item that corresponds to itemId.
      Parameters:
      itemId - item id
      Returns:
      ID of the previous visible item or null
    • firstItemId

      @Nullable Object firstItemId()
      Returns:
      ID of the first visible item
    • lastItemId

      @Nullable Object lastItemId()
      Returns:
      ID of the last visible item
    • isFirstId

      boolean isFirstId(@Nullable Object itemId)
      Tests if the Item corresponding to the given Item ID is the first item.
      Parameters:
      itemId - item id
      Returns:
      true if the item is first visible item, false if not
    • isLastId

      boolean isLastId(@Nullable Object itemId)
      Tests if the item corresponding to the given item ID is the last item.
      Parameters:
      itemId - item id
      Returns:
      true if the item is last visible item in the, false if not