#include <GLJQComponentBridge.h>
Public Member Functions | |
void | updateGL (JNIEnv *env) |
Updates GL. | |
QGLWidget * | qGLWidget () const |
Returns QGLWidget adaptee. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes GLJQComponentBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Member Functions | |
GLJQComponentBridge (JNIEnv *env, jobject obj) | |
Constructs new GLJQComponentBridge object. | |
void | callInitializeGL () |
Calls initializeGL method of the JavaQx GLJQComponent object. | |
void | callResizeGL (int width, int height) |
Calls resizeGL method of the JavaQx GLJQComponent object. | |
void | callPaintGL () |
Calls paintGL method of the JavaQx GLJQComponent object. | |
Friends | |
class | QGLWidgetAdapter |
GLJQComponentBridge::GLJQComponentBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new GLJQComponentBridge object.
env | the JNIEnv pointer | |
obj | the GLJQComponent object |
void GLJQComponentBridge::updateGL | ( | JNIEnv * | env | ) |
Updates GL.
env | the JNIEnv pointer |
void GLJQComponentBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes GLJQComponentBridge class.
env | the JNIEnv pointer | |
cls | the GLJQComponent class |
FatalError | if failed |
Reimplemented from JQComponentBridge.
jlong GLJQComponentBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQComponentBridge.
QGLWidget * GLJQComponentBridge::qGLWidget | ( | ) | const [inline] |
Returns QGLWidget adaptee.
void GLJQComponentBridge::callResizeGL | ( | int | width, | |
int | height | |||
) | [inline, protected] |
Calls resizeGL method of the JavaQx GLJQComponent object.
width | the width | |
height | the height |