infovis.graph.visualization.layout
Class GraphLayoutFactory

java.lang.Object
  extended by infovis.utils.BasicFactory
      extended by infovis.graph.visualization.layout.GraphLayoutFactory

public class GraphLayoutFactory
extends BasicFactory

Class GraphLayoutFactory

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

Nested Class Summary
static class GraphLayoutFactory.AbstractCreator
           
static interface GraphLayoutFactory.Creator
           
static class GraphLayoutFactory.DefaultCreator
           
 
Constructor Summary
GraphLayoutFactory()
           
 
Method Summary
 void add(GraphLayoutFactory.Creator c)
           
 void add(String name, Class c)
           
 void add(String name, GraphLayoutFactory.Creator c)
           
 void add(String name, String className, String data)
           
static void addLayout(String name, Class c)
           
 NodeLinkGraphLayout create(String name, NodeLinkGraphVisualization vis)
           
static NodeLinkGraphLayout createLayout(String name, NodeLinkGraphVisualization visualization)
           
 GraphLayoutFactory.Creator getCreator(String name)
           
static GraphLayoutFactory getInstance()
           
 Iterator iterator()
           
static Iterator layoutNamesIterator()
           
 void remove(String name)
           
static void setInstance(GraphLayoutFactory inst)
           
 
Methods inherited from class infovis.utils.BasicFactory
loadProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphLayoutFactory

public GraphLayoutFactory()
Method Detail

getInstance

public static GraphLayoutFactory getInstance()

setInstance

public static void setInstance(GraphLayoutFactory inst)

createLayout

public static NodeLinkGraphLayout createLayout(String name,
                                               NodeLinkGraphVisualization visualization)

addLayout

public static void addLayout(String name,
                             Class c)

layoutNamesIterator

public static Iterator layoutNamesIterator()

getCreator

public GraphLayoutFactory.Creator getCreator(String name)

create

public NodeLinkGraphLayout create(String name,
                                  NodeLinkGraphVisualization vis)

iterator

public Iterator iterator()

add

public void add(String name,
                String className,
                String data)

add

public void add(String name,
                GraphLayoutFactory.Creator c)

add

public void add(GraphLayoutFactory.Creator c)

add

public void add(String name,
                Class c)

remove

public void remove(String name)


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