ca.odell.glazedlists.gui
Interface TableFormat<E>
- AdvancedTableFormat<E>, CheckableTableFormat<E>, WritableTableFormat<E>
public interface TableFormat<E>
Specifies how a set of records are rendered in a table.
ca.odell.glazedlists.GlazedLists.tableFormat(Class,String[],String[])
int | getColumnCount() - The number of columns to display.
|
String | getColumnName(int column) - Gets the title of the specified column.
|
Object | getColumnValue(E baseObject, int column) - Gets the value of the specified field for the specified object.
|
getColumnCount
public int getColumnCount()
The number of columns to display.
getColumnName
public String getColumnName(int column)
Gets the title of the specified column.
getColumnValue
public Object getColumnValue(E baseObject,
int column)
Gets the value of the specified field for the specified object. This
is the value that will be passed to the editor and renderer for the
column. If you have defined a custom renderer, you may choose to return
simply the baseObject.
Glazed Lists, Copyright © 2003-2006 publicobject.com, O'Dell Engineering.
Documentation build by pbuilder at 2007-12-21 23:49