| Modifier and Type | Class and Description |
|---|---|
class |
StringValuePropertyDef
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<PropertyDef<?>> |
PropertyDef.SORT_BY_NAME
Comparator that sorts instances by name.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyDef<V> |
SimpleItem.Property.getPropertyDef() |
| Modifier and Type | Method and Description |
|---|---|
List<PropertyDef<?>> |
ProvidesPropertyScanner.getPropertyDefs()
Get the list of
PropertyDefs generated from the annotated methods. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
StringValuePropertyDef.canSort(PropertyDef<?> propertyDef) |
boolean |
SortingPropertyExtractor.canSort(PropertyDef<?> propertyDef)
Determine if the given property can be sorted by this instance.
|
protected <V> SimpleItem.Property<V> |
SimpleItem.createProperty(PropertyDef<V> propertyDef)
Create a
SimpleItem.Property to be used for the given property definition. |
<V> V |
StringValuePropertyDef.getPropertyValue(Object obj,
PropertyDef<V> propertyDef) |
<V> V |
PropertyExtractor.getPropertyValue(T obj,
PropertyDef<V> propertyDef)
Read the value of the property defined by
propertyDef from the given object. |
<V> V |
EnumContainer.getPropertyValue(T value,
PropertyDef<V> propertyDef) |
<V> V |
AbstractSimpleContainer.getPropertyValue(T obj,
PropertyDef<V> propertyDef)
Read the value of the property defined by
propertyDef from the given object. |
<V> V |
AbstractQueryContainer.getPropertyValue(T obj,
PropertyDef<V> propertyDef)
Read the value of the property defined by
propertyDef from the given object. |
void |
AbstractSimpleContainer.setProperty(PropertyDef<?> propertyDef)
Add or replace a configured property of this container.
|
int |
StringValuePropertyDef.sort(PropertyDef<?> propertyDef,
Object obj1,
Object obj2) |
int |
SortingPropertyExtractor.sort(PropertyDef<?> propertyDef,
T obj1,
T obj2)
Sort two values based on the given property.
|
| Modifier and Type | Method and Description |
|---|---|
protected BackedItem<T> |
AbstractSimpleContainer.createBackedItem(T object,
Collection<PropertyDef<?>> propertyDefs,
PropertyExtractor<? super T> propertyExtractor)
Create a
BackedItem for the given backing Java object. |
protected BackedItem<T> |
AbstractQueryContainer.createBackedItem(T object,
Collection<PropertyDef<?>> propertyDefs,
PropertyExtractor<? super T> propertyExtractor)
Create a
BackedItem for the given backing Java object. |
void |
AbstractSimpleContainer.setProperties(Collection<? extends PropertyDef<?>> propertyDefs)
Change the configured properties of this container.
|
void |
AbstractQueryContainer.setProperties(Collection<? extends PropertyDef<?>> propertyDefs)
Change the configured properties of this container.
|
| Constructor and Description |
|---|
Property(PropertyDef<V> propertyDef) |
SimpleProperty(T object,
PropertyDef<V> propertyDef,
PropertyExtractor<? super T> propertyExtractor)
Constructor.
|
| Constructor and Description |
|---|
AbstractQueryContainer(Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
AbstractQueryContainer(PropertyExtractor<? super T> propertyExtractor,
Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
AbstractSimpleContainer(Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
AbstractSimpleContainer(PropertyExtractor<? super T> propertyExtractor,
Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
AbstractUnsizedContainer(Collection<? extends PropertyDef<?>> propertyDefs)
Convenience constructor.
|
AbstractUnsizedContainer(int windowSize,
Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
AbstractUnsizedContainer(int windowSize,
PropertyExtractor<? super T> propertyExtractor,
Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
AbstractUnsizedContainer(PropertyExtractor<? super T> propertyExtractor,
Collection<? extends PropertyDef<?>> propertyDefs)
Convenience constructor.
|
SelfKeyedContainer(Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
SelfKeyedContainer(PropertyExtractor<? super T> propertyExtractor,
Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
SimpleContainer(Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
SimpleContainer(PropertyExtractor<? super T> propertyExtractor,
Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
SimpleItem(T object,
Collection<? extends PropertyDef<?>> propertyDefs,
PropertyExtractor<? super T> propertyExtractor)
Constructor.
|
SimpleKeyedContainer(Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
SimpleKeyedContainer(PropertyExtractor<? super T> propertyExtractor,
Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
VaadinSessionContainer(PropertyExtractor<? super T> propertyExtractor,
Collection<? extends PropertyDef<?>> propertyDefs)
Constructor.
|
Copyright © 2017. All rights reserved.