org.ceryle.ui.tree
Class TopicTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.ceryle.ui.tree.TopicTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class TopicTreeNode
extends DefaultMutableTreeNode

Extends DefaultMutableTreeNode as the basic node object in a TopicTreeModel. This simply allows for two boolean member variables, 'isFacet' and 'exists' (used only with facets).

Since:
JDK1.4
Version:
$Id: TopicTreeNode.java,v 3.5 2007-06-15 12:09:52 altheim Exp $
Author:
Murray Altheim
See Also:
Serialized Form

Field Summary
 boolean m_exists
           
 boolean m_isFacet
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
TopicTreeNode()
           
TopicTreeNode(Object o, boolean isFacet)
           
TopicTreeNode(Object o, boolean isFacet, boolean exists)
           
 
Method Summary
 boolean exists()
           
 boolean isFacet()
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_isFacet

public boolean m_isFacet

m_exists

public boolean m_exists
Constructor Detail

TopicTreeNode

public TopicTreeNode()

TopicTreeNode

public TopicTreeNode(Object o,
                     boolean isFacet)

TopicTreeNode

public TopicTreeNode(Object o,
                     boolean isFacet,
                     boolean exists)
Method Detail

isFacet

public boolean isFacet()

exists

public boolean exists()


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.