Interface IScreenCanvas
- All Superinterfaces:
ICanvas
- All Known Implementing Classes:
CanvasAWT
,CanvasNewtAwt
,CanvasNewtSWT
,CanvasSwing
,EmulGLCanvas
An
IScreenCanvas
defines a panel into which rendering occurs, and that can be integrated
in an existing GUI. An IScreenCanvas
implementation allows to render 3d content for a
given Windowing toolkit:
CanvasAWT
is a base implementation suitable for AWT, Swing or SWT applications.CanvasNewtAwt
is a new implementation (since 0.9.1) using JOGL's recommended windowing toolkit.CanvasSwing
is a deprecated implementation for Swing (since 0.9.1)
IScreenCanvas
provides access to an IAnimator
instance. This offers the
alternative of repaint-on-demand-model based on Controllers, and repaint-continuously model based
on the Animator (default behaviour).
The actual IScreenCanvas
initialize by a given chart will depend on:
- The Windowing toolkit parameter of the chart (new Chart("awt"))
- The Windowing toolkit parameters supported by
invalid @link
{@link ChartComponentFactory.initializeCanvas(...)
- Author:
- Martin Pernollet
-
Field Summary
Fields inherited from interface org.jzy3d.plot3d.rendering.canvas.ICanvas
ALLOW_WATCH_PIXEL_SCALE, LAST_RENDER_TIME_UNDEFINED
-
Method Summary
Methods inherited from interface org.jzy3d.plot3d.rendering.canvas.ICanvas
addCanvasListener, addKeyController, addMouseController, dispose, forceRepaint, getCanvasListeners, getDebugInfo, getDimension, getLastRenderingTimeMs, getPixelScale, getPixelScaleJVM, getRendererHeight, getRendererWidth, getView, isNative, removeCanvasListener, removeKeyController, removeMouseController, screenshot, screenshot, setPixelScale, setPixelScale
-
Method Details
-
display
void display() -
getAnimation
IAnimator getAnimation()
-