infovis.visualization
Class VisualizationFactory
java.lang.Object
infovis.utils.BasicFactory
infovis.visualization.VisualizationFactory
public class VisualizationFactory
- extends BasicFactory
A VisualizationFactory is used to keep track of all the visualizations
compatible with a specified data structure and to create the visualizations
from the data structures.
- Version:
- $Revision: 1.14 $
- Author:
- Jean-Daniel Fekete
VisualizationFactory
public VisualizationFactory()
getInstance
public static VisualizationFactory getInstance()
setInstance
public static void setInstance(VisualizationFactory shared)
add
public void add(VisualizationFactory.Creator creator)
addVisualizationFactory
public static void addVisualizationFactory(VisualizationFactory.Creator c)
setDefault
public void setDefault(String name,
Class tableClass,
String visualizationClass)
getCompatibleCreators
public VisualizationFactory.Creator[] getCompatibleCreators(Object table)
iterator
public Iterator iterator(Object table)
- Returns an iterator over the visualization creators compatible with the
specified table.
- Parameters:
table
- the table
- Returns:
- an iterator over the visualization creators compatible with the
specified table.
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.