com.arsdigita.bebop.tree
Class DefaultTreeNode
java.lang.Object
com.arsdigita.bebop.tree.DefaultTreeNode
- All Implemented Interfaces:
- TreeNode
- public class DefaultTreeNode
- extends Object
- implements TreeNode
The basic
implementation of the TreeNode interface.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/bebop/tree/DefaultTreeNode.java#8 $
- Author:
- David Lutterkort, Stanislav Freidin, Tri Tran
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
DefaultTreeNode
public DefaultTreeNode()
DefaultTreeNode
public DefaultTreeNode(Object key,
Object element)
getKey
public Object getKey()
- Obtain a unique ID representing the node
- Specified by:
getKey
in interface TreeNode
- Returns:
- the unique string id of the node (primary key)
getElement
public Object getElement()
- Get the element of the tree node. The concrete type
of the object returned is specific to each implementation
of the
TreeModel
and should be documented
there.
- Specified by:
getElement
in interface TreeNode
- Returns:
- the element for the tree node
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC