public interface IScreenCanvas extends ICanvas
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 Animator
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:
ChartComponentFactory.initializeCanvas(...)
Modifier and Type | Method and Description |
---|---|
void |
display() |
com.jogamp.opengl.GLAnimatorControl |
getAnimator() |
addKeyController, addMouseController, dispose, forceRepaint, getDebugInfo, getDrawable, getRenderer, getRendererHeight, getRendererWidth, getView, removeKeyController, removeMouseController, screenshot, screenshot, setPixelScale
Copyright © 2016. All rights reserved.