public class ChartComponentFactory extends Object implements IChartComponentFactory
IChartComponentFactory
returns non-displayable charts.for a working implementation
IChartComponentFactory.Toolkit
Modifier and Type | Field and Description |
---|---|
static String |
SCREENSHOT_FOLDER |
Constructor and Description |
---|
ChartComponentFactory() |
Modifier and Type | Method and Description |
---|---|
static Chart |
chart(Quality quality,
IChartComponentFactory.Toolkit toolkit) |
protected Dimension |
getCanvasDimension(String windowingToolkit) |
IChartComponentFactory |
getFactory()
usefull to override the current factory to call, especially for FactoryOverrider
that must be used as this instead of its wrapped delegate factory
|
IChartComponentFactory.Toolkit |
getToolkit(String windowingToolkit) |
IAxe |
newAxe(BoundingBox3d box,
View view) |
IBoundingPolicy |
newBoundingPolicy() |
Camera |
newCamera(Coord3d center) |
ICanvas |
newCanvas(IChartComponentFactory factory,
Scene scene,
Quality quality,
String windowingToolkit,
com.jogamp.opengl.GLCapabilities capabilities) |
ICanvas |
newCanvas(Scene scene,
Quality quality,
String windowingToolkit,
com.jogamp.opengl.GLCapabilities capabilities) |
protected ICanvas |
newCanvasAWT(IChartComponentFactory chartComponentFactory,
Scene scene,
Quality quality,
com.jogamp.opengl.GLCapabilities capabilities,
boolean traceGL,
boolean debugGL) |
protected ICanvas |
newCanvasSwing(IChartComponentFactory chartComponentFactory,
Scene scene,
Quality quality,
com.jogamp.opengl.GLCapabilities capabilities,
boolean traceGL,
boolean debugGL) |
Chart |
newChart(IChartComponentFactory factory,
Quality quality,
String toolkit) |
Chart |
newChart(Quality quality,
IChartComponentFactory.Toolkit toolkit) |
Chart |
newChart(Quality quality,
String toolkit) |
IFrame |
newFrame(Chart chart) |
IFrame |
newFrame(Chart chart,
Rectangle bounds,
String title)
Use reflexion to access AWT dependant classes.
|
protected IFrame |
newFrameAWT(Chart chart,
Rectangle bounds,
String title,
String message) |
protected IFrame |
newFrameSwing(Chart chart,
Rectangle bounds,
String title) |
Graph |
newGraph(Scene scene,
AbstractOrderingStrategy strategy,
boolean sort) |
ICameraKeyController |
newKeyController(Chart chart) |
ICameraMouseController |
newMouseController(Chart chart) |
AbstractOrderingStrategy |
newOrderingStrategy() |
Renderer3d |
newRenderer(View view) |
Renderer3d |
newRenderer(View view,
boolean traceGL,
boolean debugGL) |
ChartScene |
newScene(boolean sort) |
IScreenshotKeyController |
newScreenshotKeyController(Chart chart) |
Serie2d |
newSerie(String name,
Serie2d.Type type) |
View |
newView(Scene scene,
ICanvas canvas,
Quality quality) |
IViewportLayout |
newViewportLayout() |
public static String SCREENSHOT_FOLDER
public static Chart chart(Quality quality, IChartComponentFactory.Toolkit toolkit)
public Chart newChart(Quality quality, IChartComponentFactory.Toolkit toolkit)
newChart
in interface IChartComponentFactory
public Chart newChart(Quality quality, String toolkit)
newChart
in interface IChartComponentFactory
public Chart newChart(IChartComponentFactory factory, Quality quality, String toolkit)
newChart
in interface IChartComponentFactory
public ChartScene newScene(boolean sort)
newScene
in interface IChartComponentFactory
public Graph newGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)
newGraph
in interface IChartComponentFactory
public View newView(Scene scene, ICanvas canvas, Quality quality)
newView
in interface IChartComponentFactory
public Camera newCamera(Coord3d center)
newCamera
in interface IChartComponentFactory
public IAxe newAxe(BoundingBox3d box, View view)
newAxe
in interface IChartComponentFactory
public Renderer3d newRenderer(View view, boolean traceGL, boolean debugGL)
newRenderer
in interface IChartComponentFactory
public Renderer3d newRenderer(View view)
newRenderer
in interface IChartComponentFactory
public AbstractOrderingStrategy newOrderingStrategy()
newOrderingStrategy
in interface IChartComponentFactory
public IBoundingPolicy newBoundingPolicy()
newBoundingPolicy
in interface IChartComponentFactory
public Serie2d newSerie(String name, Serie2d.Type type)
newSerie
in interface IChartComponentFactory
public ICameraMouseController newMouseController(Chart chart)
newMouseController
in interface IChartComponentFactory
public IScreenshotKeyController newScreenshotKeyController(Chart chart)
newScreenshotKeyController
in interface IChartComponentFactory
public ICameraKeyController newKeyController(Chart chart)
newKeyController
in interface IChartComponentFactory
public IViewportLayout newViewportLayout()
newViewportLayout
in interface IChartComponentFactory
public IFrame newFrame(Chart chart)
newFrame
in interface IChartComponentFactory
public IFrame newFrame(Chart chart, Rectangle bounds, String title)
newFrame
in interface IChartComponentFactory
public ICanvas newCanvas(Scene scene, Quality quality, String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)
newCanvas
in interface IChartComponentFactory
public ICanvas newCanvas(IChartComponentFactory factory, Scene scene, Quality quality, String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)
newCanvas
in interface IChartComponentFactory
protected IFrame newFrameAWT(Chart chart, Rectangle bounds, String title, String message)
protected ICanvas newCanvasSwing(IChartComponentFactory chartComponentFactory, Scene scene, Quality quality, com.jogamp.opengl.GLCapabilities capabilities, boolean traceGL, boolean debugGL)
protected ICanvas newCanvasAWT(IChartComponentFactory chartComponentFactory, Scene scene, Quality quality, com.jogamp.opengl.GLCapabilities capabilities, boolean traceGL, boolean debugGL)
public IChartComponentFactory.Toolkit getToolkit(String windowingToolkit)
public IChartComponentFactory getFactory()
IChartComponentFactory
getFactory
in interface IChartComponentFactory
Copyright © 2016. All rights reserved.