org.apache.tapestry.contrib.table.model.sql
Class SqlTableColumn
java.lang.Object
org.apache.tapestry.contrib.table.model.common.AbstractTableColumn
org.apache.tapestry.contrib.table.model.simple.SimpleTableColumn
org.apache.tapestry.contrib.table.model.sql.SqlTableColumn
- All Implemented Interfaces:
- Serializable, ITableColumn
public class SqlTableColumn
- extends SimpleTableColumn
- Version:
- $Id: SqlTableColumn.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- mindbridge
- See Also:
- Serialized Form
Methods inherited from class org.apache.tapestry.contrib.table.model.common.AbstractTableColumn |
getColumnName, getColumnRenderer, getColumnRendererSource, getComparator, getSortable, getValueRenderer, getValueRendererSource, setColumnName, setColumnRendererSource, setComparator, setSortable, setValueRendererSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlTableColumn
public SqlTableColumn(String strSqlField,
String strDisplayName)
- Creates an SqlTableColumn
- Parameters:
strSqlField
- the identifying name of the column and the SQL field it refers tostrDisplayName
- the display name of the column
SqlTableColumn
public SqlTableColumn(String strSqlField,
String strDisplayName,
boolean bSortable)
- Creates an SqlTableColumn
- Parameters:
strSqlField
- the identifying name of the column and the SQL field it refers tostrDisplayName
- the display name of the columnbSortable
- whether the column is sortable
getColumnValue
public Object getColumnValue(Object objRow)
- Description copied from class:
SimpleTableColumn
- Extracts the value of the column from the row object
- Overrides:
getColumnValue
in class SimpleTableColumn
- Parameters:
objRow
- the row object
- Returns:
- Object the column value
- See Also:
SimpleTableColumn.getColumnValue(Object)