#include <JQToolTipBridge.h>
Static Public Member Functions | |
static void | setEnabled (JNIEnv *env, jclass cls, jboolean enabled) |
Enables/disables the tooltips. | |
static void | setFont (JNIEnv *env, jclass cls, jobject font) |
Sets font for tooltips. | |
static void | setBackground (JNIEnv *env, jclass cls, jint argb) |
Sets background color of the tooltips. | |
static void | setNullBackground (JNIEnv *env, jclass cls) |
Sets default background color for tooltips. | |
static void | setForeground (JNIEnv *env, jclass cls, jint argb) |
Sets foreground color of the tooltips. | |
static void | setNullForeground (JNIEnv *env, jclass cls) |
Sets default foreground color for tooltips. | |
static void | showText (JNIEnv *env, jclass cls, jstring text, jint x, jint y, jlong componentBridge) |
Displays tooltip for the specified component. | |
static void | hideText (JNIEnv *env, jclass cls) |
Hides tooltip. | |
static bool | toolTipsEnabled () |
Returns true if the tooltips are enabled. |
void JQToolTipBridge::setEnabled | ( | JNIEnv * | env, | |
jclass | cls, | |||
jboolean | enabled | |||
) | [static] |
Enables/disables the tooltips.
env | the JNIEnv pointer | |
cls | the JQToolTip class | |
enabled | true if enabled |
void JQToolTipBridge::setFont | ( | JNIEnv * | env, | |
jclass | cls, | |||
jobject | font | |||
) | [static] |
Sets font for tooltips.
env | the JNIEnv pointer | |
cls | the JQToolTip class | |
font | the font |
void JQToolTipBridge::setBackground | ( | JNIEnv * | env, | |
jclass | cls, | |||
jint | argb | |||
) | [static] |
Sets background color of the tooltips.
env | the JNIEnv pointer | |
cls | the JQToolTip class | |
argb | the argb value of the color |
void JQToolTipBridge::setNullBackground | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Sets default background color for tooltips.
env | the JNIEnv pointer | |
cls | the JQToolTip class |
void JQToolTipBridge::setForeground | ( | JNIEnv * | env, | |
jclass | cls, | |||
jint | argb | |||
) | [static] |
Sets foreground color of the tooltips.
env | the JNIEnv pointer | |
cls | the JQToolTip class | |
argb | the argb value of the color |
void JQToolTipBridge::setNullForeground | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Sets default foreground color for tooltips.
env | the JNIEnv pointer | |
cls | the JQToolTip class |
void JQToolTipBridge::showText | ( | JNIEnv * | env, | |
jclass | cls, | |||
jstring | text, | |||
jint | x, | |||
jint | y, | |||
jlong | componentBridge | |||
) | [static] |
Displays tooltip for the specified component.
env | the JNIEnv pointer | |
cls | the JQToolTip class | |
text | the tooltip text | |
x | the x-coordinate of the tooltip | |
y | the y-coordinate of the tooltip | |
componentBridge | the component bridge pointer |
void JQToolTipBridge::hideText | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Hides tooltip.
env | the JNIEnv pointer | |
cls | the JQToolTip class |
bool JQToolTipBridge::toolTipsEnabled | ( | ) | [inline, static] |
Returns true
if the tooltips are enabled.
true
if the tooltips are enabled