ca.odell.glazedlists.gui
Interface AdvancedTableFormat<E>
- TableFormat<E>
public interface AdvancedTableFormat<E>
Allows the ability to specify column class information in addition to the standard
TableFormat
information.
This class can be used as an alternative to the simple
TableFormat
class to provide column class information that is used to determine what cell renderer
and/or editor should be used for a column. If no custom renderers or editors are
required, it is sufficient to implement
TableFormat
only.
Class | getColumnClass(int column) - Returns the most specific superclass for all the cell values in the column.
|
Comparator | getColumnComparator(int column) - Returns the default
Comparator to use for the specified column.
|
getColumnClass
public Class getColumnClass(int column)
Returns the most specific superclass for all the cell values in the column. This
is used by the table to set up a default renderer and editor for the column.
column
- The index of the column being edited.
getColumnComparator
public Comparator getColumnComparator(int column)
Returns the default Comparator
to use for the specified column.
This Comparator
may be used to determine how a table will be sorted.
- the
Comparator
to use or null
for an unsortable
column.
Glazed Lists, Copyright © 2003-2006 publicobject.com, O'Dell Engineering.
Documentation build by buildd at 2008-01-04 14:38