ca.odell.glazedlists.swt
Class TableItemConfigurer.DefaultTableItemConfigurer<E>

java.lang.Object
  extended by ca.odell.glazedlists.swt.TableItemConfigurer.DefaultTableItemConfigurer<E>
All Implemented Interfaces:
TableItemConfigurer<E>
Enclosing interface:
TableItemConfigurer<E>

public static class TableItemConfigurer.DefaultTableItemConfigurer<E>
extends Object
implements TableItemConfigurer<E>

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface ca.odell.glazedlists.swt.TableItemConfigurer
TableItemConfigurer.DefaultTableItemConfigurer<E>
 
Field Summary
 
Fields inherited from interface ca.odell.glazedlists.swt.TableItemConfigurer
DEFAULT
 
Constructor Summary
TableItemConfigurer.DefaultTableItemConfigurer()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableItemConfigurer.DefaultTableItemConfigurer

public TableItemConfigurer.DefaultTableItemConfigurer()
Method Detail

configure

public 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.

Specified by:
configure in interface TableItemConfigurer<E>
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