Interface View.Table

Enclosing interface:
View

public static interface View.Table
  • Method Details

    • column

      View.Table column(String label)
      A column, in order. A column of numbers is aligned to the right.
      Parameters:
      label - its heading
      Returns:
      this table
    • row

      View.Row row()
      Returns:
      a new row, at the end; its cells follow the columns
    • empty

      View.Table empty(String text)
      Parameters:
      text - what the table says when it has no row
      Returns:
      this table
    • search

      View.Table search()
      Returns:
      this table, with a field that keeps the rows that contain what is typed
    • sort

      View.Table sort()
      Returns:
      this table, sorted by a column when its heading is clicked
    • pages

      View.Table pages(int rows)
      Parameters:
      rows - how many rows a page of the table shows, with buttons to the others
      Returns:
      this table