ch.hearc.I04_05s08.GUI.RDF
Class RdfTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bych.hearc.I04_05s08.GUI.RDF.RdfTreeNode
All Implemented Interfaces:
Cloneable, MutableTreeNode, Serializable, TreeNode
Direct Known Subclasses:
RdfTreeLeaf

public class RdfTreeNode
extends DefaultMutableTreeNode

A node of the RDF Toolbar

Author:
Blanc, Yoan
See Also:
Serialized Form
Licence:
MIT
Copyright:
2005 Yoan Blanc, HE-ARC Ing�nierie

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
private  String help
          Help text of the node
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
RdfTreeNode(String title)
          Init the tree node
RdfTreeNode(String title, String help)
          Init the tree node
 
Method Summary
 void add(MutableTreeNode[] newChilds)
          Add childs
 String getHelptext()
          Get help text
 
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

help

private String help
Help text of the node

Constructor Detail

RdfTreeNode

public RdfTreeNode(String title,
                   String help)
Init the tree node

Parameters:
title - the title of the node
help - help text

RdfTreeNode

public RdfTreeNode(String title)
Init the tree node

Parameters:
title - the title of the node
Method Detail

add

public void add(MutableTreeNode[] newChilds)
Add childs

Parameters:
newChilds - add nodes

getHelptext

public String getHelptext()
Get help text

Returns:
help text


A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC