infovis.panel
Class ControlPanelFactory

java.lang.Object
  extended by infovis.utils.BasicFactory
      extended by infovis.panel.ControlPanelFactory

public class ControlPanelFactory
extends BasicFactory

ControlPanelFactory create a control panel associated with a specified visualization.

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

Nested Class Summary
static interface ControlPanelFactory.Creator
           
static class ControlPanelFactory.DefaultCreator
           
 
Constructor Summary
ControlPanelFactory()
          Constructor for ControlPanelFactory.
 
Method Summary
 void add(String name, ControlPanelFactory.Creator creator)
           
 void add(String className, String controlClassName, String data)
           
static void addControlPanel(Class c, Class cpClass)
           
static void addControlPanel(Class c, ControlPanelFactory.Creator creator)
           
 ControlPanel create(Visualization visualization)
          Creates a Control Panel from a Visualization.
static ControlPanel createControlPanel(Visualization visualization)
           
static JSplitPane createScrollVisualization(ControlPanel cp)
           
static JSplitPane createScrollVisualization(Visualization visualization)
           
static JSplitPane createSplitVisualization(ControlPanel cp)
           
static JSplitPane createSplitVisualization(Visualization visualization)
           
 ControlPanelFactory.Creator findCreator(Visualization visualization)
           
 ControlPanelFactory.Creator getCreator(Class c)
           
 ControlPanelFactory.Creator getCreator(String name)
           
static ControlPanelFactory getInstance()
           
 void setDefault(Class visClass, Class cpClass)
           
static void setInstance(ControlPanelFactory shared)
           
 
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

ControlPanelFactory

public ControlPanelFactory()
Constructor for ControlPanelFactory.

Method Detail

getInstance

public static ControlPanelFactory getInstance()

setInstance

public static void setInstance(ControlPanelFactory shared)

create

public ControlPanel create(Visualization visualization)
Creates a Control Panel from a Visualization.

Parameters:
visualization - The Visualization.
Returns:
A Control Panel.

findCreator

public ControlPanelFactory.Creator findCreator(Visualization visualization)

createControlPanel

public static ControlPanel createControlPanel(Visualization visualization)

createSplitVisualization

public static JSplitPane createSplitVisualization(ControlPanel cp)

createSplitVisualization

public static JSplitPane createSplitVisualization(Visualization visualization)

createScrollVisualization

public static JSplitPane createScrollVisualization(ControlPanel cp)

createScrollVisualization

public static JSplitPane createScrollVisualization(Visualization visualization)

add

public void add(String name,
                ControlPanelFactory.Creator creator)

add

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

addControlPanel

public static void addControlPanel(Class c,
                                   ControlPanelFactory.Creator creator)

addControlPanel

public static void addControlPanel(Class c,
                                   Class cpClass)

setDefault

public void setDefault(Class visClass,
                       Class cpClass)

getCreator

public ControlPanelFactory.Creator getCreator(Class c)

getCreator

public ControlPanelFactory.Creator getCreator(String name)


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