Class BlinkingGlazedListExample.TupleColumnPropertyAccessor
java.lang.Object
org.eclipse.nebula.widgets.nattable.examples.examples._103_Events.BlinkingGlazedListExample.TupleColumnPropertyAccessor
- All Implemented Interfaces:
IColumnAccessor<BlinkingGlazedListExample.Tuple>,IColumnPropertyAccessor<BlinkingGlazedListExample.Tuple>,IColumnPropertyResolver
- Enclosing class:
- BlinkingGlazedListExample
public class BlinkingGlazedListExample.TupleColumnPropertyAccessor
extends Object
implements IColumnPropertyAccessor<BlinkingGlazedListExample.Tuple>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetColumnIndex(String propertyName) getColumnProperty(int columnIndex) getDataValue(BlinkingGlazedListExample.Tuple tuple, int colIndex) voidsetDataValue(BlinkingGlazedListExample.Tuple arg0, int arg1, Object arg2)
-
Constructor Details
-
TupleColumnPropertyAccessor
public TupleColumnPropertyAccessor()
-
-
Method Details
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceIColumnAccessor<BlinkingGlazedListExample.Tuple>
-
getDataValue
- Specified by:
getDataValuein interfaceIColumnAccessor<BlinkingGlazedListExample.Tuple>
-
setDataValue
- Specified by:
setDataValuein interfaceIColumnAccessor<BlinkingGlazedListExample.Tuple>
-
getColumnIndex
- Specified by:
getColumnIndexin interfaceIColumnPropertyResolver- Parameters:
propertyName- i.e the name of the column in the backing bean- Returns:
- the column index for the provided property name.
-
getColumnProperty
- Specified by:
getColumnPropertyin interfaceIColumnPropertyResolver- Parameters:
columnIndex- i.e the order of the column in the backing bean- Returns:
- the column property name for the provided column index.
-