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 Constructor Description TupleColumnPropertyAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
int
getColumnIndex(String propertyName)
String
getColumnProperty(int columnIndex)
Object
getDataValue(BlinkingGlazedListExample.Tuple tuple, int colIndex)
void
setDataValue(BlinkingGlazedListExample.Tuple arg0, int arg1, Object arg2)
-
-
-
Method Detail
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceIColumnAccessor<BlinkingGlazedListExample.Tuple>
-
getDataValue
public Object getDataValue(BlinkingGlazedListExample.Tuple tuple, int colIndex)
- Specified by:
getDataValue
in interfaceIColumnAccessor<BlinkingGlazedListExample.Tuple>
-
setDataValue
public void setDataValue(BlinkingGlazedListExample.Tuple arg0, int arg1, Object arg2)
- Specified by:
setDataValue
in interfaceIColumnAccessor<BlinkingGlazedListExample.Tuple>
-
getColumnIndex
public int getColumnIndex(String propertyName)
- Specified by:
getColumnIndex
in interfaceIColumnPropertyResolver
- Parameters:
propertyName
- i.e the name of the column in the backing bean- Returns:
- the column index for the provided property name.
-
getColumnProperty
public String getColumnProperty(int columnIndex)
- Specified by:
getColumnProperty
in interfaceIColumnPropertyResolver
- Parameters:
columnIndex
- i.e the order of the column in the backing bean- Returns:
- the column property name for the provided column index.
-
-