org.jzy3d.chart.factories
Class ChartComponentFactory
- java.lang.Object
-
- org.jzy3d.chart.factories.ChartComponentFactory
-
- All Implemented Interfaces:
- IChartComponentFactory
- Direct Known Subclasses:
- AWTChartComponentFactory, GraphChartComponentFactory, NewtChartComponentFactory
public class ChartComponentFactory extends java.lang.Object implements IChartComponentFactory
ThisIChartComponentFactoryreturns non-displayable charts.- See Also:
for a working implementation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jzy3d.chart.factories.IChartComponentFactory
IChartComponentFactory.Toolkit
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringSCREENSHOT_FOLDER
-
Constructor Summary
Constructors Constructor and Description ChartComponentFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static Chartchart(Quality quality, IChartComponentFactory.Toolkit toolkit)IChartComponentFactorygetFactory()usefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factoryIChartComponentFactory.ToolkitgetToolkit(java.lang.String windowingToolkit)IAxenewAxe(BoundingBox3d box, View view)IBoundingPolicynewBoundingPolicy()CameranewCamera(Coord3d center)ICanvasnewCanvas(IChartComponentFactory factory, Scene scene, Quality quality, java.lang.String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)ICanvasnewCanvas(Scene scene, Quality quality, java.lang.String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)ChartnewChart(IChartComponentFactory factory, Quality quality, java.lang.String toolkit)ChartnewChart(Quality quality, IChartComponentFactory.Toolkit toolkit)ChartnewChart(Quality quality, java.lang.String toolkit)IFramenewFrame(Chart chart)IFramenewFrame(Chart chart, Rectangle bounds, java.lang.String title)Use reflexion to access AWT dependant classes.GraphnewGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)ICameraKeyControllernewKeyController(Chart chart)ICameraMouseControllernewMouseController(Chart chart)AbstractOrderingStrategynewOrderingStrategy()Renderer3dnewRenderer(View view)Renderer3dnewRenderer(View view, boolean traceGL, boolean debugGL)ChartScenenewScene(boolean sort)IScreenshotKeyControllernewScreenshotKeyController(Chart chart)Serie2dnewSerie(java.lang.String name, Serie2d.Type type)ViewnewView(Scene scene, ICanvas canvas, Quality quality)IViewportLayoutnewViewportLayout()
-
-
-
Method Detail
-
chart
public static Chart chart(Quality quality, IChartComponentFactory.Toolkit toolkit)
-
newChart
public Chart newChart(Quality quality, IChartComponentFactory.Toolkit toolkit)
- Specified by:
newChartin interfaceIChartComponentFactory
-
newChart
public Chart newChart(Quality quality, java.lang.String toolkit)
- Specified by:
newChartin interfaceIChartComponentFactory
-
newChart
public Chart newChart(IChartComponentFactory factory, Quality quality, java.lang.String toolkit)
- Specified by:
newChartin interfaceIChartComponentFactory
-
newScene
public ChartScene newScene(boolean sort)
- Specified by:
newScenein interfaceIChartComponentFactory
-
newGraph
public Graph newGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)
- Specified by:
newGraphin interfaceIChartComponentFactory
-
newView
public View newView(Scene scene, ICanvas canvas, Quality quality)
- Specified by:
newViewin interfaceIChartComponentFactory
-
newCamera
public Camera newCamera(Coord3d center)
- Specified by:
newCamerain interfaceIChartComponentFactory
-
newAxe
public IAxe newAxe(BoundingBox3d box, View view)
- Specified by:
newAxein interfaceIChartComponentFactory
-
newRenderer
public Renderer3d newRenderer(View view, boolean traceGL, boolean debugGL)
- Specified by:
newRendererin interfaceIChartComponentFactory
-
newRenderer
public Renderer3d newRenderer(View view)
- Specified by:
newRendererin interfaceIChartComponentFactory
-
newOrderingStrategy
public AbstractOrderingStrategy newOrderingStrategy()
- Specified by:
newOrderingStrategyin interfaceIChartComponentFactory
-
newBoundingPolicy
public IBoundingPolicy newBoundingPolicy()
- Specified by:
newBoundingPolicyin interfaceIChartComponentFactory
-
newSerie
public Serie2d newSerie(java.lang.String name, Serie2d.Type type)
- Specified by:
newSeriein interfaceIChartComponentFactory
-
newMouseController
public ICameraMouseController newMouseController(Chart chart)
- Specified by:
newMouseControllerin interfaceIChartComponentFactory
-
newScreenshotKeyController
public IScreenshotKeyController newScreenshotKeyController(Chart chart)
- Specified by:
newScreenshotKeyControllerin interfaceIChartComponentFactory
-
newKeyController
public ICameraKeyController newKeyController(Chart chart)
- Specified by:
newKeyControllerin interfaceIChartComponentFactory
-
newViewportLayout
public IViewportLayout newViewportLayout()
- Specified by:
newViewportLayoutin interfaceIChartComponentFactory
-
newFrame
public IFrame newFrame(Chart chart)
- Specified by:
newFramein interfaceIChartComponentFactory
-
newFrame
public IFrame newFrame(Chart chart, Rectangle bounds, java.lang.String title)
Use reflexion to access AWT dependant classes.- Specified by:
newFramein interfaceIChartComponentFactory
-
newCanvas
public ICanvas newCanvas(Scene scene, Quality quality, java.lang.String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)
- Specified by:
newCanvasin interfaceIChartComponentFactory
-
newCanvas
public ICanvas newCanvas(IChartComponentFactory factory, Scene scene, Quality quality, java.lang.String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)
- Specified by:
newCanvasin interfaceIChartComponentFactory
-
getToolkit
public IChartComponentFactory.Toolkit getToolkit(java.lang.String windowingToolkit)
-
getFactory
public IChartComponentFactory getFactory()
Description copied from interface:IChartComponentFactoryusefull 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 interfaceIChartComponentFactory
-
-
DMelt 3.0 © DataMelt by jWork.ORG