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 TypeMethodDescriptionvoiddispose()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.booleanhasChildren(T element) Returnstrueif 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
Returnstrueif the element has children.- Parameters:
element- the element, cannot benull.- Returns:
trueif the element has children
-
dispose
void dispose()Disposes the provider.
-