info.aduna.clustermap.tree
Class ClassTreeMediator

java.lang.Object
  extended by info.aduna.clustermap.tree.ClassTreeMediator

public class ClassTreeMediator
extends Object


Constructor Summary
ClassTreeMediator(ClassTree tree, GraphPanel panel)
           
 
Method Summary
 ClassTree getClassSelectionTree()
           
 GraphPanel getGraphPanel()
           
 Classification getRootClassification()
           
 void loadClassificationTree(File file)
          Loads and sets the Classification tree that is serialized in the specified File.
 void loadClassificationTree(InputSource source)
          Loads and sets the Classification tree that can be read from the specified InputSource.
 void loadClassificationTree(InputStream stream)
          Loads and sets the Classification tree that can be read from the specified InputStream.
 void setRootClassification(Classification rootClass)
          Sets the Classification tree to be explored in the ClassTree and ClusterMap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassTreeMediator

public ClassTreeMediator(ClassTree tree,
                         GraphPanel panel)
Method Detail

getClassSelectionTree

public ClassTree getClassSelectionTree()

getGraphPanel

public GraphPanel getGraphPanel()

getRootClassification

public Classification getRootClassification()

setRootClassification

public void setRootClassification(Classification rootClass)
Sets the Classification tree to be explored in the ClassTree and ClusterMap. This may be 'null', in which case the components will be emptied. Afterwards, the ClassTree will show this tree with no Classifications selected and the ClusterMap will show an empty ClusterModel.


loadClassificationTree

public void loadClassificationTree(File file)
                            throws SAXException,
                                   IOException
Loads and sets the Classification tree that is serialized in the specified File.

Throws:
SAXException
IOException

loadClassificationTree

public void loadClassificationTree(InputStream stream)
                            throws SAXException,
                                   IOException
Loads and sets the Classification tree that can be read from the specified InputStream.

Throws:
SAXException
IOException

loadClassificationTree

public void loadClassificationTree(InputSource source)
                            throws SAXException,
                                   IOException
Loads and sets the Classification tree that can be read from the specified InputSource.

Throws:
SAXException
IOException


Copyright © 1997-2008 Aduna. All Rights Reserved.