public class NullTreeTableContainer extends com.vaadin.v7.data.util.ContainerHierarchicalWrapper implements TreeTableContainer, AggregationContainer, com.vaadin.v7.data.Container.Ordered
com.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.ViewerAggregationContainer.Context, AggregationContainer.Type| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.Object,java.lang.String> |
captions |
static java.lang.String |
ERROR_MESSAGE |
protected java.util.Set<java.lang.Object> |
expanded |
protected java.lang.Object |
first |
protected java.util.LinkedList<java.lang.Object> |
inline |
| Constructor and Description |
|---|
NullTreeTableContainer(com.vaadin.v7.data.Container toBeWrapped) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContainerPropertyAggregation(java.lang.Object propertyId,
AggregationContainer.Type type) |
java.lang.Object |
addItemAfter(java.lang.Object previousItemId) |
com.vaadin.v7.data.Item |
addItemAfter(java.lang.Object previousItemId,
java.lang.Object newItemId) |
protected void |
addToHierarchyWrapper(java.lang.Object itemId) |
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.
|
void |
collapseAll() |
void |
expandAll() |
protected void |
expandAll(java.util.Collection itemIds) |
java.lang.Object |
firstItemId() |
java.util.Collection |
getAggregationPropertyIds() |
protected java.util.LinkedList<java.lang.Object> |
getInlineChildren(java.lang.Object itemId) |
int |
getLevel(java.lang.Object itemId) |
java.util.Collection |
getSortableContainerPropertyIds() |
boolean |
isExpanded(java.lang.Object itemId) |
boolean |
isFirstId(java.lang.Object itemId) |
boolean |
isLastId(java.lang.Object itemId) |
java.lang.Object |
lastItemId() |
java.lang.Object |
nextItemId(java.lang.Object itemId) |
java.lang.Object |
prevItemId(java.lang.Object itemId) |
void |
removeContainerPropertyAggregation(java.lang.Object propertyId) |
protected void |
removeFromHierarchyWrapper(java.lang.Object itemId) |
void |
resetSortOrder() |
boolean |
setExpanded(java.lang.Object itemId) |
boolean |
setParent(java.lang.Object itemId,
java.lang.Object newParentId) |
int |
size() |
void |
sort(java.lang.Object[] propertyId,
boolean[] ascending) |
void |
updateHierarchicalWrapper() |
_children, _container, _hierarchical, addContainerProperty, addItem, addItem, addItemSetChangeListener, addListener, addListener, addPropertySetChangeListener, areChildrenAllowed, containsId, getChildren, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getParent, getType, hasChildren, isRoot, removeAllItems, removeContainerProperty, removeItem, removeItemRecursively, removeItemSetChangeListener, removeListener, removeListener, removePropertySetChangeListener, rootItemIds, setChildrenAllowedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String ERROR_MESSAGE
protected java.util.Set<java.lang.Object> expanded
protected java.util.LinkedList<java.lang.Object> inline
protected java.util.Map<java.lang.Object,java.lang.String> captions
protected java.lang.Object first
public NullTreeTableContainer(com.vaadin.v7.data.Container toBeWrapped)
public void updateHierarchicalWrapper()
updateHierarchicalWrapper in class com.vaadin.v7.data.util.ContainerHierarchicalWrapperprotected void addToHierarchyWrapper(java.lang.Object itemId)
addToHierarchyWrapper in class com.vaadin.v7.data.util.ContainerHierarchicalWrapperprotected void removeFromHierarchyWrapper(java.lang.Object itemId)
removeFromHierarchyWrapper in class com.vaadin.v7.data.util.ContainerHierarchicalWrapperpublic boolean setParent(java.lang.Object itemId,
java.lang.Object newParentId)
setParent in interface com.vaadin.v7.data.Container.HierarchicalsetParent in class com.vaadin.v7.data.util.ContainerHierarchicalWrapperpublic int size()
size in interface com.vaadin.v7.data.Containersize in class com.vaadin.v7.data.util.ContainerHierarchicalWrapperpublic java.lang.Object nextItemId(java.lang.Object itemId)
nextItemId in interface com.vaadin.v7.data.Container.Orderedpublic java.lang.Object prevItemId(java.lang.Object itemId)
prevItemId in interface com.vaadin.v7.data.Container.Orderedpublic java.lang.Object firstItemId()
firstItemId in interface com.vaadin.v7.data.Container.Orderedpublic java.lang.Object lastItemId()
lastItemId in interface com.vaadin.v7.data.Container.Orderedpublic boolean isFirstId(java.lang.Object itemId)
isFirstId in interface com.vaadin.v7.data.Container.Orderedpublic boolean isLastId(java.lang.Object itemId)
isLastId in interface com.vaadin.v7.data.Container.Orderedpublic java.lang.Object addItemAfter(java.lang.Object previousItemId)
throws java.lang.UnsupportedOperationException
addItemAfter in interface com.vaadin.v7.data.Container.Orderedjava.lang.UnsupportedOperationExceptionpublic com.vaadin.v7.data.Item addItemAfter(java.lang.Object previousItemId,
java.lang.Object newItemId)
throws java.lang.UnsupportedOperationException
addItemAfter in interface com.vaadin.v7.data.Container.Orderedjava.lang.UnsupportedOperationExceptionpublic int getLevel(java.lang.Object itemId)
getLevel in interface TreeTableContainerpublic boolean isExpanded(java.lang.Object itemId)
public boolean setExpanded(java.lang.Object itemId)
public void expandAll()
protected void expandAll(java.util.Collection itemIds)
public void collapseAll()
protected java.util.LinkedList<java.lang.Object> getInlineChildren(java.lang.Object itemId)
public void sort(java.lang.Object[] propertyId,
boolean[] ascending)
sort in interface com.vaadin.v7.data.Container.Sortablepublic java.util.Collection getSortableContainerPropertyIds()
getSortableContainerPropertyIds in interface com.vaadin.v7.data.Container.Sortablepublic 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 contextpublic void resetSortOrder()
resetSortOrder in interface TableSortableContainer