org.apache.tapestry.contrib.table.components
Class TableColumnModelSourceImpl
java.lang.Object
org.apache.tapestry.contrib.table.components.TableColumnModelSourceImpl
- All Implemented Interfaces:
- TableColumnModelSource
public class TableColumnModelSourceImpl
- extends Object
- implements TableColumnModelSource
A placeholder for a static methods related to the Table component.
- Since:
- 3.0
- Author:
- Mindbridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableColumnModelSourceImpl
public TableColumnModelSourceImpl()
setExpressionEvaluator
public void setExpressionEvaluator(ExpressionEvaluator expressionEvaluator)
- Since:
- 4.0
generateTableColumnModel
public ITableColumnModel generateTableColumnModel(IAdvancedTableColumnSource objColumnSource,
String strDesc,
IComponent objComponent,
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.
- Specified by:
generateTableColumnModel
in interface TableColumnModelSource
- 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
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.