Class TreeTableDataContainer<I>

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.Sortable, TableSortableContainer, TreeTableContainer, Serializable
Direct Known Subclasses:
TreeTableImpl.AggregatableTreeTableDataContainer

public class TreeTableDataContainer<I> extends SortableDataContainer<I> implements TreeTableContainer
See Also:
  • Constructor Details

  • Method Details

    • getLevel

      public int getLevel(Object itemId)
      Specified by:
      getLevel in interface TreeTableContainer
    • getItemLevel

      protected int getItemLevel(Object itemId)
    • getChildren

      public Collection<?> getChildren(Object itemId)
      Specified by:
      getChildren in interface com.vaadin.v7.data.Container.Hierarchical
    • getTreeTableSource

      protected TreeTableItems<Object> getTreeTableSource()
    • getParent

      @Nullable public Object getParent(Object itemId)
      Specified by:
      getParent in interface com.vaadin.v7.data.Container.Hierarchical
    • rootItemIds

      public Collection<?> rootItemIds()
      Specified by:
      rootItemIds in interface com.vaadin.v7.data.Container.Hierarchical
    • setParent

      public boolean setParent(Object itemId, Object newParentId) throws UnsupportedOperationException
      Specified by:
      setParent in interface com.vaadin.v7.data.Container.Hierarchical
      Throws:
      UnsupportedOperationException
    • areChildrenAllowed

      public boolean areChildrenAllowed(Object itemId)
      Specified by:
      areChildrenAllowed in interface com.vaadin.v7.data.Container.Hierarchical
    • setChildrenAllowed

      public boolean setChildrenAllowed(Object itemId, boolean areChildrenAllowed) throws UnsupportedOperationException
      Specified by:
      setChildrenAllowed in interface com.vaadin.v7.data.Container.Hierarchical
      Throws:
      UnsupportedOperationException
    • isRoot

      public boolean isRoot(Object itemId)
      Specified by:
      isRoot in interface com.vaadin.v7.data.Container.Hierarchical
    • hasChildren

      public boolean hasChildren(Object itemId)
      Specified by:
      hasChildren in interface com.vaadin.v7.data.Container.Hierarchical