public class SqlTableColumn extends SimpleTableColumn
SimpleTableColumn.DefaultTableComparator
DEFAULT_COLUMN_RENDERER_SOURCE, DEFAULT_VALUE_RENDERER_SOURCE, FORM_COLUMN_RENDERER_SOURCE
COLUMN_RENDERER_BLOCK_SUFFIX, VALUE_RENDERER_BLOCK_SUFFIX
Constructor and Description |
---|
SqlTableColumn(java.lang.String strSqlField,
java.lang.String strDisplayName)
Creates an SqlTableColumn
|
SqlTableColumn(java.lang.String strSqlField,
java.lang.String strDisplayName,
boolean bSortable)
Creates an SqlTableColumn
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getColumnValue(java.lang.Object objRow)
Extracts the value of the column from the row object
|
getDisplayName, getEvaluator, loadSettings, setColumnComparator, setDisplayName, setEvaluator
getColumnName, getColumnRenderer, getColumnRendererSource, getComparator, getSortable, getValueRenderer, getValueRendererSource, setColumnName, setColumnRendererSource, setComparator, setSortable, setValueRendererSource
public SqlTableColumn(java.lang.String strSqlField, java.lang.String strDisplayName)
strSqlField
- the identifying name of the column and the SQL field it refers tostrDisplayName
- the display name of the columnpublic SqlTableColumn(java.lang.String strSqlField, java.lang.String strDisplayName, boolean bSortable)
strSqlField
- the identifying name of the column and the SQL field it refers tostrDisplayName
- the display name of the columnbSortable
- whether the column is sortablepublic java.lang.Object getColumnValue(java.lang.Object objRow)
SimpleTableColumn
getColumnValue
in class SimpleTableColumn
objRow
- the row objectSimpleTableColumn.getColumnValue(Object)