ElementType - type of elementpublic static interface HierarchyProvider.Asynchronous<ElementType>
| Modifier and Type | Method and Description |
|---|---|
AsyncSupplier<List<? extends ElementType>,Exception> |
getChildren(ElementType element,
boolean refresh,
byte priority)
Return the children of the given element.
|
ElementType |
getParent(ElementType element)
Return the parent of the given element, or null if this is a root element.
|
AsyncSupplier<Boolean,Exception> |
hasChildren(ElementType element,
boolean refresh,
byte priority)
Return true if the given element has children.
|
boolean |
mayHaveChildren(ElementType element)
Return true if the given element MAY have children, false if it is not possible.
|
ElementType getParent(ElementType element)
boolean mayHaveChildren(ElementType element)
AsyncSupplier<Boolean,Exception> hasChildren(ElementType element, boolean refresh, byte priority)
AsyncSupplier<List<? extends ElementType>,Exception> getChildren(ElementType element, boolean refresh, byte priority)
Copyright © 2019. All rights reserved.