FreeHEP API
Version current

hep.io.root.util
Class StreamerInfoTreeModel

java.lang.Object
  extended byhep.io.root.util.StreamerInfoTreeModel
All Implemented Interfaces:
TreeModel

public class StreamerInfoTreeModel
extends Object
implements TreeModel

A tree model for viewing StreamerInfo in a root file

Version:
$Id: StreamerInfoTreeModel.java,v 1.2 2003/04/24 19:36:23 tonyj Exp $
Author:
tonyj
Source Code:
StreamerInfoTreeModel.java

Constructor Summary
StreamerInfoTreeModel(List streamerInfoList)
          Creates new StreamerInfoTreeModel
 
Method Summary
 void addTreeModelListener(TreeModelListener treeModelListener)
           
 Object getChild(Object parent, int index)
           
 int getChildCount(Object parent)
           
 int getIndexOfChild(Object parent, Object child)
           
 Object getRoot()
           
 boolean isLeaf(Object obj)
           
 void removeTreeModelListener(TreeModelListener treeModelListener)
           
 void valueForPathChanged(TreePath treePath, Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamerInfoTreeModel

public StreamerInfoTreeModel(List streamerInfoList)
Creates new StreamerInfoTreeModel

Method Detail

getChild

public Object getChild(Object parent,
                       int index)
Specified by:
getChild in interface TreeModel

getChildCount

public int getChildCount(Object parent)
Specified by:
getChildCount in interface TreeModel

getIndexOfChild

public int getIndexOfChild(Object parent,
                           Object child)
Specified by:
getIndexOfChild in interface TreeModel

isLeaf

public boolean isLeaf(Object obj)
Specified by:
isLeaf in interface TreeModel

getRoot

public Object getRoot()
Specified by:
getRoot in interface TreeModel

addTreeModelListener

public void addTreeModelListener(TreeModelListener treeModelListener)
Specified by:
addTreeModelListener in interface TreeModel

removeTreeModelListener

public void removeTreeModelListener(TreeModelListener treeModelListener)
Specified by:
removeTreeModelListener in interface TreeModel

valueForPathChanged

public void valueForPathChanged(TreePath treePath,
                                Object obj)
Specified by:
valueForPathChanged in interface TreeModel

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.