infovis.tree.visualization.nodelink
Class TreeLayoutFactory.DefaultCreator

java.lang.Object
  extended by infovis.tree.visualization.nodelink.TreeLayoutFactory.AbstractCreator
      extended by infovis.tree.visualization.nodelink.TreeLayoutFactory.DefaultCreator
All Implemented Interfaces:
TreeLayoutFactory.Creator
Enclosing class:
TreeLayoutFactory

public static class TreeLayoutFactory.DefaultCreator
extends TreeLayoutFactory.AbstractCreator

Default implementation of the Creator interface.

Version:
$Revision: 1.3 $
Author:
Jean-Daniel Fekete

Constructor Summary
TreeLayoutFactory.DefaultCreator(String name, Class c)
          Constructor.
TreeLayoutFactory.DefaultCreator(String name, Class c, String param)
          Constructor.
 
Method Summary
 NodeLinkTreeLayout create(NodeLinkTreeVisualization vis)
          Creates the layout associated with a specified visualization.
 
Methods inherited from class infovis.tree.visualization.nodelink.TreeLayoutFactory.AbstractCreator
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeLayoutFactory.DefaultCreator

public TreeLayoutFactory.DefaultCreator(String name,
                                        Class c)
Constructor.

Parameters:
name - the name
c - the class

TreeLayoutFactory.DefaultCreator

public TreeLayoutFactory.DefaultCreator(String name,
                                        Class c,
                                        String param)
Constructor.

Parameters:
name - the name
c - the class
param - an additional parameter
Method Detail

create

public NodeLinkTreeLayout create(NodeLinkTreeVisualization vis)
Creates the layout associated with a specified visualization.

Parameters:
vis - the visualization
Returns:
the layout associated with the visualization


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.