public interface TableItemConfigurer<E>
TableItemConfigurer
can be provided to an
DefaultEventTableViewer
to customize the initial format and appearance of
column values, each represented by a TableItem
.DefaultEventTableViewer.setTableItemConfigurer(TableItemConfigurer)
Modifier and Type | Interface and Description |
---|---|
static class |
TableItemConfigurer.DefaultTableItemConfigurer<E>
Default configurer that converts the column value to a string and sets it
as the text of the TableItem.
|
Modifier and Type | Field and Description |
---|---|
static TableItemConfigurer |
DEFAULT
Default configurer that converts the column value to a string and sets it
as the text of the TableItem.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(TableItem item,
E rowValue,
java.lang.Object columnValue,
int row,
int column)
Callback method that allows the configuration of the TableItem properties
for the specified row and column.
|
static final TableItemConfigurer DEFAULT
void configure(TableItem item, E rowValue, java.lang.Object columnValue, int row, int column)
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 indexGlazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2018-07-13 9:19