de.kappich.pat.configBrowser.main
Class DataModelTreeModel.ClassAdapter

java.lang.Object
  extended by de.kappich.pat.configBrowser.main.DataModelTreeModel.AbstractAdapter
      extended by de.kappich.pat.configBrowser.main.DataModelTreeModel.ClassAdapter
All Implemented Interfaces:
DataModelTreeModel.Adapter
Enclosing class:
DataModelTreeModel

static class DataModelTreeModel.ClassAdapter
extends DataModelTreeModel.AbstractAdapter
implements DataModelTreeModel.Adapter


Field Summary
private  Class _class
           
private static String[] LABELS
           
 
Fields inherited from class de.kappich.pat.configBrowser.main.DataModelTreeModel.AbstractAdapter
_childs, _tag
 
Constructor Summary
DataModelTreeModel.ClassAdapter(String nodeTag, Class aClass)
           
 
Method Summary
 DataModelTreeModel.Adapter createChild(int searchIndex)
           
private  List getAllInterfaces()
           
private  Set getAllInterfaces(Class[] interfaces)
           
 int getChildCount()
           
 String getValue()
           
 boolean isLeaf()
           
 
Methods inherited from class de.kappich.pat.configBrowser.main.DataModelTreeModel.AbstractAdapter
createAdapter, getChild, getIndex, getTag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.kappich.pat.configBrowser.main.DataModelTreeModel.Adapter
getChild, getIndex
 

Field Detail

_class

private Class _class

LABELS

private static final String[] LABELS
Constructor Detail

DataModelTreeModel.ClassAdapter

DataModelTreeModel.ClassAdapter(String nodeTag,
                                Class aClass)
Method Detail

getAllInterfaces

private List getAllInterfaces()

getAllInterfaces

private Set getAllInterfaces(Class[] interfaces)

createChild

public DataModelTreeModel.Adapter createChild(int searchIndex)
Overrides:
createChild in class DataModelTreeModel.AbstractAdapter

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface DataModelTreeModel.Adapter
Specified by:
getChildCount in class DataModelTreeModel.AbstractAdapter

getValue

public String getValue()
Specified by:
getValue in class DataModelTreeModel.AbstractAdapter

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface DataModelTreeModel.Adapter
Overrides:
isLeaf in class DataModelTreeModel.AbstractAdapter