fr.jussieu.gla.wasa.monitor.model
Class Node

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.monitor.model.Node
All Implemented Interfaces:
javax.swing.tree.TreeNode
Direct Known Subclasses:
EngineNode, ProblemNode, RunNode, StepNode

public abstract class Node
extends java.lang.Object
implements javax.swing.tree.TreeNode

Base class for *Node.

Version:
$Revision: 1.4 $ $Date: 2002/04/02 22:00:55 $
Author:
Laurent Caillette

Constructor Summary
Node()
           
 
Method Summary
 void addChild(javax.swing.tree.TreeNode node)
           
 java.util.Enumeration children()
           
protected  void clearAllChildren()
           
 boolean getAllowsChildren()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 ProblemNode getProblemNode()
           
 boolean isLeaf()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.tree.TreeNode
getParent
 

Constructor Detail

Node

public Node()
Method Detail

addChild

public void addChild(javax.swing.tree.TreeNode node)

getChildAt

public javax.swing.tree.TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface javax.swing.tree.TreeNode

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Specified by:
getIndex in interface javax.swing.tree.TreeNode

children

public java.util.Enumeration children()
Specified by:
children in interface javax.swing.tree.TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode

getProblemNode

public ProblemNode getProblemNode()

clearAllChildren

protected void clearAllChildren()