Interface IAefGridContentProvider<T extends IGridItem>
- 
- All Known Implementing Classes:
- MappingGridContentProvider
 
 public interface IAefGridContentProvider<T extends IGridItem>The grid content provider.- See Also:
- DynamicGridInput
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()Disposes the provider.Collection<T>getChildren(T parentElement)Retrieves collection of children for a givenparentElement.Collection<T>getElements()Retrieves collection of top level elements.TgetParent(T element)Returns the parent of the givenelement.booleanhasChildren(T element)Returnstrueif the element has children.
 
- 
- 
- 
Method Detail- 
getElementsCollection<T> getElements() Retrieves collection of top level elements.- Returns:
- the top level elements, never null.
 
 - 
getChildrenCollection<T> getChildren(T parentElement) Retrieves collection of children for a givenparentElement.- Parameters:
- parentElement- the parent element, cannot be- null.
- Returns:
- the collection of children of the parent element, never null.
 
 - 
getParentT getParent(T element) Returns the parent of the givenelement.- Parameters:
- element- the element, cannot be- null.
- Returns:
- the parent element or null.
 
 - 
hasChildrenboolean hasChildren(T element) Returnstrueif the element has children.- Parameters:
- element- the element, cannot be- null.
- Returns:
- trueif the element has children
 
 - 
disposevoid dispose() Disposes the provider.
 
- 
 
-