CELL - is the generic type of the cell property to access.private final class AbstractUiWidgetAbstractDataTable.LazyPropertyAccessor<CELL> extends Object implements PropertyAccessor<ROW,CELL>
PropertyAccessor.| Modifier and Type | Field and Description |
|---|---|
private PropertyAccessor<ROW,CELL> |
delegate
The
PropertyAccessor to delegate to. |
private TypedProperty<CELL> |
rowProperty
The
TypedProperty to access. |
| Modifier | Constructor and Description |
|---|---|
private |
LazyPropertyAccessor(TypedProperty<CELL> rowProperty)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private PropertyAccessor<ROW,CELL> |
getDelegate(ROW row)
Lazy accessor to get the
PropertyAccessor to delegate to. |
CELL |
getValue(ROW element)
This method gets the value of the property represented by this
PropertyAccessor from the given
element. |
void |
setValue(ROW element,
CELL cellValue)
This method sets the value of the property represented by this
PropertyAccessor in the given
element. |
private final TypedProperty<CELL> rowProperty
TypedProperty to access.private PropertyAccessor<ROW,CELL> delegate
PropertyAccessor to delegate to. Will be null until first initialization.private LazyPropertyAccessor(TypedProperty<CELL> rowProperty)
rowProperty - is the TypedProperty to access.public CELL getValue(ROW element)
PropertyAccessor from the given
element.getValue in interface PropertyAccessor<ROW,CELL>element - is the element where to get the value from.element.private PropertyAccessor<ROW,CELL> getDelegate(ROW row)
PropertyAccessor to delegate to.row - is the row value to access.PropertyAccessor to delegate to.public void setValue(ROW element, CELL cellValue)
PropertyAccessor in the given
element.setValue in interface PropertyAccessor<ROW,CELL>element - is the element where to set the value.cellValue - is the new value for the property.Copyright © 2001–2016 mmm-Team. All rights reserved.