public class ChartComponentFactory extends Object implements IChartComponentFactory
IChartComponentFactory returns non-displayable charts.for a working implementationIChartComponentFactory.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 IChartComponentFactorypublic Chart newChart(Quality quality, String toolkit)
newChart in interface IChartComponentFactorypublic Chart newChart(IChartComponentFactory factory, Quality quality, String toolkit)
newChart in interface IChartComponentFactorypublic ChartScene newScene(boolean sort)
newScene in interface IChartComponentFactorypublic Graph newGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)
newGraph in interface IChartComponentFactorypublic View newView(Scene scene, ICanvas canvas, Quality quality)
newView in interface IChartComponentFactorypublic Camera newCamera(Coord3d center)
newCamera in interface IChartComponentFactorypublic IAxe newAxe(BoundingBox3d box, View view)
newAxe in interface IChartComponentFactorypublic Renderer3d newRenderer(View view, boolean traceGL, boolean debugGL)
newRenderer in interface IChartComponentFactorypublic Renderer3d newRenderer(View view)
newRenderer in interface IChartComponentFactorypublic AbstractOrderingStrategy newOrderingStrategy()
newOrderingStrategy in interface IChartComponentFactorypublic IBoundingPolicy newBoundingPolicy()
newBoundingPolicy in interface IChartComponentFactorypublic Serie2d newSerie(String name, Serie2d.Type type)
newSerie in interface IChartComponentFactorypublic ICameraMouseController newMouseController(Chart chart)
newMouseController in interface IChartComponentFactorypublic IScreenshotKeyController newScreenshotKeyController(Chart chart)
newScreenshotKeyController in interface IChartComponentFactorypublic ICameraKeyController newKeyController(Chart chart)
newKeyController in interface IChartComponentFactorypublic IViewportLayout newViewportLayout()
newViewportLayout in interface IChartComponentFactorypublic IFrame newFrame(Chart chart)
newFrame in interface IChartComponentFactorypublic IFrame newFrame(Chart chart, Rectangle bounds, String title)
newFrame in interface IChartComponentFactorypublic ICanvas newCanvas(Scene scene, Quality quality, String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)
newCanvas in interface IChartComponentFactorypublic ICanvas newCanvas(IChartComponentFactory factory, Scene scene, Quality quality, String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)
newCanvas in interface IChartComponentFactoryprotected 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()
IChartComponentFactorygetFactory in interface IChartComponentFactoryCopyright © 2016. All rights reserved.