JQToolTipBridge Class Reference

JQToolTip Bridge. More...

#include <JQToolTipBridge.h>

List of all members.

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.


Detailed Description

JQToolTip Bridge.

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

Member Function Documentation

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

Enables/disables the tooltips.

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

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

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

Parameters:
env the JNIEnv pointer
cls the JQToolTip class

void JQToolTipBridge::setForeground ( JNIEnv *  env,
jclass  cls,
jint  argb 
) [static]

Sets foreground color of the tooltips.

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

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

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

Parameters:
env the JNIEnv pointer
cls the JQToolTip class

bool JQToolTipBridge::toolTipsEnabled (  )  [inline, static]

Returns true if the tooltips are enabled.

Returns:
true if the tooltips are enabled


Copyright © 2007 ETF and contributors. All Rights Reserved.