protected class TreeTableImpl.AggregatableTreeTableDataContainer<I> extends TreeTableDataContainer<I> implements AggregationContainer
AggregationContainer.Context, AggregationContainer.Typecom.vaadin.v7.data.Container.Editor, com.vaadin.v7.data.Container.Filter, com.vaadin.v7.data.Container.Filterable, com.vaadin.v7.data.Container.Hierarchical, com.vaadin.v7.data.Container.Indexed, com.vaadin.v7.data.Container.ItemSetChangeEvent, com.vaadin.v7.data.Container.ItemSetChangeListener, com.vaadin.v7.data.Container.ItemSetChangeNotifier, com.vaadin.v7.data.Container.Ordered, com.vaadin.v7.data.Container.PropertySetChangeEvent, com.vaadin.v7.data.Container.PropertySetChangeListener, com.vaadin.v7.data.Container.PropertySetChangeNotifier, com.vaadin.v7.data.Container.SimpleFilterable, com.vaadin.v7.data.Container.Sortable, com.vaadin.v7.data.Container.Viewer| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
aggregationProperties |
dataEventsDelegate, ignoreListeners, itemsCache, itemSetChangeListeners, itemSetChangeSubscription, properties, propertyValueChangeListeners, selectedItemChangeSubscription, stateChangeSubscription, tableItems, valueChangeSubscription, VOID_VALUE_CHANGE_EVENT, wrappersPool| Constructor and Description |
|---|
AggregatableTreeTableDataContainer(TreeTableItems<I> tableDataSource,
TableItemsEventsDelegate<I> dataEventsDelegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContainerPropertyAggregation(java.lang.Object propertyId,
AggregationContainer.Type type) |
java.util.Map<java.lang.Object,java.lang.Object> |
aggregate(AggregationContainer.Context context)
Perform aggregation and return map with formatted string values.
|
java.util.Map<java.lang.Object,java.lang.Object> |
aggregateValues(AggregationContainer.Context context)
Perform aggregation and return map with aggregation info and aggregation column type, i.e.
|
java.util.Collection |
getAggregationPropertyIds() |
void |
removeContainerPropertyAggregation(java.lang.Object propertyId) |
areChildrenAllowed, getChildren, getItemLevel, getLevel, getParent, getTreeTableSource, hasChildren, isRoot, rootItemIds, setChildrenAllowed, setParentaddItemAfter, addItemAfter, firstItemId, getSortableContainerPropertyIds, getSortableTableSource, isFirstId, isLastId, lastItemId, nextItemId, prevItemId, resetSortOrder, sortaddContainerProperty, addItem, addItem, addItemSetChangeListener, addListener, addValueChangeListener, beforeFireItemSetChanged, beforeFireStateChanged, borrowItemWrapper, containsId, datasourceItemSetChanged, datasourceSelectedItemChanged, datasourceStateChanged, datasourceValueChanged, fireItemSetChanged, getContainerProperty, getContainerPropertyIds, getInternalItem, getItem, getItemIds, getItemWrapper, getItemWrapperNonCached, getTableItems, getType, removeAllItems, removeContainerProperty, removeItem, removeItemSetChangeListener, removeListener, resetCachedItems, returnItemWrapper, setProperties, size, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty, removeItem, sizeresetSortOrdergetSortableContainerPropertyIds, sortpublic AggregatableTreeTableDataContainer(TreeTableItems<I> tableDataSource, TableItemsEventsDelegate<I> dataEventsDelegate)
public java.util.Collection getAggregationPropertyIds()
getAggregationPropertyIds in interface AggregationContainerpublic void addContainerPropertyAggregation(java.lang.Object propertyId,
AggregationContainer.Type type)
addContainerPropertyAggregation in interface AggregationContainerpublic void removeContainerPropertyAggregation(java.lang.Object propertyId)
removeContainerPropertyAggregation in interface AggregationContainerpublic java.util.Map<java.lang.Object,java.lang.Object> aggregate(AggregationContainer.Context context)
AggregationContaineraggregate in interface AggregationContainercontext - aggregation contextpublic java.util.Map<java.lang.Object,java.lang.Object> aggregateValues(AggregationContainer.Context context)
AggregationContaineraggregateValues in interface AggregationContainercontext - aggregation context