public class JavaFXChartFactory extends AWTChartComponentFactory
IChartComponentFactory.Toolkit
Modifier and Type | Field and Description |
---|---|
static String |
SCREENSHOT_FOLDER |
Constructor and Description |
---|
JavaFXChartFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addSceneSizeChangedListener(Chart chart,
javafx.scene.Scene scene) |
void |
bind(javafx.scene.image.ImageView imageView,
AWTChart chart)
Register for renderer notifications with a new JavaFX Image
|
javafx.scene.image.ImageView |
bindImageView(AWTChart chart)
Return an
ImageView from an AWTChart expected to render offscreen
and to use a JavaFXRenderer3d poping Images when the chart is redrawn. |
static Chart |
chart(Quality quality,
String toolkit) |
javafx.scene.image.Image |
getScreenshotAsJavaFXImage(AWTChart chart) |
ICameraKeyController |
newKeyController(Chart chart) |
ICameraMouseController |
newMouseController(Chart chart) |
Renderer3d |
newRenderer(View view,
boolean traceGL,
boolean debugGL) |
IScreenshotKeyController |
newScreenshotKeyController(Chart chart) |
protected void |
resetTo(Chart chart,
double width,
double height) |
chart, chart, chart, chart, getFactory, newAxe, newCanvas, newCanvasAWT, newCanvasSwing, newChart, newFrame, newFrame, newFrameAWT, newFrameSwing, newView, newViewportLayout
getCanvasDimension, getToolkit, newBoundingPolicy, newCamera, newCanvas, newChart, newChart, newFrame, newGraph, newOrderingStrategy, newRenderer, newScene, newSerie
public static String SCREENSHOT_FOLDER
public javafx.scene.image.Image getScreenshotAsJavaFXImage(AWTChart chart)
public javafx.scene.image.ImageView bindImageView(AWTChart chart)
ImageView
from an AWTChart
expected to render offscreen
and to use a JavaFXRenderer3d
poping Images when the chart is redrawn.chart
- public void bind(javafx.scene.image.ImageView imageView, AWTChart chart)
public void addSceneSizeChangedListener(Chart chart, javafx.scene.Scene scene)
protected void resetTo(Chart chart, double width, double height)
public Renderer3d newRenderer(View view, boolean traceGL, boolean debugGL)
newRenderer
in interface IChartComponentFactory
newRenderer
in class AWTChartComponentFactory
public ICameraMouseController newMouseController(Chart chart)
newMouseController
in interface IChartComponentFactory
newMouseController
in class AWTChartComponentFactory
public IScreenshotKeyController newScreenshotKeyController(Chart chart)
newScreenshotKeyController
in interface IChartComponentFactory
newScreenshotKeyController
in class AWTChartComponentFactory
public ICameraKeyController newKeyController(Chart chart)
newKeyController
in interface IChartComponentFactory
newKeyController
in class AWTChartComponentFactory
Copyright © 2016. All rights reserved.