org.kde.qt
Class QGLContext

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

public class QGLContext
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
protected QGLContext(java.lang.Class dummy)
           
  QGLContext(QGLFormat format)
           
  QGLContext(QGLFormat format, QPaintDeviceInterface device)
           
 
Method Summary
protected  boolean chooseContext()
           
protected  boolean chooseContext(QGLContext shareContext)
           
protected  int colorIndex(QColor c)
           
 boolean create()
           
 boolean create(QGLContext shareContext)
           
static QGLContext currentContext()
           
 QPaintDeviceInterface device()
           
protected  boolean deviceIsPixmap()
           
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
protected  void doneCurrent()
           
protected  void finalize()
          Deletes the wrapped C++ instance
 QGLFormat format()
           
protected  void generateFontDisplayLists(QFont fnt, int listBase)
           
protected  boolean initialized()
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 boolean isSharing()
           
 boolean isValid()
           
 void makeCurrent()
           
 QColor overlayTransparentColor()
           
 QGLFormat requestedFormat()
           
 void reset()
           
protected  void setDevice(QPaintDeviceInterface pDev)
           
 void setFormat(QGLFormat format)
           
protected  void setInitialized(boolean on)
           
protected  void setValid(boolean valid)
           
protected  void setWindowCreated(boolean on)
           
 void swapBuffers()
           
protected  boolean windowCreated()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QGLContext

protected QGLContext(java.lang.Class dummy)

QGLContext

public QGLContext(QGLFormat format,
                  QPaintDeviceInterface device)

QGLContext

public QGLContext(QGLFormat format)
Method Detail

create

public boolean create(QGLContext shareContext)

create

public boolean create()

isValid

public boolean isValid()

isSharing

public boolean isSharing()

reset

public void reset()

format

public QGLFormat format()

requestedFormat

public QGLFormat requestedFormat()

setFormat

public void setFormat(QGLFormat format)

makeCurrent

public void makeCurrent()

swapBuffers

public void swapBuffers()

device

public QPaintDeviceInterface device()

overlayTransparentColor

public QColor overlayTransparentColor()

currentContext

public static QGLContext currentContext()

chooseContext

protected boolean chooseContext(QGLContext shareContext)

chooseContext

protected boolean chooseContext()

doneCurrent

protected void doneCurrent()

deviceIsPixmap

protected boolean deviceIsPixmap()

windowCreated

protected boolean windowCreated()

setWindowCreated

protected void setWindowCreated(boolean on)

initialized

protected boolean initialized()

setInitialized

protected void setInitialized(boolean on)

generateFontDisplayLists

protected void generateFontDisplayLists(QFont fnt,
                                        int listBase)

colorIndex

protected int colorIndex(QColor c)

setValid

protected void setValid(boolean valid)

setDevice

protected void setDevice(QPaintDeviceInterface pDev)

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