|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo.table.HeaderCellRenderer
com.sptci.echo.table.SortableHeaderCellRenderer
public class SortableHeaderCellRenderer
The default renderer to use for sortable table headers.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
protected static ImageReference |
ASCENDING
The default image to use for the column header when sorted ascending. |
protected static ImageReference |
DEFAULT
The default image to use for the column header. |
protected static ImageReference |
DESCENDING
The default image to use for the column header when sorted ascending. |
| Fields inherited from class com.sptci.echo.table.HeaderCellRenderer |
|---|
STYLE_NAME |
| Constructor Summary | |
|---|---|
SortableHeaderCellRenderer()
|
|
| Method Summary | |
|---|---|
Component |
getTableCellRendererComponent(Table table,
Object value,
int column,
int row)
Returns a Button containing the Object.toString() value of the model value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final ImageReference DEFAULT
protected static final ImageReference ASCENDING
protected static final ImageReference DESCENDING
| Constructor Detail |
|---|
public SortableHeaderCellRenderer()
| Method Detail |
|---|
public Component getTableCellRendererComponent(Table table,
Object value,
int column,
int row)
Button containing the Object.toString() value of the model value. Defaults to
the super-class implementation if the table parameter
is not an instance of SortableTable.
getTableCellRendererComponent in interface TableCellRenderergetTableCellRendererComponent in class HeaderCellRenderertable - The table for which the cell renderer is to be returned.value - The value that is to be displayed in the cell.column - The column index at which the value is to be displayed.row - The row index in which the column is to be displayed.
null
if the model value is null.TableCellRenderer.getTableCellRendererComponent(nextapp.echo.app.Table, java.lang.Object, int, int)
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||