com.arsdigita.bebop.tree
Interface TreeModel

All Known Implementing Classes:
DataQueryTreeModel, DefaultTreeModel, GroupTreeModel

public interface TreeModel

The interface describes a model for a tree structure.

Version:
$Id: //core-platform/dev/src/com/arsdigita/bebop/tree/TreeModel.java#9 $
Author:
David Lutterkort, Stanislav Freidin, Tri Tran

Field Summary
static String versionId
           
 
Method Summary
 Iterator getChildren(TreeNode n, PageState data)
          Check whether a given node has children, passing in PageState for permissioning purposes
 TreeNode getRoot(PageState data)
          Obtain the root node of the tree, passing in PageState for permissioning purposes
 boolean hasChildren(TreeNode n, PageState data)
          Check whether the node has children
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Method Detail

getRoot

public TreeNode getRoot(PageState data)
Obtain the root node of the tree, passing in PageState for permissioning purposes


hasChildren

public boolean hasChildren(TreeNode n,
                           PageState data)
Check whether the node has children


getChildren

public Iterator getChildren(TreeNode n,
                            PageState data)
Check whether a given node has children, passing in PageState for permissioning purposes



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC