Class HierarchicalReflectiveColumnPropertyAccessor
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.data.ReflectiveColumnPropertyAccessor<HierarchicalWrapper>
-
- org.eclipse.nebula.widgets.nattable.hierarchical.HierarchicalReflectiveColumnPropertyAccessor
-
- All Implemented Interfaces:
IColumnAccessor<HierarchicalWrapper>
,IColumnPropertyAccessor<HierarchicalWrapper>
,IColumnPropertyResolver
public class HierarchicalReflectiveColumnPropertyAccessor extends ReflectiveColumnPropertyAccessor<HierarchicalWrapper>
Specialization ofReflectiveColumnPropertyAccessor
to access fields in aHierarchicalWrapper
.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description HierarchicalReflectiveColumnPropertyAccessor(String... propertyNames)
HierarchicalReflectiveColumnPropertyAccessor(List<String> propertyNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDataValue(HierarchicalWrapper rowObj, int columnIndex)
void
setDataValue(HierarchicalWrapper rowObj, int columnIndex, Object newValue)
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.data.ReflectiveColumnPropertyAccessor
getColumnCount, getColumnIndex, getColumnProperty, getPropertyDescriptor
-
-
-
-
Constructor Detail
-
HierarchicalReflectiveColumnPropertyAccessor
public HierarchicalReflectiveColumnPropertyAccessor(String... propertyNames)
- Parameters:
propertyNames
- of the members of the row bean
-
-
Method Detail
-
getDataValue
public Object getDataValue(HierarchicalWrapper rowObj, int columnIndex)
- Specified by:
getDataValue
in interfaceIColumnAccessor<HierarchicalWrapper>
- Overrides:
getDataValue
in classReflectiveColumnPropertyAccessor<HierarchicalWrapper>
-
setDataValue
public void setDataValue(HierarchicalWrapper rowObj, int columnIndex, Object newValue)
- Specified by:
setDataValue
in interfaceIColumnAccessor<HierarchicalWrapper>
- Overrides:
setDataValue
in classReflectiveColumnPropertyAccessor<HierarchicalWrapper>
-
-