Klasse TableModel

java.lang.Object
io.jenkins.plugins.datatables.TableModel

public abstract class TableModel extends Object
Provides a model for tables that are rendered with JQuery DataTables. The model consists of the following parts:
  • id for the table
  • column model for each column
  • content for each row
Autor:
Ullrich Hafner
  • Konstruktordetails

    • TableModel

      public TableModel()
  • Methodendetails

    • getId

      public abstract String getId()
      Returns the ID of the table. All IDs must be unique on a given web page.
      Gibt zurück:
      the table ID
    • getColumns

      public abstract List<TableColumn> getColumns()
      Returns the table columns.
      Gibt zurück:
      the table columns
    • getColumnsDefinition

      public String getColumnsDefinition()
      Returns the column definitions of this table as JSON array.
      Gibt zurück:
      the column definitions
      Siehe auch:
    • getRows

      public abstract List<Object> getRows()
      Returns the rows of the table.
      Gibt zurück:
      the rows
    • getTableConfiguration

      public TableConfiguration getTableConfiguration()
      Returns the configuration of a table. This may be overridden to change the configuration of a table.
      Gibt zurück:
      the configuration
    • getTableConfigurationDefinition

      public String getTableConfigurationDefinition()
      Returns the configuration of this table as JSON object.
      Gibt zurück:
      the table configuration JSON