Interface IAefGridContentProvider<T extends IGridItem>

    • Method Detail

      • getElements

        Collection<T> getElements()
        Retrieves collection of top level elements.
        Returns:
        the top level elements, never null.
      • getChildren

        Collection<T> getChildren​(T parentElement)
        Retrieves collection of children for a given parentElement.
        Parameters:
        parentElement - the parent element, cannot be null.
        Returns:
        the collection of children of the parent element, never null.
      • getParent

        T getParent​(T element)
        Returns the parent of the given element.
        Parameters:
        element - the element, cannot be null.
        Returns:
        the parent element or null.
      • hasChildren

        boolean hasChildren​(T element)
        Returns true if the element has children.
        Parameters:
        element - the element, cannot be null.
        Returns:
        true if the element has children
      • dispose

        void dispose()
        Disposes the provider.