#include <WhatsThisManagerBridge.h>
Static Public Member Functions | |
static void | setEnabled (JNIEnv *env, jclass cls, jboolean enabled) |
Enables/disables <what's this> help. | |
static void | showText (JNIEnv *env, jclass cls, jstring text, jint x, jint y, jlong componentBridge) |
Displays <what's this> help for the specified component. | |
static void | hideText (JNIEnv *env, jclass cls) |
Hides <what's this> help. | |
static jboolean | isInWhatsThisMode (JNIEnv *env, jclass cls) |
Returns true if <what's this> help is active. | |
static void | enterWhatsThisMode (JNIEnv *env, jclass cls) |
Activates <what's this> help. | |
static void | exitWhatsThisMode (JNIEnv *env, jclass cls) |
Deactivates <what's this> help. | |
static bool | whatsThisEnabled () |
Returns true if the whatsThis help is enabled. |
void WhatsThisManagerBridge::setEnabled | ( | JNIEnv * | env, | |
jclass | cls, | |||
jboolean | enabled | |||
) | [static] |
Enables/disables <what's
this> help.
env | the JNIEnv pointer | |
cls | the java class | |
enabled | true if enabled |
void WhatsThisManagerBridge::showText | ( | JNIEnv * | env, | |
jclass | cls, | |||
jstring | text, | |||
jint | x, | |||
jint | y, | |||
jlong | componentBridge | |||
) | [static] |
Displays <what's
this> help for the specified component.
env | the JNIEnv pointer | |
cls | the WhatsThisManager class | |
text | the what's this text | |
x | the x-coordinate of the <what's this> help | |
y | the y-coordinate of the <what's this> help | |
componentBridge | the component bridge pointer |
void WhatsThisManagerBridge::hideText | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Hides <what's
this> help.
env | the JNIEnv pointer | |
cls | the WhatsThisManager class |
jboolean WhatsThisManagerBridge::isInWhatsThisMode | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Returns true
if <what's
this> help is active.
env | the JNIEnv pointer | |
cls | the WhatsThisManager class |
void WhatsThisManagerBridge::enterWhatsThisMode | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Activates <what's
this> help.
env | the JNIEnv pointer | |
cls | the WhatsThisManager class |
void WhatsThisManagerBridge::exitWhatsThisMode | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Deactivates <what's
this> help.
env | the JNIEnv pointer | |
cls | the java class |
bool WhatsThisManagerBridge::whatsThisEnabled | ( | ) | [inline, static] |
Returns true
if the whatsThis help is enabled.
true
if the whatsThis help is enabled