Interface ISimpleTableModelBuilderAdaptor
public interface ISimpleTableModelBuilderAdaptor
Builder of simple table models. All column titles should be unique.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFullHeader(String... titles) A convenience method for adding complete header with columns with specified titles and default column width 150.voidaddFullRow(String... values) A convenience method for adding a row with specified values.voidAdds header column with specified title and default column width 150.voidAdds header column with specified title and specified default column width.voidAdds header column with specified title, specified code and default column width 150.addRow()Adds an empty row and returns a row builder for setting values of this row.ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.ITableModelReturns 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
IRowBuilderAdaptor addRow()Adds an empty row and returns a row builder for setting values of this row. -
addHeader
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
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
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
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
A convenience method for adding a row with specified values.
-