WhatsThisManagerBridge Class Reference

WhatsThisManager Bridge. More...

#include <WhatsThisManagerBridge.h>

List of all members.

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.


Detailed Description

WhatsThisManager Bridge.

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

Member Function Documentation

void WhatsThisManagerBridge::setEnabled ( JNIEnv *  env,
jclass  cls,
jboolean  enabled 
) [static]

Enables/disables <what's this> help.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
env the JNIEnv pointer
cls the WhatsThisManager class
Returns:

void WhatsThisManagerBridge::enterWhatsThisMode ( JNIEnv *  env,
jclass  cls 
) [static]

Activates <what's this> help.

Parameters:
env the JNIEnv pointer
cls the WhatsThisManager class

void WhatsThisManagerBridge::exitWhatsThisMode ( JNIEnv *  env,
jclass  cls 
) [static]

Deactivates <what's this> help.

Parameters:
env the JNIEnv pointer
cls the java class

bool WhatsThisManagerBridge::whatsThisEnabled (  )  [inline, static]

Returns true if the whatsThis help is enabled.

Returns:
true if the whatsThis help is enabled


Copyright © 2007 ETF and contributors. All Rights Reserved.