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 StringSCREENSHOT_FOLDER-
Fields inherited from class org.jzy3d.chart.factories.NativePainterFactory
capabilities, chartFactory, height, offscreen, 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 ICanvasnewCanvas(IChartFactory factory, Scene scene, Quality quality)IFramenewFrame(Chart chart)IFramenewFrame(Chart chart, Rectangle bounds, String title)ICameraKeyControllernewKeyboardCameraController(Chart chart)IScreenshotKeyControllernewKeyboardScreenshotController(Chart chart)Output file of screenshot can be configured usingIScreenshotKeyController.setFilename(String).ICameraMouseControllernewMouseCameraController(Chart chart)IMousePickingControllernewMousePickingController(Chart chart, int clickWidth)Renderer3dnewRenderer3D(View view, boolean traceGL, boolean debugGL)Provide AWT Texture loading for screenshotsIViewOverlaynewViewOverlay()IViewportLayoutnewViewportLayout()-
Methods inherited from class org.jzy3d.chart.factories.NativePainterFactory
detectGLProfile, getCapabilities, getChartFactory, getOffscreenCapabilities, getOffscreenDimension, isOffscreen, newAnimator, newPainter, newRenderer3D, newSymbolHandler, setChartFactory, setOffscreen, setOffscreen, setOffscreenDisabled
-
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, isOffscreen, newAnimator, newPainter, newSymbolHandler, setChartFactory, setOffscreen, setOffscreen, setOffscreenDisabled
-
-
-
-
Field Detail
-
SCREENSHOT_FOLDER
public static String SCREENSHOT_FOLDER
-
-
Method Detail
-
newViewOverlay
public IViewOverlay newViewOverlay()
- Specified by:
newViewOverlayin interfaceIPainterFactory
-
newViewportLayout
public IViewportLayout newViewportLayout()
- Specified by:
newViewportLayoutin interfaceIPainterFactory
-
newRenderer3D
public Renderer3d newRenderer3D(View view, boolean traceGL, boolean debugGL)
Provide AWT Texture loading for screenshots- Overrides:
newRenderer3Din classNativePainterFactory
-
newCanvas
public ICanvas newCanvas(IChartFactory factory, Scene scene, Quality quality)
- Specified by:
newCanvasin interfaceIPainterFactory
-
newMouseCameraController
public ICameraMouseController newMouseCameraController(Chart chart)
- Specified by:
newMouseCameraControllerin interfaceIPainterFactory
-
newMousePickingController
public IMousePickingController newMousePickingController(Chart chart, int clickWidth)
- Specified by:
newMousePickingControllerin interfaceIPainterFactory
-
newKeyboardScreenshotController
public IScreenshotKeyController newKeyboardScreenshotController(Chart chart)
Output file of screenshot can be configured usingIScreenshotKeyController.setFilename(String).- Specified by:
newKeyboardScreenshotControllerin interfaceIPainterFactory
-
newKeyboardCameraController
public ICameraKeyController newKeyboardCameraController(Chart chart)
- Specified by:
newKeyboardCameraControllerin interfaceIPainterFactory
-
newFrame
public IFrame newFrame(Chart chart, Rectangle bounds, String title)
- Specified by:
newFramein interfaceIPainterFactory
-
newFrame
public IFrame newFrame(Chart chart)
- Specified by:
newFramein interfaceIPainterFactory
-
-