Class SWTBridgePainterFactory
- java.lang.Object
-
- org.jzy3d.chart.factories.NativePainterFactory
-
- org.jzy3d.chart.factories.SWTPainterFactory
-
- org.jzy3d.chart.factories.bridged.SWTBridgePainterFactory
-
- All Implemented Interfaces:
IPainterFactory
public class SWTBridgePainterFactory extends SWTPainterFactory implements IPainterFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
SCREENSHOT_FOLDER
-
Fields inherited from class org.jzy3d.chart.factories.NativePainterFactory
capabilities, chartFactory, debugGL, height, offscreen, traceGL, width
-
-
Constructor Summary
Constructors Constructor Description SWTBridgePainterFactory()
SWTBridgePainterFactory(com.jogamp.opengl.GLCapabilities capabilities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICanvas
newCanvas(IChartFactory factory, Scene scene, Quality quality)
IFrame
newFrame(Chart chart, Rectangle bounds, String title)
ICameraKeyController
newKeyboardCameraController(Chart chart)
IScreenshotKeyController
newKeyboardScreenshotController(Chart chart)
Output file of screenshot can be configured usingIScreenshotKeyController.setFilename(String)
.ICameraMouseController
newMouseCameraController(Chart chart)
IMousePickingController
newMousePickingController(Chart chart, int clickWidth)
-
Methods inherited from class org.jzy3d.chart.factories.SWTPainterFactory
newFrame, newRenderer3D, newViewOverlay, newViewportLayout
-
Methods inherited from class org.jzy3d.chart.factories.NativePainterFactory
detectGLProfile, getCapabilities, getChartFactory, getDefaultCapabilities, getOffscreenCapabilities, getOffscreenDimension, isDebugGL, isOffscreen, isTraceGL, newAnimator, newPainter, newSymbolHandler, setChartFactory, setDebugGL, setOffscreen, setOffscreen, setOffscreenDisabled, setTraceGL
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jzy3d.chart.factories.IPainterFactory
getChartFactory, getOffscreenDimension, isDebugGL, isOffscreen, newAnimator, newFrame, newPainter, newSymbolHandler, newViewOverlay, newViewportLayout, setChartFactory, setDebugGL, setOffscreen, setOffscreen, setOffscreenDisabled
-
-
-
-
Field Detail
-
SCREENSHOT_FOLDER
public static String SCREENSHOT_FOLDER
-
-
Method Detail
-
newCanvas
public ICanvas newCanvas(IChartFactory factory, Scene scene, Quality quality)
- Specified by:
newCanvas
in interfaceIPainterFactory
- Overrides:
newCanvas
in classSWTPainterFactory
-
newMouseCameraController
public ICameraMouseController newMouseCameraController(Chart chart)
- Specified by:
newMouseCameraController
in interfaceIPainterFactory
- Overrides:
newMouseCameraController
in classSWTPainterFactory
-
newMousePickingController
public IMousePickingController newMousePickingController(Chart chart, int clickWidth)
- Specified by:
newMousePickingController
in interfaceIPainterFactory
- Overrides:
newMousePickingController
in classSWTPainterFactory
-
newKeyboardScreenshotController
public IScreenshotKeyController newKeyboardScreenshotController(Chart chart)
Output file of screenshot can be configured usingIScreenshotKeyController.setFilename(String)
.- Specified by:
newKeyboardScreenshotController
in interfaceIPainterFactory
- Overrides:
newKeyboardScreenshotController
in classSWTPainterFactory
-
newKeyboardCameraController
public ICameraKeyController newKeyboardCameraController(Chart chart)
- Specified by:
newKeyboardCameraController
in interfaceIPainterFactory
- Overrides:
newKeyboardCameraController
in classSWTPainterFactory
-
newFrame
public IFrame newFrame(Chart chart, Rectangle bounds, String title)
- Specified by:
newFrame
in interfaceIPainterFactory
- Overrides:
newFrame
in classSWTPainterFactory
-
-