com.arsdigita.categorization
Class CategoryTreeNodeLite
java.lang.Object
com.arsdigita.categorization.CategoryTreeNodeLite
- All Implemented Interfaces:
- TreeNode
- public class CategoryTreeNodeLite
- extends Object
- implements TreeNode
A light-weight category node. See CategoryTreeModelLite
.
- Version:
- $Revision: #10 $ $DateTime: 2004/04/07 16:07:11 $
- Author:
- Daniel Berrange
- See Also:
CategoryTreeModelLite
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryTreeNodeLite
public CategoryTreeNodeLite(BigDecimal id,
String name,
boolean hasChild)
getKey
public Object getKey()
- Description copied from interface:
TreeNode
- Obtain a unique ID representing the node
- Specified by:
getKey
in interface TreeNode
getElement
public Object getElement()
- Description copied from interface:
TreeNode
- 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
getID
public BigDecimal getID()
hasChildren
public boolean hasChildren()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC