de.mindcrimeilab.xsanalyzer.model
Class TypeHierarchyTreeModelAdapter

java.lang.Object
  extended by de.mindcrimeilab.xsanalyzer.model.TypeHierarchyTreeModelAdapter
All Implemented Interfaces:
TreeModel

public class TypeHierarchyTreeModelAdapter
extends Object
implements TreeModel

Version:
$Revision: 165 $
Author:
Michael Engelhardt, $Author: agony $

Constructor Summary
TypeHierarchyTreeModelAdapter(org.apache.xerces.xs.XSObject object)
           
 
Method Summary
 void addTreeModelListener(TreeModelListener listener)
           
 Object getChild(Object parent, int index)
           
 int getChildCount(Object parent)
           
 int getIndexOfChild(Object parent, Object child)
           
 Object getRoot()
           
 boolean isLeaf(Object value)
           
 void removeTreeModelListener(TreeModelListener listener)
           
 void valueForPathChanged(TreePath path, Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeHierarchyTreeModelAdapter

public TypeHierarchyTreeModelAdapter(org.apache.xerces.xs.XSObject object)
Method Detail

addTreeModelListener

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

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

getRoot

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

isLeaf

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

removeTreeModelListener

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

valueForPathChanged

public void valueForPathChanged(TreePath path,
                                Object newValue)
Specified by:
valueForPathChanged in interface TreeModel


Copyright © 2010. All Rights Reserved.