JQDesktopBridge Class Reference

JQDesktop Bridge. More...

#include <JQDesktopBridge.h>

List of all members.

Static Public Member Functions

static jobject getScreenSize (JNIEnv *env, jclass cls)
 Returns the screen size.
static int getScreenResolution (JNIEnv *env, jclass cls)
 Returns screen resolution.
static jobject getDesktopBounds (JNIEnv *env, jclass cls)
 Returns desktop bounds.
static jobject takeScreenshot (JNIEnv *env, jclass cls, jlong componentBridge, jstring imageFormat)
 Returns screen shot of the specified component.


Detailed Description

JQDesktop Bridge.

Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)
Version:
0.2.0

Member Function Documentation

jobject JQDesktopBridge::getScreenSize ( JNIEnv *  env,
jclass  cls 
) [static]

Returns the screen size.

Parameters:
env the JNIEnv pointer
cls the JQDesktop class
Returns:
the screen size

int JQDesktopBridge::getScreenResolution ( JNIEnv *  env,
jclass  cls 
) [static]

Returns screen resolution.

Parameters:
env the JNIEnv pointer
cls the QSwing class
Returns:
screen resolution

jobject JQDesktopBridge::getDesktopBounds ( JNIEnv *  env,
jclass  cls 
) [static]

Returns desktop bounds.

Parameters:
env the JNIEnv pointer
cls the java class
Returns:
desktop bounds

jobject JQDesktopBridge::takeScreenshot ( JNIEnv *  env,
jclass  cls,
jlong  componentBridge,
jstring  imageFormat 
) [static]

Returns screen shot of the specified component.

Parameters:
env the JNIEnv pointer
cls the JQDesktop class
componentBridge the component bridge
imageFormat the image format
Returns:
screen shot of the specified component


Copyright © 2007 ETF and contributors. All Rights Reserved.