org.jzy3d.chart.factories
Class AWTChartComponentFactory

java.lang.Object
  extended by org.jzy3d.chart.factories.ChartComponentFactory
      extended by org.jzy3d.chart.factories.AWTChartComponentFactory
All Implemented Interfaces:
IChartComponentFactory
Direct Known Subclasses:
ContourChartComponentFactory, SwingChartComponentFactory

public class AWTChartComponentFactory
extends ChartComponentFactory


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jzy3d.chart.factories.IChartComponentFactory
IChartComponentFactory.Toolkit
 
Field Summary
 
Fields inherited from class org.jzy3d.chart.factories.ChartComponentFactory
SCREENSHOT_FOLDER
 
Constructor Summary
AWTChartComponentFactory()
           
 
Method Summary
static Chart chart(Quality quality)
           
static Chart chart(Quality quality, IChartComponentFactory.Toolkit toolkit)
           
static Chart chart(Quality quality, String toolkit)
           
static Chart chart(String toolkit)
           
protected  Dimension getCanvasDimension(String windowingToolkit)
           
protected  IChartComponentFactory.Toolkit getToolkit(String windowingToolkit)
           
 IAxe newAxe(BoundingBox3d box, View view)
           
 ICanvas newCanvas(Scene scene, Quality quality, String windowingToolkit, javax.media.opengl.GLCapabilities capabilities)
           
protected  ICanvas newCanvasAWT(ChartComponentFactory chartComponentFactory, Scene scene, Quality quality, javax.media.opengl.GLCapabilities capabilities, boolean traceGL, boolean debugGL)
           
protected  ICanvas newCanvasSwing(ChartComponentFactory chartComponentFactory, Scene scene, Quality quality, javax.media.opengl.GLCapabilities capabilities, boolean traceGL, boolean debugGL)
           
 Chart newChart(IChartComponentFactory factory, Quality quality, String toolkit)
           
 IFrame newFrame(Chart chart, Rectangle bounds, String title)
           
protected  IFrame newFrameAWT(Chart chart, Rectangle bounds, String title, String message)
           
protected  IFrame newFrameSwing(Chart chart, Rectangle bounds, String title)
           
 View newView(Scene scene, ICanvas canvas, Quality quality)
           
 IViewportLayout newViewportLayout()
           
 
Methods inherited from class org.jzy3d.chart.factories.ChartComponentFactory
newCamera, newChart, newChart, newKeyController, newMouseController, newOrderingStrategy, newRenderer, newRenderer, newScene, newScreenshotKeyController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTChartComponentFactory

public AWTChartComponentFactory()
Method Detail

chart

public static Chart chart(Quality quality)

chart

public static Chart chart(String toolkit)

chart

public static Chart chart(Quality quality,
                          IChartComponentFactory.Toolkit toolkit)

chart

public static Chart chart(Quality quality,
                          String toolkit)

newChart

public Chart newChart(IChartComponentFactory factory,
                      Quality quality,
                      String toolkit)
Specified by:
newChart in interface IChartComponentFactory
Overrides:
newChart in class ChartComponentFactory

newAxe

public IAxe newAxe(BoundingBox3d box,
                   View view)
Specified by:
newAxe in interface IChartComponentFactory
Overrides:
newAxe in class ChartComponentFactory

newViewportLayout

public IViewportLayout newViewportLayout()
Specified by:
newViewportLayout in interface IChartComponentFactory
Overrides:
newViewportLayout in class ChartComponentFactory

newView

public View newView(Scene scene,
                    ICanvas canvas,
                    Quality quality)
Specified by:
newView in interface IChartComponentFactory
Overrides:
newView in class ChartComponentFactory

newFrame

public IFrame newFrame(Chart chart,
                       Rectangle bounds,
                       String title)
Specified by:
newFrame in interface IChartComponentFactory
Overrides:
newFrame in class ChartComponentFactory

newCanvas

public ICanvas newCanvas(Scene scene,
                         Quality quality,
                         String windowingToolkit,
                         javax.media.opengl.GLCapabilities capabilities)
Specified by:
newCanvas in interface IChartComponentFactory
Overrides:
newCanvas in class ChartComponentFactory

newFrameSwing

protected IFrame newFrameSwing(Chart chart,
                               Rectangle bounds,
                               String title)

newFrameAWT

protected IFrame newFrameAWT(Chart chart,
                             Rectangle bounds,
                             String title,
                             String message)

getToolkit

protected IChartComponentFactory.Toolkit getToolkit(String windowingToolkit)

getCanvasDimension

protected Dimension getCanvasDimension(String windowingToolkit)

newCanvasSwing

protected ICanvas newCanvasSwing(ChartComponentFactory chartComponentFactory,
                                 Scene scene,
                                 Quality quality,
                                 javax.media.opengl.GLCapabilities capabilities,
                                 boolean traceGL,
                                 boolean debugGL)

newCanvasAWT

protected ICanvas newCanvasAWT(ChartComponentFactory chartComponentFactory,
                               Scene scene,
                               Quality quality,
                               javax.media.opengl.GLCapabilities capabilities,
                               boolean traceGL,
                               boolean debugGL)


Copyright © 2013. All rights reserved.