public class AWTChartComponentFactory extends ChartComponentFactory
IChartComponentFactory.Toolkit
SCREENSHOT_FOLDER
Constructor and Description |
---|
AWTChartComponentFactory() |
Modifier and Type | Method and Description |
---|---|
static Chart |
chart() |
static Chart |
chart(Quality quality) |
static Chart |
chart(Quality quality,
IChartComponentFactory.Toolkit toolkit) |
static Chart |
chart(Quality quality,
String toolkit) |
static Chart |
chart(String toolkit) |
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
|
IAxe |
newAxe(BoundingBox3d box,
View view) |
ICanvas |
newCanvas(IChartComponentFactory factory,
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)
bypass reflection used in super implementation
|
protected ICanvas |
newCanvasSwing(IChartComponentFactory chartComponentFactory,
Scene scene,
Quality quality,
com.jogamp.opengl.GLCapabilities capabilities,
boolean traceGL,
boolean debugGL)
bypass reflection used in super implementation
|
Chart |
newChart(IChartComponentFactory factory,
Quality quality,
String toolkit) |
IFrame |
newFrame(Chart chart,
Rectangle bounds,
String title)
Use reflexion to access AWT dependant classes.
|
JFrame |
newFrame(JPanel panel) |
protected IFrame |
newFrameAWT(Chart chart,
Rectangle bounds,
String title,
String message)
bypass reflection used in super implementation
|
protected IFrame |
newFrameSwing(Chart chart,
Rectangle bounds,
String title)
bypass reflection used in super implementation
|
ICameraKeyController |
newKeyController(Chart chart) |
ICameraMouseController |
newMouseController(Chart chart) |
Renderer3d |
newRenderer(View view,
boolean traceGL,
boolean debugGL)
Provide AWT Texture loading for screenshots
|
IScreenshotKeyController |
newScreenshotKeyController(Chart chart) |
View |
newView(Scene scene,
ICanvas canvas,
Quality quality)
The AWTView support Java2d defined components (tooltips, background
images)
|
IViewportLayout |
newViewportLayout() |
getCanvasDimension, getToolkit, newBoundingPolicy, newCamera, newCanvas, newChart, newChart, newFrame, newGraph, newOrderingStrategy, newRenderer, newScene, newSerie
public static Chart chart()
public static Chart chart(Quality quality, IChartComponentFactory.Toolkit toolkit)
public Chart newChart(IChartComponentFactory factory, Quality quality, String toolkit)
newChart
in interface IChartComponentFactory
newChart
in class ChartComponentFactory
toolkit
- can be used to indicate "offscreen, 800, 600" and thus replace implicit "awt"public IAxe newAxe(BoundingBox3d box, View view)
newAxe
in interface IChartComponentFactory
newAxe
in class ChartComponentFactory
public IViewportLayout newViewportLayout()
newViewportLayout
in interface IChartComponentFactory
newViewportLayout
in class ChartComponentFactory
public View newView(Scene scene, ICanvas canvas, Quality quality)
newView
in interface IChartComponentFactory
newView
in class ChartComponentFactory
public Renderer3d newRenderer(View view, boolean traceGL, boolean debugGL)
newRenderer
in interface IChartComponentFactory
newRenderer
in class ChartComponentFactory
protected IFrame newFrameSwing(Chart chart, Rectangle bounds, String title)
newFrameSwing
in class ChartComponentFactory
protected IFrame newFrameAWT(Chart chart, Rectangle bounds, String title, String message)
newFrameAWT
in class ChartComponentFactory
public ICanvas newCanvas(IChartComponentFactory factory, Scene scene, Quality quality, String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)
newCanvas
in interface IChartComponentFactory
newCanvas
in class ChartComponentFactory
protected ICanvas newCanvasAWT(IChartComponentFactory chartComponentFactory, Scene scene, Quality quality, com.jogamp.opengl.GLCapabilities capabilities, boolean traceGL, boolean debugGL)
newCanvasAWT
in class ChartComponentFactory
protected ICanvas newCanvasSwing(IChartComponentFactory chartComponentFactory, Scene scene, Quality quality, com.jogamp.opengl.GLCapabilities capabilities, boolean traceGL, boolean debugGL)
newCanvasSwing
in class ChartComponentFactory
public IChartComponentFactory getFactory()
IChartComponentFactory
getFactory
in interface IChartComponentFactory
getFactory
in class ChartComponentFactory
public ICameraMouseController newMouseController(Chart chart)
newMouseController
in interface IChartComponentFactory
newMouseController
in class ChartComponentFactory
public IScreenshotKeyController newScreenshotKeyController(Chart chart)
newScreenshotKeyController
in interface IChartComponentFactory
newScreenshotKeyController
in class ChartComponentFactory
public ICameraKeyController newKeyController(Chart chart)
newKeyController
in interface IChartComponentFactory
newKeyController
in class ChartComponentFactory
public IFrame newFrame(Chart chart, Rectangle bounds, String title)
ChartComponentFactory
newFrame
in interface IChartComponentFactory
newFrame
in class ChartComponentFactory
Copyright © 2016. All rights reserved.