#include <JQSliderBridge.h>
Public Slots | |
void | setModel (JNIEnv *env, jint minimum, jint maximum, jint value) |
Sets slider model. | |
void | setValue (JNIEnv *env, jint value) |
Sets slider value. | |
void | setMinimum (JNIEnv *env, jint minimum) |
Sets minimum slider value. | |
void | setMaximum (JNIEnv *env, jint maximum) |
Sets maximum slider value. | |
void | setOrientation (JNIEnv *env, jint orientation) |
Sets slider orientation. | |
void | setTickPosition (JNIEnv *env, jint tickPosition) |
Sets tick position. | |
void | setTickSpacing (JNIEnv *env, jint tickSpacing) |
Sets tick spacing. | |
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. | |
QSlider * | qSlider () const |
Returns QSlider adaptee. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes the JQSliderBridge 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 | |
JQSliderBridge (JNIEnv *env, jobject obj) | |
Constructs new JQSliderBridge object. |
JQSliderBridge::JQSliderBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
void JQSliderBridge::setModel | ( | JNIEnv * | env, | |
jint | minimum, | |||
jint | maximum, | |||
jint | value | |||
) | [slot] |
Sets slider model.
env | the JNIEnv pointer | |
minimum | the minimum slider value | |
maximum | the maximum slider value | |
value | the slider value |
void JQSliderBridge::setValue | ( | JNIEnv * | env, | |
jint | value | |||
) | [slot] |
Sets slider value.
env | the JNIEnv pointer | |
value | the slider value |
void JQSliderBridge::setMinimum | ( | JNIEnv * | env, | |
jint | minimum | |||
) | [slot] |
Sets minimum slider value.
env | the JNIEnv pointer | |
minimum | the minimum slider value |
void JQSliderBridge::setMaximum | ( | JNIEnv * | env, | |
jint | maximum | |||
) | [slot] |
Sets maximum slider value.
env | the JNIEnv pointer | |
maximum | the maximum slider value |
void JQSliderBridge::setOrientation | ( | JNIEnv * | env, | |
jint | orientation | |||
) | [slot] |
Sets slider orientation.
env | the JNIEnv pointer | |
orientation | the orientation |
void JQSliderBridge::setTickPosition | ( | JNIEnv * | env, | |
jint | tickPosition | |||
) | [slot] |
Sets tick position.
env | the JNIEnv pointer | |
tickPosition | the tick position |
void JQSliderBridge::setTickSpacing | ( | JNIEnv * | env, | |
jint | tickSpacing | |||
) | [slot] |
Sets tick spacing.
env | the JNIEnv pointer | |
tickSpacing | the tick spacing |
void JQSliderBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes the JQSliderBridge class.
env | the JNIEnv pointer | |
cls | the JQSlider class |
FatalError | if failed |
Reimplemented from JQComponentBridge.
jlong JQSliderBridge::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 JQSliderBridge::valueChanged | ( | jint | value | ) |
Calls valueChanged
method of the JQScrollBar object.
value | the changed value |
void JQSliderBridge::valueIsAdjusting | ( | jboolean | adjusting | ) |
Calls valueIsAdjusting
method of the JQScrollBar object.
adjusting | true if adjusting |
void JQSliderBridge::valueChangedSlot | ( | int | value | ) | [protected, slot] |
valueChanged
slot.
value | the value |
QSlider * JQSliderBridge::qSlider | ( | ) | const [inline] |
Returns QSlider adaptee.