org.kde.qt
Class QGLFormat

java.lang.Object
  extended by org.kde.qt.QGL
      extended by org.kde.qt.QGLFormat
All Implemented Interfaces:
QtSupport

public class QGLFormat
extends QGL


Field Summary
 
Fields inherited from class org.kde.qt.QGL
AccumBuffer, AlphaChannel, ColorIndex, DepthBuffer, DirectRendering, DoubleBuffer, HasOverlay, IndirectRendering, NoAccumBuffer, NoAlphaChannel, NoDepthBuffer, NoOverlay, NoStencilBuffer, NoStereoBuffers, Rgba, SingleBuffer, StencilBuffer, StereoBuffers
 
Constructor Summary
  QGLFormat()
           
protected QGLFormat(java.lang.Class dummy)
           
  QGLFormat(int options)
           
  QGLFormat(int options, int plane)
           
 
Method Summary
 boolean accum()
           
 boolean alpha()
           
static QGLFormat defaultFormat()
           
static QGLFormat defaultOverlayFormat()
           
 boolean depth()
           
 boolean directRendering()
           
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
 boolean doubleBuffer()
           
protected  void finalize()
          Deletes the wrapped C++ instance
static boolean hasOpenGL()
           
static boolean hasOpenGLOverlays()
           
 boolean hasOverlay()
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 int plane()
           
 boolean rgba()
           
 void setAccum(boolean enable)
           
 void setAlpha(boolean enable)
           
static void setDefaultFormat(QGLFormat f)
           
static void setDefaultOverlayFormat(QGLFormat f)
           
 void setDepth(boolean enable)
           
 void setDirectRendering(boolean enable)
           
 void setDoubleBuffer(boolean enable)
           
 void setOption(int opt)
           
 void setOverlay(boolean enable)
           
 void setPlane(int plane)
           
 void setRgba(boolean enable)
           
 void setStencil(boolean enable)
           
 void setStereo(boolean enable)
           
 boolean stencil()
           
 boolean stereo()
           
 boolean testOption(int opt)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QGLFormat

protected QGLFormat(java.lang.Class dummy)

QGLFormat

public QGLFormat()

QGLFormat

public QGLFormat(int options,
                 int plane)

QGLFormat

public QGLFormat(int options)
Method Detail

doubleBuffer

public boolean doubleBuffer()

setDoubleBuffer

public void setDoubleBuffer(boolean enable)

depth

public boolean depth()

setDepth

public void setDepth(boolean enable)

rgba

public boolean rgba()

setRgba

public void setRgba(boolean enable)

alpha

public boolean alpha()

setAlpha

public void setAlpha(boolean enable)

accum

public boolean accum()

setAccum

public void setAccum(boolean enable)

stencil

public boolean stencil()

setStencil

public void setStencil(boolean enable)

stereo

public boolean stereo()

setStereo

public void setStereo(boolean enable)

directRendering

public boolean directRendering()

setDirectRendering

public void setDirectRendering(boolean enable)

hasOverlay

public boolean hasOverlay()

setOverlay

public void setOverlay(boolean enable)

plane

public int plane()

setPlane

public void setPlane(int plane)

setOption

public void setOption(int opt)

testOption

public boolean testOption(int opt)

defaultFormat

public static QGLFormat defaultFormat()

setDefaultFormat

public static void setDefaultFormat(QGLFormat f)

defaultOverlayFormat

public static QGLFormat defaultOverlayFormat()

setDefaultOverlayFormat

public static void setDefaultOverlayFormat(QGLFormat f)

hasOpenGL

public static boolean hasOpenGL()

hasOpenGLOverlays

public static boolean hasOpenGLOverlays()

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class QGL
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

Overrides:
dispose in class QGL

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

Overrides:
isDisposed in class QGL