ca.odell.glazedlists.swt
Interface TableItemConfigurer<E>
- All Known Implementing Classes:
- TableItemConfigurer.DefaultTableItemConfigurer
public interface TableItemConfigurer<E>
A TableItemConfigurer
can be provided to an
DefaultEventTableViewer
to customize the initial format and appearance of
column values, each represented by a TableItem
.
- Author:
- hbrands
- See Also:
DefaultEventTableViewer.setTableItemConfigurer(TableItemConfigurer)
Field Summary |
static TableItemConfigurer |
DEFAULT
Default configurer that converts the column value to a string and sets it
as the text of the TableItem. |
Method Summary |
void |
configure(org.eclipse.swt.widgets.TableItem item,
E rowValue,
Object columnValue,
int row,
int column)
Callback method that allows the configuration of the TableItem properties
for the specified row and column. |
DEFAULT
static final TableItemConfigurer DEFAULT
- Default configurer that converts the column value to a string and sets it
as the text of the TableItem.
configure
void configure(org.eclipse.swt.widgets.TableItem item,
E rowValue,
Object columnValue,
int row,
int column)
- Callback method that allows the configuration of the TableItem properties
for the specified row and column.
- Parameters:
item
- the TableItem at index row
rowValue
- the list element from the source EventList
at
index row
columnValue
- the column value, e.g. the value returned by
TableFormat.getColumnValue(Object, int)
row
- the row indexcolumn
- the column index
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by hbrands at 2017-03-13 22:58