Package org.jzy3d.chart.factories
Class ChartFactory
- java.lang.Object
-
- org.jzy3d.chart.factories.ChartFactory
-
- All Implemented Interfaces:
IChartFactory
- Direct Known Subclasses:
AWTChartFactory
,EmulGLChartFactory
,NewtChartFactory
,SWTChartFactory
public class ChartFactory extends Object implements IChartFactory
ThisIChartFactory
returns non-displayable charts.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SCREENSHOT_FOLDER
-
Constructor Summary
Constructors Constructor Description ChartFactory()
ChartFactory(IPainterFactory painterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IChartFactory
getFactory()
usefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factoryIPainterFactory
getPainterFactory()
IAxis
newAxe(BoundingBox3d box, View view)
IBoundingPolicy
newBoundingPolicy()
Camera
newCamera(Coord3d center)
CameraThreadController
newCameraThreadController(Chart chart)
Chart
newChart()
Chart
newChart(IChartFactory factory, Quality quality)
Chart
newChart(Quality quality)
Graph
newGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)
AbstractOrderingStrategy
newOrderingStrategy()
ChartScene
newScene(boolean sort)
Serie2d
newSerie(String name, Serie2d.Type type)
View
newView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
View
newView(Scene scene, ICanvas canvas, Quality quality)
void
setPainterFactory(IPainterFactory painterFactory)
-
-
-
Field Detail
-
SCREENSHOT_FOLDER
public static String SCREENSHOT_FOLDER
-
-
Constructor Detail
-
ChartFactory
public ChartFactory()
-
ChartFactory
public ChartFactory(IPainterFactory painterFactory)
-
-
Method Detail
-
getPainterFactory
public IPainterFactory getPainterFactory()
- Specified by:
getPainterFactory
in interfaceIChartFactory
-
setPainterFactory
public void setPainterFactory(IPainterFactory painterFactory)
- Specified by:
setPainterFactory
in interfaceIChartFactory
-
newChart
public Chart newChart()
- Specified by:
newChart
in interfaceIChartFactory
-
newChart
public Chart newChart(Quality quality)
- Specified by:
newChart
in interfaceIChartFactory
-
newChart
public Chart newChart(IChartFactory factory, Quality quality)
- Specified by:
newChart
in interfaceIChartFactory
-
newScene
public ChartScene newScene(boolean sort)
- Specified by:
newScene
in interfaceIChartFactory
-
newGraph
public Graph newGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)
- Specified by:
newGraph
in interfaceIChartFactory
-
newView
public View newView(Scene scene, ICanvas canvas, Quality quality)
- Specified by:
newView
in interfaceIChartFactory
-
newView
public View newView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
- Specified by:
newView
in interfaceIChartFactory
-
newCamera
public Camera newCamera(Coord3d center)
- Specified by:
newCamera
in interfaceIChartFactory
-
newAxe
public IAxis newAxe(BoundingBox3d box, View view)
- Specified by:
newAxe
in interfaceIChartFactory
-
newOrderingStrategy
public AbstractOrderingStrategy newOrderingStrategy()
- Specified by:
newOrderingStrategy
in interfaceIChartFactory
-
newBoundingPolicy
public IBoundingPolicy newBoundingPolicy()
- Specified by:
newBoundingPolicy
in interfaceIChartFactory
-
newSerie
public Serie2d newSerie(String name, Serie2d.Type type)
- Specified by:
newSerie
in interfaceIChartFactory
-
newCameraThreadController
public CameraThreadController newCameraThreadController(Chart chart)
- Specified by:
newCameraThreadController
in interfaceIChartFactory
-
getFactory
public IChartFactory getFactory()
Description copied from interface:IChartFactory
usefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factory- Specified by:
getFactory
in interfaceIChartFactory
-
-