|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
javax.media.opengl.awt.GLJPanel
org.jzy3d.plot3d.rendering.canvas.CanvasSwing
@Deprecated public class CanvasSwing
As of version 0.9.1, CanvasSwing is deprecated as the underlying
extended GLJPanel has several drawbacks:
CanvasNewtAwt instead which is obtained by
building a chart with newt parameter: new Chart("newt")
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Nested classes/interfaces inherited from interface javax.media.nativewindow.WindowClosingProtocol |
|---|
javax.media.nativewindow.WindowClosingProtocol.WindowClosingMode |
| Field Summary | |
|---|---|
protected com.jogamp.opengl.util.Animator |
animator
Deprecated. |
protected Renderer3d |
renderer
Deprecated. |
protected View |
view
Deprecated. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.media.opengl.GLAutoDrawable |
|---|
SCREEN_CHANGE_ACTION_ENABLED |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CanvasSwing(IChartComponentFactory factory,
Scene scene,
Quality quality)
Deprecated. |
|
CanvasSwing(IChartComponentFactory factory,
Scene scene,
Quality quality,
javax.media.opengl.GLCapabilitiesImmutable glci)
Deprecated. Initialize a Canvas3d attached to a Scene, with a given rendering
Quality. |
|
CanvasSwing(IChartComponentFactory factory,
Scene scene,
Quality quality,
javax.media.opengl.GLCapabilitiesImmutable glci,
boolean traceGL,
boolean debugGL)
Deprecated. Initialize a Canvas3d attached to a Scene, with a given rendering
Quality. |
|
| Method Summary | |
|---|---|
void |
addKeyController(Object o)
Deprecated. A generic interface for mouse listener to remain Windowing toolkit independant. * Implementation of this method should simply cast the input assuming it will correspond to canvas-compatible mouse listener. |
void |
addMouseController(Object o)
Deprecated. A generic interface for mouse listener to remain Windowing toolkit independant. * Implementation of this method should simply cast the input assuming it will correspond to canvas-compatible mouse listener. |
void |
dispose()
Deprecated. Performs all required cleanup when destroying a Canvas. |
void |
forceRepaint()
Deprecated. Force repaint and ensure that GL2 rendering will occur in the GUI thread, wherever the caller stands. |
String |
getDebugInfo()
Deprecated. |
javax.media.opengl.GLDrawable |
getDrawable()
Deprecated. Returns the GLDrawable associated with the canvas |
Renderer3d |
getRenderer()
Deprecated. |
int |
getRendererHeight()
Deprecated. Provide the actual renderer height for the open gl camera settings, which is obtained after a resize event. |
int |
getRendererWidth()
Deprecated. Provide the actual renderer width for the open gl camera settings, which is obtained after a resize event. |
View |
getView()
Deprecated. Provide a reference to the View that renders into this canvas. |
void |
removeKeyController(Object o)
Deprecated. A generic interface for key listener to remain Windowing toolkit independant. * Implementation of this method should simply cast the input assuming it will correspond to canvas-compatible key listener. |
void |
removeMouseController(Object o)
Deprecated. A generic interface for key listener to remain Windowing toolkit independant. * Implementation of this method should simply cast the input assuming it will correspond to canvas-compatible key listener. |
com.jogamp.opengl.util.texture.TextureData |
screenshot()
Deprecated. Returns an image with the current renderer's size |
com.jogamp.opengl.util.texture.TextureData |
screenshot(File file)
Deprecated. |
| Methods inherited from class javax.media.opengl.awt.GLJPanel |
|---|
addGLEventListener, addGLEventListener, addNotify, createContext, destroy, display, getAnimator, getAutoSwapBufferMode, getChosenGLCapabilities, getContext, getContextCreationFlags, getDefaultCloseOperation, getDelegatedDrawable, getFactory, getGL, getGLProfile, getHandle, getNativeSurface, getThreadName, getUpstreamWidget, invoke, isRealized, paintComponent, removeGLEventListener, removeGLEventListener, removeNotify, reshape, setAnimator, setAutoSwapBufferMode, setContext, setContextCreationFlags, setDefaultCloseOperation, setGL, setOpaque, setRealized, shouldPreserveColorBufferIfTranslucent, swapBuffers, toString |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jzy3d.plot3d.rendering.canvas.IScreenCanvas |
|---|
display, getAnimator |
| Methods inherited from interface javax.media.opengl.awt.AWTGLAutoDrawable |
|---|
repaint, setSize |
| Methods inherited from interface javax.media.opengl.GLDrawable |
|---|
getHeight, getWidth |
| Methods inherited from interface javax.media.opengl.awt.ComponentEvents |
|---|
addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
protected View view
protected Renderer3d renderer
protected com.jogamp.opengl.util.Animator animator
| Constructor Detail |
|---|
public CanvasSwing(IChartComponentFactory factory,
Scene scene,
Quality quality)
public CanvasSwing(IChartComponentFactory factory,
Scene scene,
Quality quality,
javax.media.opengl.GLCapabilitiesImmutable glci)
Scene, with a given rendering
Quality.
public CanvasSwing(IChartComponentFactory factory,
Scene scene,
Quality quality,
javax.media.opengl.GLCapabilitiesImmutable glci,
boolean traceGL,
boolean debugGL)
Scene, with a given rendering
Quality.
| Method Detail |
|---|
public void dispose()
ICanvas
dispose in interface ICanvasdispose in class javax.media.opengl.awt.GLJPanelpublic void forceRepaint()
forceRepaint in interface ICanvas
public com.jogamp.opengl.util.texture.TextureData screenshot(File file)
throws IOException
screenshot in interface ICanvasIOExceptionpublic com.jogamp.opengl.util.texture.TextureData screenshot()
ICanvas
screenshot in interface ICanvaspublic javax.media.opengl.GLDrawable getDrawable()
ICanvas
getDrawable in interface ICanvaspublic View getView()
getView in interface ICanvaspublic int getRendererWidth()
getRendererWidth in interface ICanvaspublic int getRendererHeight()
getRendererHeight in interface ICanvaspublic Renderer3d getRenderer()
getRenderer in interface ICanvaspublic String getDebugInfo()
getDebugInfo in interface ICanvaspublic void addMouseController(Object o)
ICanvas
addMouseController in interface ICanvaspublic void addKeyController(Object o)
ICanvas
addKeyController in interface ICanvaspublic void removeMouseController(Object o)
ICanvas
removeMouseController in interface ICanvaspublic void removeKeyController(Object o)
ICanvas
removeKeyController in interface ICanvas
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||