Package io.jmix.ui.widget.data.util
Class NullTreeTableContainer
java.lang.Object
com.vaadin.v7.data.util.ContainerHierarchicalWrapper
io.jmix.ui.widget.data.util.NullTreeTableContainer
- All Implemented Interfaces:
com.vaadin.v7.data.Container,com.vaadin.v7.data.Container.Hierarchical,com.vaadin.v7.data.Container.ItemSetChangeNotifier,com.vaadin.v7.data.Container.Ordered,com.vaadin.v7.data.Container.PropertySetChangeNotifier,com.vaadin.v7.data.Container.Sortable,AggregationContainer,TableSortableContainer,TreeTableContainer,Serializable
public class NullTreeTableContainer
extends com.vaadin.v7.data.util.ContainerHierarchicalWrapper
implements TreeTableContainer, AggregationContainer, com.vaadin.v7.data.Container.Ordered
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.widget.data.AggregationContainer
AggregationContainer.Context, AggregationContainer.TypeNested classes/interfaces inherited from interface com.vaadin.v7.data.Container
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.Viewer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContainerPropertyAggregation(Object propertyId, AggregationContainer.Type type) addItemAfter(Object previousItemId) com.vaadin.v7.data.ItemaddItemAfter(Object previousItemId, Object newItemId) protected voidaddToHierarchyWrapper(Object itemId) aggregate(AggregationContainer.Context context) Perform aggregation and return map with formatted string values.Perform aggregation and return map with aggregation info and aggregation column type, i.e.voidvoidprotected voidexpandAll(Collection itemIds) protected LinkedList<Object>getInlineChildren(Object itemId) intbooleanisExpanded(Object itemId) booleanbooleannextItemId(Object itemId) prevItemId(Object itemId) voidremoveContainerPropertyAggregation(Object propertyId) protected voidremoveFromHierarchyWrapper(Object itemId) voidbooleansetExpanded(Object itemId) booleanintsize()voidvoidMethods inherited from class com.vaadin.v7.data.util.ContainerHierarchicalWrapper
_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, setChildrenAllowedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.v7.data.Container
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerPropertyMethods inherited from interface com.vaadin.v7.data.Container.Hierarchical
areChildrenAllowed, getChildren, getParent, hasChildren, isRoot, removeItem, rootItemIds, setChildrenAllowed
-
Field Details
-
ERROR_MESSAGE
- See Also:
-
expanded
-
inline
-
captions
-
first
-
-
Constructor Details
-
NullTreeTableContainer
public NullTreeTableContainer(com.vaadin.v7.data.Container toBeWrapped)
-
-
Method Details
-
updateHierarchicalWrapper
public void updateHierarchicalWrapper()- Overrides:
updateHierarchicalWrapperin classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
addToHierarchyWrapper
- Overrides:
addToHierarchyWrapperin classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
removeFromHierarchyWrapper
- Overrides:
removeFromHierarchyWrapperin classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
setParent
- Specified by:
setParentin interfacecom.vaadin.v7.data.Container.Hierarchical- Overrides:
setParentin classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
size
public int size()- Specified by:
sizein interfacecom.vaadin.v7.data.Container- Overrides:
sizein classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
nextItemId
- Specified by:
nextItemIdin interfacecom.vaadin.v7.data.Container.Ordered
-
prevItemId
- Specified by:
prevItemIdin interfacecom.vaadin.v7.data.Container.Ordered
-
firstItemId
- Specified by:
firstItemIdin interfacecom.vaadin.v7.data.Container.Ordered
-
lastItemId
- Specified by:
lastItemIdin interfacecom.vaadin.v7.data.Container.Ordered
-
isFirstId
- Specified by:
isFirstIdin interfacecom.vaadin.v7.data.Container.Ordered
-
isLastId
- Specified by:
isLastIdin interfacecom.vaadin.v7.data.Container.Ordered
-
addItemAfter
- Specified by:
addItemAfterin interfacecom.vaadin.v7.data.Container.Ordered- Throws:
UnsupportedOperationException
-
addItemAfter
public com.vaadin.v7.data.Item addItemAfter(Object previousItemId, Object newItemId) throws UnsupportedOperationException - Specified by:
addItemAfterin interfacecom.vaadin.v7.data.Container.Ordered- Throws:
UnsupportedOperationException
-
getLevel
- Specified by:
getLevelin interfaceTreeTableContainer
-
isExpanded
-
setExpanded
-
expandAll
public void expandAll() -
expandAll
-
collapseAll
public void collapseAll() -
getInlineChildren
-
sort
- Specified by:
sortin interfacecom.vaadin.v7.data.Container.Sortable
-
getSortableContainerPropertyIds
- Specified by:
getSortableContainerPropertyIdsin interfacecom.vaadin.v7.data.Container.Sortable
-
getAggregationPropertyIds
- Specified by:
getAggregationPropertyIdsin interfaceAggregationContainer
-
addContainerPropertyAggregation
- Specified by:
addContainerPropertyAggregationin interfaceAggregationContainer
-
removeContainerPropertyAggregation
- Specified by:
removeContainerPropertyAggregationin interfaceAggregationContainer
-
aggregate
Description copied from interface:AggregationContainerPerform aggregation and return map with formatted string values.- Specified by:
aggregatein interfaceAggregationContainer- Parameters:
context- aggregation context- Returns:
- map with aggregation info and formatted string values
-
aggregateValues
Description copied from interface:AggregationContainerPerform aggregation and return map with aggregation info and aggregation column type, i.e. if aggregation was performed for Long type column it will return pair: AggregationInfo - Long.- Specified by:
aggregateValuesin interfaceAggregationContainer- Parameters:
context- aggregation context- Returns:
- map with aggregation info and aggregation column type
-
resetSortOrder
public void resetSortOrder()- Specified by:
resetSortOrderin interfaceTableSortableContainer
-