infovis.panel
Class ControlPanelFactory
java.lang.Object
infovis.utils.BasicFactory
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
ControlPanelFactory
public ControlPanelFactory()
- Constructor for ControlPanelFactory.
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.