org.omegahat.Interfaces.CORBA.Tools.InterfaceRepository
Class CachedIRTreeModel

java.lang.Object
  |
  +--org.omegahat.Interfaces.CORBA.Tools.InterfaceRepository.IRTreeModel
        |
        +--org.omegahat.Interfaces.CORBA.Tools.InterfaceRepository.CachedIRTreeModel
All Implemented Interfaces:
javax.swing.tree.TreeModel

public class CachedIRTreeModel
extends IRTreeModel


Field Summary
protected  java.util.Hashtable table
           
 
Fields inherited from class org.omegahat.Interfaces.CORBA.Tools.InterfaceRepository.IRTreeModel
repository
 
Constructor Summary
CachedIRTreeModel(org.omg.CORBA.Repository repository)
           
 
Method Summary
 java.lang.Object addChild(java.lang.Object parent, java.lang.Object child, int index)
           
 java.lang.Object addEntry(java.lang.Object o)
           
 void clear()
           
 java.lang.Object getChild(java.lang.Object parent, int index)
           
 int getChildCount(java.lang.Object parent)
           
 java.lang.Object getEntry(java.lang.Object id)
           
 java.lang.Object getRoot()
           
 boolean isLeaf(java.lang.Object node)
           
 java.util.Hashtable table()
           
 
Methods inherited from class org.omegahat.Interfaces.CORBA.Tools.InterfaceRepository.IRTreeModel
addTreeModelListener, description, getContents, getDescriptions, getIndexOfChild, isLeaf, narrowedObject, removeTreeModelListener, repository, repository, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected java.util.Hashtable table
Constructor Detail

CachedIRTreeModel

public CachedIRTreeModel(org.omg.CORBA.Repository repository)
Method Detail

clear

public void clear()

addEntry

public java.lang.Object addEntry(java.lang.Object o)

addChild

public java.lang.Object addChild(java.lang.Object parent,
                                 java.lang.Object child,
                                 int index)

isLeaf

public boolean isLeaf(java.lang.Object node)
Overrides:
isLeaf in class IRTreeModel

getRoot

public java.lang.Object getRoot()
Overrides:
getRoot in class IRTreeModel

getChild

public java.lang.Object getChild(java.lang.Object parent,
                                 int index)
Overrides:
getChild in class IRTreeModel

getChildCount

public int getChildCount(java.lang.Object parent)
Overrides:
getChildCount in class IRTreeModel

table

public java.util.Hashtable table()

getEntry

public java.lang.Object getEntry(java.lang.Object id)