Package snap.view
Class TreeResolver<T>
java.lang.Object
snap.view.TreeResolver<T>
- Direct Known Subclasses:
DevPaneViewOwners.ViewOwnersTreeResolver
,DevPaneViews.ViewTreeResolver
,TreeResolver.Adapter
An interface for providing tree item information.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBranchImage
(T anItem) The icon of given item.abstract T[]
getChildren
(T aParent) Returns the children.getGraphic
(T anItem) Return the graphic to be used for given item.getGraphicAfter
(T anItem) Return the graphic to be used for given item after text.Return the image to be used for given item.getImageAfter
(T anItem) Return the image to be used for given item after item text.abstract T
Returns the parent of given item.Returns the text to be used for given item.Returns the text to be used for given item in given column.abstract boolean
Whether given object is a parent (has children).
-
Constructor Details
-
TreeResolver
public TreeResolver()
-
-
Method Details
-
getParent
Returns the parent of given item. -
isParent
Whether given object is a parent (has children). -
getChildren
Returns the children. -
getText
Returns the text to be used for given item. -
getText
Returns the text to be used for given item in given column. -
getImage
Return the image to be used for given item. -
getGraphic
Return the graphic to be used for given item. -
getImageAfter
Return the image to be used for given item after item text. -
getGraphicAfter
Return the graphic to be used for given item after text. -
getBranchImage
The icon of given item.
-