| org.araneaframework.uilib.tree.TreeDataProvider
TreeDataProvider | public interface TreeDataProvider extends Serializable(Code) | | Tree data provider is used by
TreeWidget to retrieve tree data.
author: Alar Kvell (alar@araneaframework.org) since: 1.0.7 |
Method Summary | |
List | getChildren(TreeNodeContext parent) Returns a list of child nodes for specified parent node.
Parameters: parent - tree node whose children will be returned. | boolean | hasChildren(TreeNodeContext parent) Returns if the specified tree node has any children.
Parameters: parent - tree node which will be checked for existence of child nodes. |
getChildren | List getChildren(TreeNodeContext parent)(Code) | | Returns a list of child nodes for specified parent node.
Parameters: parent - tree node whose children will be returned. Root node of the tree(TreeWidget) has no display widget. list of TreeNodeWidgets. May return null instead of empty list. |
hasChildren | boolean hasChildren(TreeNodeContext parent)(Code) | | Returns if the specified tree node has any children.
Parameters: parent - tree node which will be checked for existence of child nodes. if the specified tree node has any children. |
|
|