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
ThisIChartFactoryreturns non-displayable charts.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSCREENSHOT_FOLDER
-
Constructor Summary
Constructors Constructor Description ChartFactory()ChartFactory(IPainterFactory painterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IChartFactorygetFactory()usefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factoryIPainterFactorygetPainterFactory()IAxisnewAxe(BoundingBox3d box, View view)IBoundingPolicynewBoundingPolicy()CameranewCamera(Coord3d center)CameraThreadControllernewCameraThreadController(Chart chart)ChartnewChart()ChartnewChart(IChartFactory factory, Quality quality)ChartnewChart(Quality quality)GraphnewGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)AbstractOrderingStrategynewOrderingStrategy()ChartScenenewScene(boolean sort)Serie2dnewSerie(String name, Serie2d.Type type)ViewnewView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)ViewnewView(Scene scene, ICanvas canvas, Quality quality)voidsetPainterFactory(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:
getPainterFactoryin interfaceIChartFactory
-
setPainterFactory
public void setPainterFactory(IPainterFactory painterFactory)
- Specified by:
setPainterFactoryin interfaceIChartFactory
-
newChart
public Chart newChart()
- Specified by:
newChartin interfaceIChartFactory
-
newChart
public Chart newChart(Quality quality)
- Specified by:
newChartin interfaceIChartFactory
-
newChart
public Chart newChart(IChartFactory factory, Quality quality)
- Specified by:
newChartin interfaceIChartFactory
-
newScene
public ChartScene newScene(boolean sort)
- Specified by:
newScenein interfaceIChartFactory
-
newGraph
public Graph newGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)
- Specified by:
newGraphin interfaceIChartFactory
-
newView
public View newView(Scene scene, ICanvas canvas, Quality quality)
- Specified by:
newViewin interfaceIChartFactory
-
newView
public View newView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
- Specified by:
newViewin interfaceIChartFactory
-
newCamera
public Camera newCamera(Coord3d center)
- Specified by:
newCamerain interfaceIChartFactory
-
newAxe
public IAxis newAxe(BoundingBox3d box, View view)
- Specified by:
newAxein interfaceIChartFactory
-
newOrderingStrategy
public AbstractOrderingStrategy newOrderingStrategy()
- Specified by:
newOrderingStrategyin interfaceIChartFactory
-
newBoundingPolicy
public IBoundingPolicy newBoundingPolicy()
- Specified by:
newBoundingPolicyin interfaceIChartFactory
-
newSerie
public Serie2d newSerie(String name, Serie2d.Type type)
- Specified by:
newSeriein interfaceIChartFactory
-
newCameraThreadController
public CameraThreadController newCameraThreadController(Chart chart)
- Specified by:
newCameraThreadControllerin interfaceIChartFactory
-
getFactory
public IChartFactory getFactory()
Description copied from interface:IChartFactoryusefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factory- Specified by:
getFactoryin interfaceIChartFactory
-
-