Interface ISimpleTableModelBuilderAdaptor


public interface ISimpleTableModelBuilderAdaptor
Builder of simple table models. All column titles should be unique.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFullHeader(String... titles)
    A convenience method for adding complete header with columns with specified titles and default column width 150.
    void
    addFullRow(String... values)
    A convenience method for adding a row with specified values.
    void
    Adds header column with specified title and default column width 150.
    void
    addHeader(String title, int defaultColumnWidth)
    Adds header column with specified title and specified default column width.
    void
    addHeader(String title, String code)
    Adds header column with specified title, specified code and default column width 150.
    Adds an empty row and returns a row builder for setting values of this row.
    ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.ITableModel
    Returns the defined table model.
  • Method Details

    • getTableModel

      ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.ITableModel getTableModel()
      Returns the defined table model. It should be used to set an output of managed property.
    • addRow

      Adds an empty row and returns a row builder for setting values of this row.
    • addHeader

      void addHeader(String title)
      Adds header column with specified title and default column width 150.
      Throws:
      ch.systemsx.cisd.common.exceptions.UserFailureException - if header with the same title has already been added.
    • addHeader

      void addHeader(String title, int defaultColumnWidth)
      Adds header column with specified title and specified default column width.
      Throws:
      ch.systemsx.cisd.common.exceptions.UserFailureException - if header with the same title has already been added.
    • addHeader

      void addHeader(String title, String code)
      Adds header column with specified title, specified code and default column width 150.
      Throws:
      ch.systemsx.cisd.common.exceptions.UserFailureException - if header with the same title has already been added.
    • addFullHeader

      void addFullHeader(String... titles)
      A convenience method for adding complete header with columns with specified titles and default column width 150.
      Throws:
      ch.systemsx.cisd.common.exceptions.UserFailureException - if header titles are not unique.
    • addFullRow

      void addFullRow(String... values)
      A convenience method for adding a row with specified values.