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
,NullContainer
,Serializable
public class NullTreeTableContainer
extends com.vaadin.v7.data.util.ContainerHierarchicalWrapper
implements TreeTableContainer, AggregationContainer, com.vaadin.v7.data.Container.Ordered, NullContainer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.widget.data.AggregationContainer
AggregationContainer.Context, AggregationContainer.Type
Nested 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContainerPropertyAggregation
(Object propertyId, AggregationContainer.Type type) addItemAfter
(Object previousItemId) com.vaadin.v7.data.Item
addItemAfter
(Object previousItemId, Object newItemId) protected void
addToHierarchyWrapper
(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.void
void
protected void
expandAll
(Collection itemIds) protected LinkedList<Object>
getInlineChildren
(Object itemId) int
boolean
isExpanded
(Object itemId) boolean
boolean
nextItemId
(Object itemId) prevItemId
(Object itemId) void
removeContainerPropertyAggregation
(Object propertyId) protected void
removeFromHierarchyWrapper
(Object itemId) void
boolean
setExpanded
(Object itemId) boolean
int
size()
void
void
Methods 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, setChildrenAllowed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.v7.data.Container
addContainerProperty, addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, removeAllItems, removeContainerProperty
Methods 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
-
first
-
-
Constructor Details
-
NullTreeTableContainer
public NullTreeTableContainer(com.vaadin.v7.data.Container toBeWrapped)
-
-
Method Details
-
updateHierarchicalWrapper
public void updateHierarchicalWrapper()- Overrides:
updateHierarchicalWrapper
in classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
addToHierarchyWrapper
- Overrides:
addToHierarchyWrapper
in classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
removeFromHierarchyWrapper
- Overrides:
removeFromHierarchyWrapper
in classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
setParent
- Specified by:
setParent
in interfacecom.vaadin.v7.data.Container.Hierarchical
- Overrides:
setParent
in classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
size
public int size()- Specified by:
size
in interfacecom.vaadin.v7.data.Container
- Overrides:
size
in classcom.vaadin.v7.data.util.ContainerHierarchicalWrapper
-
nextItemId
- Specified by:
nextItemId
in interfacecom.vaadin.v7.data.Container.Ordered
-
prevItemId
- Specified by:
prevItemId
in interfacecom.vaadin.v7.data.Container.Ordered
-
firstItemId
- Specified by:
firstItemId
in interfacecom.vaadin.v7.data.Container.Ordered
-
lastItemId
- Specified by:
lastItemId
in interfacecom.vaadin.v7.data.Container.Ordered
-
isFirstId
- Specified by:
isFirstId
in interfacecom.vaadin.v7.data.Container.Ordered
-
isLastId
- Specified by:
isLastId
in interfacecom.vaadin.v7.data.Container.Ordered
-
addItemAfter
- Specified by:
addItemAfter
in interfacecom.vaadin.v7.data.Container.Ordered
- Throws:
UnsupportedOperationException
-
addItemAfter
public com.vaadin.v7.data.Item addItemAfter(Object previousItemId, Object newItemId) throws UnsupportedOperationException - Specified by:
addItemAfter
in interfacecom.vaadin.v7.data.Container.Ordered
- Throws:
UnsupportedOperationException
-
getLevel
- Specified by:
getLevel
in interfaceTreeTableContainer
-
isExpanded
-
setExpanded
-
expandAll
public void expandAll() -
expandAll
-
collapseAll
public void collapseAll() -
getInlineChildren
-
sort
- Specified by:
sort
in interfacecom.vaadin.v7.data.Container.Sortable
-
getSortableContainerPropertyIds
- Specified by:
getSortableContainerPropertyIds
in interfacecom.vaadin.v7.data.Container.Sortable
-
getAggregationPropertyIds
- Specified by:
getAggregationPropertyIds
in interfaceAggregationContainer
-
addContainerPropertyAggregation
- Specified by:
addContainerPropertyAggregation
in interfaceAggregationContainer
-
removeContainerPropertyAggregation
- Specified by:
removeContainerPropertyAggregation
in interfaceAggregationContainer
-
aggregate
Description copied from interface:AggregationContainer
Perform aggregation and return map with formatted string values.- Specified by:
aggregate
in interfaceAggregationContainer
- Parameters:
context
- aggregation context- Returns:
- map with aggregation info and formatted string values
-
aggregateValues
Description copied from interface:AggregationContainer
Perform 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:
aggregateValues
in interfaceAggregationContainer
- Parameters:
context
- aggregation context- Returns:
- map with aggregation info and aggregation column type
-
resetSortOrder
public void resetSortOrder()- Specified by:
resetSortOrder
in interfaceTableSortableContainer
-