Package ca.odell.glazedlists.gui
Interface TableFormat<E>
-
- All Known Subinterfaces:
AdvancedTableFormat<E>,CheckableTableFormat<E>,WritableTableFormat<E>
public interface TableFormat<E>Specifies how a set of records are rendered in a table.- Author:
- Jesse Wilson
- See Also:
GlazedLists.tableFormat(Class,String[],String[])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumnCount()The number of columns to display.java.lang.StringgetColumnName(int column)Gets the title of the specified column.java.lang.ObjectgetColumnValue(E baseObject, int column)Gets the value of the specified field for the specified object.
-
-
-
Method Detail
-
getColumnCount
int getColumnCount()
The number of columns to display.
-
getColumnName
java.lang.String getColumnName(int column)
Gets the title of the specified column.
-
getColumnValue
java.lang.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.
-
-