Package org.jzy3d.chart.factories
Class SWTPainterFactory
- java.lang.Object
-
- org.jzy3d.chart.factories.NativePainterFactory
-
- org.jzy3d.chart.factories.SWTPainterFactory
-
- All Implemented Interfaces:
IPainterFactory
- Direct Known Subclasses:
SWTBridgePainterFactory
public class SWTPainterFactory extends NativePainterFactory 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 SWTPainterFactory()
SWTPainterFactory(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)
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)
Renderer3d
newRenderer3D(View view)
Provide AWT Texture loading for screenshotsIViewOverlay
newViewOverlay()
IViewportLayout
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, newPainter, newSymbolHandler, setChartFactory, setDebugGL, setOffscreen, setOffscreen, setOffscreenDisabled
-
-
-
-
Field Detail
-
SCREENSHOT_FOLDER
public static String SCREENSHOT_FOLDER
-
-
Method Detail
-
newViewOverlay
public IViewOverlay newViewOverlay()
- Specified by:
newViewOverlay
in interfaceIPainterFactory
-
newViewportLayout
public IViewportLayout newViewportLayout()
- Specified by:
newViewportLayout
in interfaceIPainterFactory
-
newRenderer3D
public Renderer3d newRenderer3D(View view)
Provide AWT Texture loading for screenshots- Overrides:
newRenderer3D
in classNativePainterFactory
-
newCanvas
public ICanvas newCanvas(IChartFactory factory, Scene scene, Quality quality)
- Specified by:
newCanvas
in interfaceIPainterFactory
-
newMouseCameraController
public ICameraMouseController newMouseCameraController(Chart chart)
- Specified by:
newMouseCameraController
in interfaceIPainterFactory
-
newMousePickingController
public IMousePickingController newMousePickingController(Chart chart, int clickWidth)
- Specified by:
newMousePickingController
in interfaceIPainterFactory
-
newKeyboardScreenshotController
public IScreenshotKeyController newKeyboardScreenshotController(Chart chart)
Output file of screenshot can be configured usingIScreenshotKeyController.setFilename(String)
.- Specified by:
newKeyboardScreenshotController
in interfaceIPainterFactory
-
newKeyboardCameraController
public ICameraKeyController newKeyboardCameraController(Chart chart)
- Specified by:
newKeyboardCameraController
in interfaceIPainterFactory
-
newFrame
public IFrame newFrame(Chart chart, Rectangle bounds, String title)
- Specified by:
newFrame
in interfaceIPainterFactory
-
newFrame
public IFrame newFrame(Chart chart)
- Specified by:
newFrame
in interfaceIPainterFactory
-
-