Package org.jzy3d.chart.factories
Class EmulGLChartFactory
- java.lang.Object
-
- org.jzy3d.chart.factories.ChartFactory
-
- org.jzy3d.chart.factories.EmulGLChartFactory
-
- All Implemented Interfaces:
IChartFactory
public class EmulGLChartFactory extends ChartFactory
-
-
Field Summary
-
Fields inherited from class org.jzy3d.chart.factories.ChartFactory
SCREENSHOT_FOLDER
-
-
Constructor Summary
Constructors Constructor Description EmulGLChartFactory()
EmulGLChartFactory(IPainterFactory windowFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmulGLChartFactory
forGL(GL glMock)
This return a factory with a custom GL instance which can be used for manual mockingCameraThreadControllerWithTime
newCameraThreadController(Chart chart)
Returns aCameraThreadControllerWithTime
which speed may be tuned.Chart
newChart(IChartFactory factory, Quality quality)
AWTView
newView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
-
Methods inherited from class org.jzy3d.chart.factories.ChartFactory
getFactory, getPainterFactory, newAxe, newBoundingPolicy, newCamera, newChart, newChart, newGraph, newOrderingStrategy, newScene, newSerie, newView, setPainterFactory
-
-
-
-
Constructor Detail
-
EmulGLChartFactory
public EmulGLChartFactory()
-
EmulGLChartFactory
public EmulGLChartFactory(IPainterFactory windowFactory)
-
-
Method Detail
-
newChart
public Chart newChart(IChartFactory factory, Quality quality)
- Specified by:
newChart
in interfaceIChartFactory
- Overrides:
newChart
in classChartFactory
-
newView
public AWTView newView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
- Specified by:
newView
in interfaceIChartFactory
- Overrides:
newView
in classChartFactory
-
newCameraThreadController
public CameraThreadControllerWithTime newCameraThreadController(Chart chart)
Returns aCameraThreadControllerWithTime
which speed may be tuned.- Specified by:
newCameraThreadController
in interfaceIChartFactory
- Overrides:
newCameraThreadController
in classChartFactory
-
forGL
public static EmulGLChartFactory forGL(GL glMock)
This return a factory with a custom GL instance which can be used for manual mocking- Returns:
-
-