Interface TreeLayout
- 
 public interface TreeLayoutRepresents the tree (tab) layout of aAdvancementTree.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<TreeLayoutElement>element(Advancement advancement)Gets theTreeLayoutElementfor the specifiedAdvancement,Optional.empty()will be returned if the advancement is not present in the tree or if there is noDisplayInfopresent.Collection<TreeLayoutElement>elements()Gets all theTreeLayoutElements that are present in this layout.AdvancementTreetree()Gets theAdvancementTreethis layout is assigned to.
 
- 
- 
- 
Method Detail- 
treeAdvancementTree tree() Gets theAdvancementTreethis layout is assigned to.- Returns:
- The tree
 
 - 
elementsCollection<TreeLayoutElement> elements() Gets all theTreeLayoutElements that are present in this layout.- Returns:
- The tree layout elements
 
 - 
elementOptional<TreeLayoutElement> element(Advancement advancement) Gets theTreeLayoutElementfor the specifiedAdvancement,Optional.empty()will be returned if the advancement is not present in the tree or if there is noDisplayInfopresent.- Parameters:
- advancement- The advancement
- Returns:
- The tree layout element
 
 
- 
 
-