#include <JQDesktopBridge.h>
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. |
jobject JQDesktopBridge::getScreenSize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Returns the screen size.
env | the JNIEnv pointer | |
cls | the JQDesktop class |
int JQDesktopBridge::getScreenResolution | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Returns screen resolution.
env | the JNIEnv pointer | |
cls | the QSwing class |
jobject JQDesktopBridge::getDesktopBounds | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Returns desktop bounds.
env | the JNIEnv pointer | |
cls | the java class |
jobject JQDesktopBridge::takeScreenshot | ( | JNIEnv * | env, | |
jclass | cls, | |||
jlong | componentBridge, | |||
jstring | imageFormat | |||
) | [static] |
Returns screen shot of the specified component.
env | the JNIEnv pointer | |
cls | the JQDesktop class | |
componentBridge | the component bridge | |
imageFormat | the image format |