|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITableColumn
The interface defining a table column. A column is responsible for presenting a particular part of the data from the objects in the table. This is done via the getValueRender() method. A column may be sortable, in which case it defines the way in which the objects in the table must be sorted by providing a Comparator.
| Method Summary | |
|---|---|
String |
getColumnName()
Method getColumnName provides the name of the column. |
IRender |
getColumnRenderer(IRequestCycle objCycle,
ITableModelSource objSource)
Method getColumnRenderer provides a renderer that takes care of rendering the column in the table header. |
Comparator |
getComparator()
Method getComparator returns the Comparator to be used to sort the data in the table according to this column. |
boolean |
getSortable()
Method getSortable declares whether the column allows sorting. |
IRender |
getValueRenderer(IRequestCycle objCycle,
ITableModelSource objSource,
Object objRow)
Method getValueRenderer provides a renderer for presenting the value of a particular row in the current column. |
| Method Detail |
|---|
String getColumnName()
boolean getSortable()
Comparator getComparator()
IRender getColumnRenderer(IRequestCycle objCycle,
ITableModelSource objSource)
objCycle - the current request cycleobjSource - a component that can provide the table model (typically TableView)
IRender getValueRenderer(IRequestCycle objCycle,
ITableModelSource objSource,
Object objRow)
objCycle - the current request cycleobjSource - a component that can provide the table model (typically TableView)objRow - the row data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||