public class SWTChartComponentFactory extends ChartComponentFactory
IChartComponentFactory.Toolkit
SCREENSHOT_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, newView
public static Chart chart(org.eclipse.swt.widgets.Composite parent)
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 org.eclipse.swt.widgets.Composite getComposite()
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(IChartComponentFactory factory, 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()
getFactory
in interface IChartComponentFactory
getFactory
in class ChartComponentFactory
public ICameraMouseController newMouseCameraController(Chart chart)
newMouseCameraController
in interface IChartComponentFactory
newMouseCameraController
in class ChartComponentFactory
public IMousePickingController newMousePickingController(Chart chart, int clickWidth)
newMousePickingController
in interface IChartComponentFactory
newMousePickingController
in class ChartComponentFactory
public IScreenshotKeyController newKeyboardScreenshotController(Chart chart)
IScreenshotKeyController.setFilename(String)
.newKeyboardScreenshotController
in interface IChartComponentFactory
newKeyboardScreenshotController
in class ChartComponentFactory
public ICameraKeyController newKeyboardCameraController(Chart chart)
newKeyboardCameraController
in interface IChartComponentFactory
newKeyboardCameraController
in class ChartComponentFactory
public IFrame newFrame(Chart chart, Rectangle bounds, String title)
newFrame
in interface IChartComponentFactory
newFrame
in class ChartComponentFactory
Copyright © 2021. All rights reserved.