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)

Nested Class Summary
static class TableItemConfigurer.DefaultTableItemConfigurer<E>
          Default configurer that converts the column value to a string and sets it as the text of the TableItem.
 
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.
 

Field Detail

DEFAULT

static final TableItemConfigurer DEFAULT
Default configurer that converts the column value to a string and sets it as the text of the TableItem.

Method Detail

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 index
column - the column index


Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by hbrands at 2017-03-13 22:58