|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.data.util.PropertyValueGenerator<T>
T - Property data typepublic abstract class PropertyValueGenerator<T>
PropertyValueGenerator for GeneratedPropertyContainer.
| Constructor Summary | |
|---|---|
PropertyValueGenerator()
|
|
| Method Summary | |
|---|---|
SortOrder[] |
getSortProperties(SortOrder order)
Translates sorting of the generated property in a specific direction to a set of property ids and directions in the underlying container. |
abstract java.lang.Class<T> |
getType()
Return Property type for this generator. |
abstract T |
getValue(Item item,
java.lang.Object itemId,
java.lang.Object propertyId)
Returns value for given Item. |
Container.Filter |
modifyFilter(Container.Filter filter)
Return an updated filter that should be compatible with the underlying container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyValueGenerator()
| Method Detail |
|---|
public abstract T getValue(Item item,
java.lang.Object itemId,
java.lang.Object propertyId)
item - currently handled itemitemId - item id for currently handled itempropertyId - id for this property
public abstract java.lang.Class<T> getType()
Property.getType() is called for generated property.
public SortOrder[] getSortProperties(SortOrder order)
order - a sort order for this property
public Container.Filter modifyFilter(Container.Filter filter)
throws UnsupportedFilterException
filter - original filter for this property
UnsupportedFilterException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||