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.Compositecanvas-
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 Chartchart(org.eclipse.swt.widgets.Composite parent)static Chartchart(org.eclipse.swt.widgets.Composite parent, Quality quality)org.eclipse.swt.widgets.CompositegetComposite()IChartFactorygetFactory()usefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factoryNativeAnimatornewAnimator(com.jogamp.newt.opengl.GLWindow canvas)Dedicated toCanvasNewtSWTimplementation.ChartnewChart(IChartFactory factory, Quality quality)ViewnewView(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:
newChartin interfaceIChartFactory- Overrides:
newChartin classChartFactory
-
newAnimator
public NativeAnimator newAnimator(com.jogamp.newt.opengl.GLWindow canvas)
Dedicated toCanvasNewtSWTimplementation.
-
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:
newViewin interfaceIChartFactory- Overrides:
newViewin classChartFactory
-
getFactory
public IChartFactory getFactory()
Description copied from interface:IChartFactoryusefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factory- Specified by:
getFactoryin interfaceIChartFactory- Overrides:
getFactoryin classChartFactory
-
-