#include <JQScrollBarBridge.h>
Public Slots | |
void | setModel (JNIEnv *env, jint minimum, jint maximum, jint value) |
Sets scroll bar model. | |
void | setValue (JNIEnv *env, jint value) |
Sets scroll value. | |
void | setMinimum (JNIEnv *env, jint minimum) |
Sets minimum scroll value. | |
void | setMaximum (JNIEnv *env, jint maximum) |
Sets maximum scroll value. | |
void | setOrientation (JNIEnv *env, jint orientation) |
Sets scroll bar orientation. | |
void | setUnitIncrement (JNIEnv *env, jint unitIncrement) |
Sets scroll unit increment. | |
void | setBlockIncrement (JNIEnv *env, jint blockIncrement) |
Sets scroll block increment. | |
Public Member Functions | |
void | valueChanged (jint value) |
Calls valueChanged method of the JQScrollBar object. | |
void | valueIsAdjusting (jboolean adjusting) |
Calls valueIsAdjusting method of the JQScrollBar object. | |
QScrollBar * | qScrollBar () const |
Returns QScrollBar adaptee. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes the JQScrollBarBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Slots | |
void | valueChangedSlot (int value) |
valueChanged slot. | |
void | sliderPressedSlot () |
sliderPressed slot. | |
void | sliderReleasedSlot () |
sliderReleased slot. | |
Protected Member Functions | |
JQScrollBarBridge (JNIEnv *env, jobject obj) | |
Constructs new JQScrollBarBridge object. |
JQScrollBarBridge::JQScrollBarBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQScrollBarBridge object.
env | the JNIEnv pointer | |
obj | the JQScrollBar object |
void JQScrollBarBridge::setModel | ( | JNIEnv * | env, | |
jint | minimum, | |||
jint | maximum, | |||
jint | value | |||
) | [slot] |
Sets scroll bar model.
env | the JNIEnv pointer | |
minimum | the minimum scroll value | |
maximum | the maximum scroll value | |
value | the scroll value |
void JQScrollBarBridge::setValue | ( | JNIEnv * | env, | |
jint | value | |||
) | [slot] |
Sets scroll value.
env | the JNIEnv pointer | |
value | the scroll value |
void JQScrollBarBridge::setMinimum | ( | JNIEnv * | env, | |
jint | minimum | |||
) | [slot] |
Sets minimum scroll value.
env | the JNIEnv pointer | |
minimum | the minimum scroll value |
void JQScrollBarBridge::setMaximum | ( | JNIEnv * | env, | |
jint | maximum | |||
) | [slot] |
Sets maximum scroll value.
env | the JNIEnv pointer | |
maximum | the maximum scroll value |
void JQScrollBarBridge::setOrientation | ( | JNIEnv * | env, | |
jint | orientation | |||
) | [slot] |
Sets scroll bar orientation.
env | the JNIEnv pointer | |
orientation | the orientation |
void JQScrollBarBridge::setUnitIncrement | ( | JNIEnv * | env, | |
jint | unitIncrement | |||
) | [slot] |
Sets scroll unit increment.
env | the JNIEnv pointer | |
unitIncrement | the unit increment |
void JQScrollBarBridge::setBlockIncrement | ( | JNIEnv * | env, | |
jint | blockIncrement | |||
) | [slot] |
Sets scroll block increment.
env | the JNIEnv pointer | |
blockIncrement | the block increment |
void JQScrollBarBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes the JQScrollBarBridge class.
env | the JNIEnv pointer | |
cls | the JQScrollBar class |
FatalError | if failed |
Reimplemented from JQComponentBridge.
jlong JQScrollBarBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQComponentBridge.
void JQScrollBarBridge::valueChanged | ( | jint | value | ) |
Calls valueChanged
method of the JQScrollBar object.
value | the changed value |
void JQScrollBarBridge::valueIsAdjusting | ( | jboolean | adjusting | ) |
Calls valueIsAdjusting
method of the JQScrollBar object.
adjusting | true if adjusting |
void JQScrollBarBridge::valueChangedSlot | ( | int | value | ) | [protected, slot] |
valueChanged
slot.
value | the value |
QScrollBar * JQScrollBarBridge::qScrollBar | ( | ) | const [inline] |
Returns QScrollBar adaptee.