org.apache.tapestry.contrib.table.components
Interface TableColumnModelSource
- All Known Implementing Classes:
- TableColumnModelSourceImpl
- public interface TableColumnModelSource
Service used to generate a ITableColumnModel
from
a string description.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
generateTableColumnModel
public ITableColumnModel generateTableColumnModel(IAdvancedTableColumnSource objColumnSource,
java.lang.String strDesc,
org.apache.tapestry.IComponent objComponent,
org.apache.tapestry.IComponent objColumnSettingsContainer)
- Generate a table column model out of the description string provided. Entries in the
description string are separated by commas. Each column entry is of the format name,
name:expression, or name:displayName:expression. An entry prefixed with ! represents a
non-sortable column. If the whole description string is prefixed with *, it represents
columns to be included in a Form.
- Parameters:
strDesc
- the description of the column model to be generatedobjComponent
- the component ordering the generationobjColumnSettingsContainer
- the component containing the column settings
- Returns:
- a table column model based on the provided parameters