S-PLUS Connect/Java v1.0

com.insightful.gdevice
Class STreeNode

java.lang.Object
  extended bycom.insightful.gdevice.STreeNode

public class STreeNode
extends Object

STreeNode represents a node in a tree data structure. It offers a subset of the functionality of Swing's DefaultMutableTreeNode class. We could use the Swing class instead except browsers don't support it.


Field Summary
protected  Object m_objUser
           
protected  Vector m_vnodeChildren
           
 
Constructor Summary
STreeNode()
           
STreeNode(Object objUser)
           
 
Method Summary
 void add(STreeNode node)
           
 STreeNode getChildAt(int nIndex)
           
 int getChildCount()
           
 Object getUserObject()
           
 boolean isLeaf()
           
 void setUserObject(Object objUser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_objUser

protected Object m_objUser

m_vnodeChildren

protected Vector m_vnodeChildren
Constructor Detail

STreeNode

public STreeNode()

STreeNode

public STreeNode(Object objUser)
Method Detail

getUserObject

public Object getUserObject()

getChildCount

public int getChildCount()

getChildAt

public STreeNode getChildAt(int nIndex)

setUserObject

public void setUserObject(Object objUser)

add

public void add(STreeNode node)

isLeaf

public boolean isLeaf()

S-PLUS Connect/Java v1.0

Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.