gl4java.drawable
Class SunJDK13GLDrawableFactory

java.lang.Object
  |
  +--gl4java.drawable.GLDrawableFactory
        |
        +--gl4java.drawable.SunJDK13GLDrawableFactory
Direct Known Subclasses:
MacSunJDK13GLDrawableFactory, Win32SunJDK13GLDrawableFactory, X11SunJDK13GLDrawableFactory

public abstract class SunJDK13GLDrawableFactory
extends GLDrawableFactory

A GLDrawableFactory which works with Sun's JDK 1.3 or greater.


Constructor Summary
SunJDK13GLDrawableFactory()
           
 
Method Summary
 GLAnimCanvas createGLAnimCanvas(GLCapabilities capabilities, int width, int height, java.lang.String glName, java.lang.String gluName)
          Create a new GLAnimCanvas given the specified GLCapabilities.
 GLCanvas createGLCanvas(GLCapabilities capabilities, int width, int height, java.lang.String glName, java.lang.String gluName)
          Create a new GLCanvas given the specified GLCapabilities.
 java.awt.GraphicsConfiguration getGraphicsConfiguration(GLCapabilities capabilities)
          Returns the GraphicsConfiguration most closely matching the specified set of GLCapabilities, or null if there was no matching visual.
abstract  java.awt.GraphicsConfiguration getGraphicsConfiguration(GLCapabilities capabilities, java.awt.GraphicsDevice device)
          Returns the GraphicsConfiguration most closely matching the specified set of GLCapabilities and your given device ! Return null if there was no matching visual.
 
Methods inherited from class gl4java.drawable.GLDrawableFactory
createGLAnimCanvas, createGLAnimJPanel, createGLAnimJPanel, createGLCanvas, createGLJPanel, createGLJPanel, getFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunJDK13GLDrawableFactory

public SunJDK13GLDrawableFactory()
Method Detail

createGLAnimCanvas

public GLAnimCanvas createGLAnimCanvas(GLCapabilities capabilities,
                                       int width,
                                       int height,
                                       java.lang.String glName,
                                       java.lang.String gluName)
Description copied from class: GLDrawableFactory
Create a new GLAnimCanvas given the specified GLCapabilities.
Overrides:
createGLAnimCanvas in class GLDrawableFactory
Following copied from class: gl4java.drawable.GLDrawableFactory
Parameters:
capabilities - the requested set of OpenGL capabilities of the canvas
width - the canvas's initial width
height - the canvas's initial height
glName - the name of the GLFunc implementation. If null, the default class will be used
gluName - the name of the GLUFunc implementation. If null, the default class will be used
Returns:
a GLAnimCanvas supporting the set of specified capabilities, or null if there was no matching visual

createGLCanvas

public GLCanvas createGLCanvas(GLCapabilities capabilities,
                               int width,
                               int height,
                               java.lang.String glName,
                               java.lang.String gluName)
Description copied from class: GLDrawableFactory
Create a new GLCanvas given the specified GLCapabilities.
Overrides:
createGLCanvas in class GLDrawableFactory
Following copied from class: gl4java.drawable.GLDrawableFactory
Parameters:
capabilities - the requested set of OpenGL capabilities of the canvas
width - the canvas's initial width
height - the canvas's initial height
glName - the name of the GLFunc implementation. If null, the default class will be used
gluName - the name of the GLUFunc implementation. If null, the default class will be used
Returns:
a GLCanvas supporting the set of specified capabilities, or null if there was no matching visual

getGraphicsConfiguration

public java.awt.GraphicsConfiguration getGraphicsConfiguration(GLCapabilities capabilities)
Returns the GraphicsConfiguration most closely matching the specified set of GLCapabilities, or null if there was no matching visual.
Parameters:
capabilities - the requested set of OpenGL capabilities of the canvas
Returns:
a GraphicsConfiguration supporting the set of specified capabilities, or null if there was no matching visual

getGraphicsConfiguration

public abstract java.awt.GraphicsConfiguration getGraphicsConfiguration(GLCapabilities capabilities,
                                                                        java.awt.GraphicsDevice device)
Returns the GraphicsConfiguration most closely matching the specified set of GLCapabilities and your given device ! Return null if there was no matching visual.
Parameters:
capabilities - the requested set of OpenGL capabilities of the canvas
device - the used GraphicsDevice, e.g. usefull for FullScreen mode !
Returns:
a GraphicsConfiguration supporting the set of specified capabilities, or null if there was no matching visual