Package org.jzy3d.chart.factories
Class SWTChartFactory
- java.lang.Object
-
- org.jzy3d.chart.factories.ChartFactory
-
- org.jzy3d.chart.factories.SWTChartFactory
-
- All Implemented Interfaces:
IChartFactory
- Direct Known Subclasses:
SWTBridgeChartFactory
public class SWTChartFactory extends ChartFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.widgets.Composite
canvas
-
Fields inherited from class org.jzy3d.chart.factories.ChartFactory
SCREENSHOT_FOLDER
-
-
Constructor Summary
Constructors Constructor Description SWTChartFactory()
SWTChartFactory(org.eclipse.swt.widgets.Composite canvas)
SWTChartFactory(org.eclipse.swt.widgets.Composite canvas, IPainterFactory painterFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
IChartFactory
getFactory()
usefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factoryNativeAnimator
newAnimator(com.jogamp.newt.opengl.GLWindow canvas)
Dedicated toCanvasNewtSWT
implementation.Chart
newChart(IChartFactory factory, Quality quality)
View
newView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
The AWTView support Java2d defined components (tooltips, background images)-
Methods inherited from class org.jzy3d.chart.factories.ChartFactory
getPainterFactory, newAxe, newBoundingPolicy, newCamera, newCameraThreadController, newChart, newChart, newGraph, newOrderingStrategy, newScene, newSerie, newView, setPainterFactory
-
-
-
-
Constructor Detail
-
SWTChartFactory
public SWTChartFactory()
-
SWTChartFactory
public SWTChartFactory(org.eclipse.swt.widgets.Composite canvas)
-
SWTChartFactory
public SWTChartFactory(org.eclipse.swt.widgets.Composite canvas, IPainterFactory painterFactory)
-
-
Method Detail
-
chart
public static Chart chart(org.eclipse.swt.widgets.Composite parent)
-
newChart
public Chart newChart(IChartFactory factory, Quality quality)
- Specified by:
newChart
in interfaceIChartFactory
- Overrides:
newChart
in classChartFactory
-
newAnimator
public NativeAnimator newAnimator(com.jogamp.newt.opengl.GLWindow canvas)
Dedicated toCanvasNewtSWT
implementation.
-
getComposite
public org.eclipse.swt.widgets.Composite getComposite()
-
newView
public View newView(IChartFactory factory, Scene scene, ICanvas canvas, Quality quality)
The AWTView support Java2d defined components (tooltips, background images)- Specified by:
newView
in interfaceIChartFactory
- Overrides:
newView
in classChartFactory
-
getFactory
public IChartFactory getFactory()
Description copied from interface:IChartFactory
usefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factory- Specified by:
getFactory
in interfaceIChartFactory
- Overrides:
getFactory
in classChartFactory
-
-