Class ReflectiveColumnPropertyAccessor<R>

java.lang.Object
org.eclipse.nebula.widgets.nattable.data.ReflectiveColumnPropertyAccessor<R>
Type Parameters:
R - type of the row object/bean
All Implemented Interfaces:
IColumnAccessor<R>, IColumnPropertyAccessor<R>, IColumnPropertyResolver
Direct Known Subclasses:
ExtendedReflectiveColumnPropertyAccessor, HierarchicalReflectiveColumnPropertyAccessor

public class ReflectiveColumnPropertyAccessor<R> extends Object implements IColumnPropertyAccessor<R>
Convenience class which uses java reflection to get/set property names from the row bean. It looks for getter methods for reading and setter methods for writing according to the Java conventions.
  • Constructor Details

    • ReflectiveColumnPropertyAccessor

      public ReflectiveColumnPropertyAccessor(String... propertyNames)
      Parameters:
      propertyNames - of the members of the row bean
    • ReflectiveColumnPropertyAccessor

      public ReflectiveColumnPropertyAccessor(List<String> propertyNames)
      Parameters:
      propertyNames - of the members of the row bean
      Since:
      1.4
  • Method Details