public class SWTChartComponentFactory extends ChartComponentFactory
IChartComponentFactory.ToolkitSCREENSHOT_FOLDER| Modifier and Type | Method and Description |
|---|---|
static Chart |
chart(org.eclipse.swt.widgets.Composite parent) |
static Chart |
chart(org.eclipse.swt.widgets.Composite parent,
Quality quality) |
org.eclipse.swt.widgets.Composite |
getComposite() |
IChartComponentFactory |
getFactory() |
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) |
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 |
newKeyboardCameraController(Chart chart) |
IScreenshotKeyController |
newKeyboardScreenshotController(Chart chart)
Output file of screenshot can be configured using
IScreenshotKeyController.setFilename(String). |
ICameraMouseController |
newMouseCameraController(Chart chart) |
IMousePickingController |
newMousePickingController(Chart chart,
int clickWidth) |
Renderer3d |
newRenderer(View view,
boolean traceGL,
boolean debugGL)
Provide AWT Texture loading for screenshots
|
View |
newView(IChartComponentFactory factory,
Scene scene,
ICanvas canvas,
Quality quality)
The AWTView support Java2d defined components (tooltips, background
images)
|
IViewportLayout |
newViewportLayout() |
chart, getCanvasDimension, getToolkit, newBoundingPolicy, newCamera, newCameraThreadController, newCanvas, newChart, newChart, newFrame, newGraph, newOrderingStrategy, newRenderer, newScene, newSerie, newViewpublic static Chart chart(org.eclipse.swt.widgets.Composite parent)
public Chart newChart(IChartComponentFactory factory, Quality quality, String toolkit)
newChart in interface IChartComponentFactorynewChart in class ChartComponentFactorytoolkit - can be used to indicate "offscreen, 800, 600" and thus replace implicit "awt"public org.eclipse.swt.widgets.Composite getComposite()
public IAxe newAxe(BoundingBox3d box, View view)
newAxe in interface IChartComponentFactorynewAxe in class ChartComponentFactorypublic IViewportLayout newViewportLayout()
newViewportLayout in interface IChartComponentFactorynewViewportLayout in class ChartComponentFactorypublic View newView(IChartComponentFactory factory, Scene scene, ICanvas canvas, Quality quality)
newView in interface IChartComponentFactorynewView in class ChartComponentFactorypublic Renderer3d newRenderer(View view, boolean traceGL, boolean debugGL)
newRenderer in interface IChartComponentFactorynewRenderer in class ChartComponentFactoryprotected IFrame newFrameSwing(Chart chart, Rectangle bounds, String title)
newFrameSwing in class ChartComponentFactoryprotected IFrame newFrameAWT(Chart chart, Rectangle bounds, String title, String message)
newFrameAWT in class ChartComponentFactorypublic ICanvas newCanvas(IChartComponentFactory factory, Scene scene, Quality quality, String windowingToolkit, com.jogamp.opengl.GLCapabilities capabilities)
newCanvas in interface IChartComponentFactorynewCanvas in class ChartComponentFactoryprotected ICanvas newCanvasAWT(IChartComponentFactory chartComponentFactory, Scene scene, Quality quality, com.jogamp.opengl.GLCapabilities capabilities, boolean traceGL, boolean debugGL)
newCanvasAWT in class ChartComponentFactoryprotected ICanvas newCanvasSwing(IChartComponentFactory chartComponentFactory, Scene scene, Quality quality, com.jogamp.opengl.GLCapabilities capabilities, boolean traceGL, boolean debugGL)
newCanvasSwing in class ChartComponentFactorypublic IChartComponentFactory getFactory()
getFactory in interface IChartComponentFactorygetFactory in class ChartComponentFactorypublic ICameraMouseController newMouseCameraController(Chart chart)
newMouseCameraController in interface IChartComponentFactorynewMouseCameraController in class ChartComponentFactorypublic IMousePickingController newMousePickingController(Chart chart, int clickWidth)
newMousePickingController in interface IChartComponentFactorynewMousePickingController in class ChartComponentFactorypublic IScreenshotKeyController newKeyboardScreenshotController(Chart chart)
IScreenshotKeyController.setFilename(String).newKeyboardScreenshotController in interface IChartComponentFactorynewKeyboardScreenshotController in class ChartComponentFactorypublic ICameraKeyController newKeyboardCameraController(Chart chart)
newKeyboardCameraController in interface IChartComponentFactorynewKeyboardCameraController in class ChartComponentFactorypublic IFrame newFrame(Chart chart, Rectangle bounds, String title)
newFrame in interface IChartComponentFactorynewFrame in class ChartComponentFactoryCopyright © 2021. All rights reserved.