JQSliderBridge Class Reference

JQSlider Bridge. More...

#include <JQSliderBridge.h>

Inheritance diagram for JQSliderBridge:

JQComponentBridge QObjectBridge

List of all members.

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.


Detailed Description

JQSlider Bridge.

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

Constructor & Destructor Documentation

JQSliderBridge::JQSliderBridge ( JNIEnv *  env,
jobject  obj 
) [protected]

Constructs new JQSliderBridge object.

Parameters:
env the JNIEnv pointer
obj JQSlider object


Member Function Documentation

void JQSliderBridge::setModel ( JNIEnv *  env,
jint  minimum,
jint  maximum,
jint  value 
) [slot]

Sets slider model.

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

Parameters:
env the JNIEnv pointer
value the slider value

void JQSliderBridge::setMinimum ( JNIEnv *  env,
jint  minimum 
) [slot]

Sets minimum slider value.

Parameters:
env the JNIEnv pointer
minimum the minimum slider value

void JQSliderBridge::setMaximum ( JNIEnv *  env,
jint  maximum 
) [slot]

Sets maximum slider value.

Parameters:
env the JNIEnv pointer
maximum the maximum slider value

void JQSliderBridge::setOrientation ( JNIEnv *  env,
jint  orientation 
) [slot]

Sets slider orientation.

Parameters:
env the JNIEnv pointer
orientation the orientation

void JQSliderBridge::setTickPosition ( JNIEnv *  env,
jint  tickPosition 
) [slot]

Sets tick position.

Parameters:
env the JNIEnv pointer
tickPosition the tick position

void JQSliderBridge::setTickSpacing ( JNIEnv *  env,
jint  tickSpacing 
) [slot]

Sets tick spacing.

Parameters:
env the JNIEnv pointer
tickSpacing the tick spacing

void JQSliderBridge::initialize ( JNIEnv *  env,
jclass  cls 
) [static]

Initializes the JQSliderBridge class.

Parameters:
env the JNIEnv pointer
cls the JQSlider class
Exceptions:
FatalError if failed

Reimplemented from JQComponentBridge.

jlong JQSliderBridge::newInstance ( JNIEnv *  env,
jobject  obj 
) [static]

Returns new instance of the bridge object.

Parameters:
env the JNIEnv pointer
obj the QSwing object
Returns:
new instance of the bridge object

Reimplemented from JQComponentBridge.

void JQSliderBridge::valueChanged ( jint  value  ) 

Calls valueChanged method of the JQScrollBar object.

Parameters:
value the changed value

void JQSliderBridge::valueIsAdjusting ( jboolean  adjusting  ) 

Calls valueIsAdjusting method of the JQScrollBar object.

Parameters:
adjusting true if adjusting

void JQSliderBridge::valueChangedSlot ( int  value  )  [protected, slot]

valueChanged slot.

Parameters:
value the value

QSlider * JQSliderBridge::qSlider (  )  const [inline]

Returns QSlider adaptee.

Returns:
QSlider adaptee


Copyright © 2007 ETF and contributors. All Rights Reserved.