fr.jussieu.gla.wasa.monitor.model
Class ProblemNode
java.lang.Object
|
+--fr.jussieu.gla.wasa.monitor.model.Node
|
+--fr.jussieu.gla.wasa.monitor.model.ProblemNode
- All Implemented Interfaces:
- IExecutableNode, javax.swing.tree.TreeModel, javax.swing.tree.TreeNode
- public class ProblemNode
- extends Node
- implements javax.swing.tree.TreeModel, IExecutableNode
Represents a Problem, owning EngineNode
s.
- Version:
- $Revision: 1.9 $ $Date: 2002/04/03 15:32:49 $
- Author:
- Florent Selva, Laurent Caillette
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProblemNode
public ProblemNode(Problem problem)
- Constructor.
- Parameters:
problem
- The living Problem instance, or null
if Monitor GUI is ran standalone for analyzing logs.
getProblem
public Problem getProblem()
isLive
public boolean isLive()
- Specified by:
isLive
in interface IExecutableNode
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getEngineNode
public EngineNode getEngineNode(int index)
getEngineNodeCount
public int getEngineNodeCount()
getParent
public javax.swing.tree.TreeNode getParent()
getRoot
public java.lang.Object getRoot()
- Specified by:
getRoot
in interface javax.swing.tree.TreeModel
getChild
public java.lang.Object getChild(java.lang.Object parent,
int index)
- Specified by:
getChild
in interface javax.swing.tree.TreeModel
getChildCount
public int getChildCount(java.lang.Object parent)
- Specified by:
getChildCount
in interface javax.swing.tree.TreeModel
isLeaf
public boolean isLeaf(java.lang.Object node)
- Specified by:
isLeaf
in interface javax.swing.tree.TreeModel
valueForPathChanged
public void valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
- Specified by:
valueForPathChanged
in interface javax.swing.tree.TreeModel
getIndexOfChild
public int getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
- Specified by:
getIndexOfChild
in interface javax.swing.tree.TreeModel
addTreeModelListener
public void addTreeModelListener(javax.swing.event.TreeModelListener l)
- Specified by:
addTreeModelListener
in interface javax.swing.tree.TreeModel
removeTreeModelListener
public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
- Specified by:
removeTreeModelListener
in interface javax.swing.tree.TreeModel
getPathToRoot
public javax.swing.tree.TreeNode[] getPathToRoot(javax.swing.tree.TreeNode treeNode)
setSerialVersionUID
public void setSerialVersionUID(long serialVersionUID)
getSerialVersionUID
public long getSerialVersionUID()
setProblemClassName
public void setProblemClassName(java.lang.String problemClassName)
getProblemClassName
public java.lang.String getProblemClassName()