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
-
Field Summary
Fields inherited from class org.jzy3d.chart.factories.ChartFactory
SCREENSHOT_FOLDER
-
Constructor Summary
ConstructorDescriptionSWTChartFactory
(org.eclipse.swt.widgets.Composite canvas) SWTChartFactory
(org.eclipse.swt.widgets.Composite canvas, IPainterFactory painterFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic Chart
chart
(org.eclipse.swt.widgets.Composite parent) static Chart
org.eclipse.swt.widgets.Composite
usefull to override the current factory to call, especially for FactoryOverrider that must be used as this instead of its wrapped delegate factorynewAnimator
(com.jogamp.newt.opengl.GLWindow canvas) Dedicated toCanvasNewtSWT
implementation.newChart
(IChartFactory factory, Quality quality) 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
-
Field Details
-
canvas
protected org.eclipse.swt.widgets.Composite canvas
-
-
Constructor Details
-
SWTChartFactory
public SWTChartFactory() -
SWTChartFactory
public SWTChartFactory(org.eclipse.swt.widgets.Composite canvas) -
SWTChartFactory
-
-
Method Details
-
chart
-
chart
-
newChart
- Specified by:
newChart
in interfaceIChartFactory
- Overrides:
newChart
in classChartFactory
-
newAnimator
Dedicated toCanvasNewtSWT
implementation. -
getComposite
public org.eclipse.swt.widgets.Composite getComposite() -
newView
The AWTView support Java2d defined components (tooltips, background images)- Specified by:
newView
in interfaceIChartFactory
- Overrides:
newView
in classChartFactory
-
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
-