Top Inners Fields Constructors Methods
jogamp.opengl.awt

public Class VersionApplet

extends Applet
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.applet.Applet, java.awt.BorderLayout, .Container, .Frame, .GridLayout, .TextArea, java.awt.event.WindowAdapter, .WindowEvent, java.util.List, com.jogamp.opengl.GLProfile, .GL, .GLAutoDrawable, .GLCapabilities, .GLCapabilitiesImmutable, .GLDrawableFactory, .GLEventListener, .JoglVersion, com.jogamp.opengl.awt.GLCanvas, com.jogamp.common.GlueGenVersion, com.jogamp.common.os.Platform, com.jogamp.common.util.VersionUtil

Deprecated

as a consequence of Applet being deprecated. See corresponding docs for further information.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv class

Field Summary

Modifier and TypeField and Description
pack-priv GLCanvas
pack-priv TextArea
pack-priv TextArea

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
destroy()

Overrides java.applet.Applet.destroy.

Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.
public void
init()

Overrides java.applet.Applet.init.

Called by the browser or applet viewer to inform this applet that it has been loaded into the system.
public static void
main(final String[] args)

private synchronized void
private synchronized void
public void
start()

Overrides java.applet.Applet.start.

Called by the browser or applet viewer to inform this applet that it should start its execution.
public void
stop()

Overrides java.applet.Applet.stop.

Called by the browser or applet viewer to inform this applet that it should stop its execution.
Inherited from java.applet.Applet:
getAccessibleContextgetAppletContextgetAppletInfogetAudioClipgetAudioClipgetCodeBasegetDocumentBasegetImagegetImagegetLocalegetParametergetParameterInfoisActiveisValidateRootnewAudioClipplayplayresizeresizesetStubshowStatus

Field Detail

canvasback to summary
pack-priv GLCanvas canvas
tareaCapsback to summary
pack-priv TextArea tareaCaps
tareaVersionback to summary
pack-priv TextArea tareaVersion

Constructor Detail

VersionAppletback to summary
public VersionApplet()

Method Detail

destroyback to summary
public void destroy()

Overrides java.applet.Applet.destroy.

Doc from java.applet.Applet.destroy.

Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated. The stop method will always be called before destroy.

A subclass of Applet should override this method if it has any operation that it wants to perform before it is destroyed. For example, an applet with threads would use the init method to create the threads and the destroy method to kill them.

The implementation of this method provided by the Applet class does nothing.

Annotations
@Override
initback to summary
public void init()

Overrides java.applet.Applet.init.

Doc from java.applet.Applet.init.

Called by the browser or applet viewer to inform this applet that it has been loaded into the system. It is always called before the first time that the start method is called.

A subclass of Applet should override this method if it has initialization to perform. For example, an applet with threads would use the init method to create the threads and the destroy method to kill them.

The implementation of this method provided by the Applet class does nothing.

Annotations
@Override
mainback to summary
public static void main(final String[] args)
my_initback to summary
private synchronized void my_init()
my_releaseback to summary
private synchronized void my_release()
startback to summary
public void start()

Overrides java.applet.Applet.start.

Doc from java.applet.Applet.start.

Called by the browser or applet viewer to inform this applet that it should start its execution. It is called after the init method and each time the applet is revisited in a Web page.

A subclass of Applet should override this method if it has any operation that it wants to perform each time the Web page containing it is visited. For example, an applet with animation might want to use the start method to resume animation, and the stop method to suspend the animation.

Note

some methods, such as getLocationOnScreen, can only provide meaningful results if the applet is showing. Because isShowing returns false when the applet's start is first called, methods requiring isShowing to return true should be called from a ComponentListener.

The implementation of this method provided by the Applet class does nothing.

Annotations
@Override
stopback to summary
public void stop()

Overrides java.applet.Applet.stop.

Doc from java.applet.Applet.stop.

Called by the browser or applet viewer to inform this applet that it should stop its execution. It is called when the Web page that contains this applet has been replaced by another page, and also just before the applet is to be destroyed.

A subclass of Applet should override this method if it has any operation that it wants to perform each time the Web page containing it is no longer visible. For example, an applet with animation might want to use the start method to resume animation, and the stop method to suspend the animation.

The implementation of this method provided by the Applet class does nothing.

Annotations
@Override
jogamp.opengl.awt back to summary

pack-priv Class VersionApplet.ClosingWindowAdapter

extends WindowAdapter
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv Frame
f

pack-priv VersionApplet
va

Deprecated as a consequence of VersionApplet being deprecated.

Constructor Summary

AccessConstructor and Description
public
ClosingWindowAdapter(final Frame f, final VersionApplet va)

Deprecated as a consequence of VersionApplet being deprecated.

Method Summary

Modifier and TypeMethod and Description
public void
windowClosing(final WindowEvent
the event to be processed
ev
)

Overrides java.awt.event.WindowAdapter.windowClosing.

Implements java.awt.event.WindowListener.windowClosing.

Invoked when a window is in the process of being closed.
Inherited from java.awt.event.WindowAdapter:
windowActivatedwindowClosedwindowDeactivatedwindowDeiconifiedwindowGainedFocuswindowIconifiedwindowLostFocuswindowOpenedwindowStateChanged

Field Detail

fback to summary
pack-priv Frame f
vaback to summary
pack-priv VersionApplet va

Deprecated

as a consequence of VersionApplet being deprecated. See corresponding docs for further information.

Constructor Detail

ClosingWindowAdapterback to summary
public ClosingWindowAdapter(final Frame f, final VersionApplet va)

Deprecated

as a consequence of VersionApplet being deprecated. See corresponding docs for further information.

Method Detail

windowClosingback to summary
public void windowClosing(final WindowEvent ev)

Overrides java.awt.event.WindowAdapter.windowClosing.

Implements java.awt.event.WindowListener.windowClosing.

Doc from java.awt.event.WindowAdapter.windowClosing.

Invoked when a window is in the process of being closed. The close operation can be overridden at this point.

Parameters
ev:WindowEvent

Doc from java.awt.event.WindowListener.windowClosing.

the event to be processed

Annotations
@Override
jogamp.opengl.awt back to summary

pack-priv Class VersionApplet.GLInfo

extends Object
implements GLEventListener
Class Inheritance
All Implemented Interfaces
com.jogamp.opengl.GLEventListener, java.util.EventListener

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
display(final GLAutoDrawable drawable)

Implements com.jogamp.opengl.GLEventListener.display.

Called by the drawable to initiate OpenGL rendering by the client.
public void
dispose(final GLAutoDrawable drawable)

Implements com.jogamp.opengl.GLEventListener.dispose.

Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs.
public void
init(final GLAutoDrawable drawable)

Implements com.jogamp.opengl.GLEventListener.init.

Called by the drawable immediately after the OpenGL context is initialized.
public void
reshape(final GLAutoDrawable
the triggering GLAutoDrawable
drawable
,
final int
viewport x-coord in pixel units
x
,
final int
viewport y-coord in pixel units
y
,
final int
viewport width in pixel units
width
,
final int
viewport height in pixel units
height
)

Implements com.jogamp.opengl.GLEventListener.reshape.

Called by the drawable during the first repaint after the component has been resized.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLInfoback to summary
pack-priv GLInfo()

Method Detail

displayback to summary
public void display(final GLAutoDrawable drawable)

Implements com.jogamp.opengl.GLEventListener.display.

Doc from com.jogamp.opengl.GLEventListener.display.

Called by the drawable to initiate OpenGL rendering by the client. After all GLEventListeners have been notified of a display event, the drawable will swap its buffers if setAutoSwapBufferMode is enabled.

Annotations
@Override
disposeback to summary
public void dispose(final GLAutoDrawable drawable)

Implements com.jogamp.opengl.GLEventListener.dispose.

Doc from com.jogamp.opengl.GLEventListener.dispose.

Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs.

Called by the drawable before the OpenGL context is destroyed by an external event, like a reconfiguration of the GLAutoDrawable closing an attached window, but also manually by calling destroy.

Note that this event does not imply the end of life of the application. It could be produced with a followup call to init(GLAutoDrawable) in case the GLContext has been recreated, e.g. due to a pixel configuration change in a multihead environment.

Annotations
@Override
initback to summary
public void init(final GLAutoDrawable drawable)

Implements com.jogamp.opengl.GLEventListener.init.

Doc from com.jogamp.opengl.GLEventListener.init.

Called by the drawable immediately after the OpenGL context is initialized. Can be used to perform one-time OpenGL initialization per GLContext, such as setup of lights and display lists.

Note that this method may be called more than once if the underlying OpenGL context for the GLAutoDrawable is destroyed and recreated, for example if a GLCanvas is removed from the widget hierarchy and later added again.

Annotations
@Override
reshapeback to summary
public void reshape(final GLAutoDrawable drawable, final int x, final int y, final int width, final int height)

Implements com.jogamp.opengl.GLEventListener.reshape.

Doc from com.jogamp.opengl.GLEventListener.reshape.

Called by the drawable during the first repaint after the component has been resized.

The client can update it's viewport associated data and view volume of the window appropriately.

For efficiency the GL viewport has already been updated via glViewport(x, y, width, height) when this method is called.

Parameters
drawable:GLAutoDrawable

the triggering GLAutoDrawable

x:int

viewport x-coord in pixel units

y:int

viewport y-coord in pixel units

width:int

viewport width in pixel units

height:int

viewport height in pixel units

Annotations
@Override