Interface IAefGridContentProvider<T extends IGridItem>
- All Known Implementing Classes:
MappingGridContentProvider
public interface IAefGridContentProvider<T extends IGridItem>
The grid content provider.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes the provider.getChildren
(T parentElement) Retrieves collection of children for a givenparentElement
.Retrieves collection of top level elements.Returns the parent of the givenelement
.boolean
hasChildren
(T element) Returnstrue
if the element has children.
-
Method Details
-
getElements
Collection<T> getElements()Retrieves collection of top level elements.- Returns:
- the top level elements, never
null
.
-
getChildren
Retrieves collection of children for a givenparentElement
.- Parameters:
parentElement
- the parent element, cannot benull
.- Returns:
- the collection of children of the parent element, never
null
.
-
getParent
Returns the parent of the givenelement
.- Parameters:
element
- the element, cannot benull
.- Returns:
- the parent element or
null
.
-
hasChildren
Returnstrue
if the element has children.- Parameters:
element
- the element, cannot benull
.- Returns:
true
if the element has children
-
dispose
void dispose()Disposes the provider.
-