#include <JQSplitPaneBridge.h>
Public Slots | |
void | setLeftComponent (JNIEnv *env, jlong componentBridge) |
Sets left component of the split pane. | |
void | setRightComponent (JNIEnv *env, jlong componentBridge) |
Sets right component of the split pane. | |
void | setOrientation (JNIEnv *env, jint orientation) |
Sets orientation of the split pane. | |
void | setContinuousLayout (JNIEnv *env, jboolean continuousLayout) |
Sets whether or not the resizing of components is opaque. | |
void | setResizeWeight (JNIEnv *env, jdouble resizeWeight) |
Sets resize weight. | |
jint | getDividerSize (JNIEnv *env) |
Returns divider size. | |
void | setDividerSize (JNIEnv *env, jint dividerSize) |
Sets divider size. | |
void | setDividerLocation (JNIEnv *env, jint dividerLocation) |
Sets divider location. | |
void | setOneTouchExpandable (JNIEnv *env, jboolean oneTouchExpandable) |
Sets whether or not the comopnents of the split pane can be quickly expanded/collapsed. | |
Public Member Functions | |
void | dividerLocationChanged (jint dividerLocation) |
Calls dividerLocationChanged method of the split pane object. | |
QSplitterAdapter * | qSplitterAdapter () const |
Returns QSplitterAdapter adaptee. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQSplitPaneBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Slots | |
void | splitterMovedSlot (int position, int index) |
splitterMoved slot. | |
Protected Member Functions | |
JQSplitPaneBridge (JNIEnv *env, jobject obj) | |
Constructs new JQSplitPaneBridge object. |
JQSplitPaneBridge::JQSplitPaneBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQSplitPaneBridge object.
env | the JNIEnv pointer | |
obj | the JQSplitPane object |
void JQSplitPaneBridge::setLeftComponent | ( | JNIEnv * | env, | |
jlong | componentBridge | |||
) | [slot] |
Sets left component of the split pane.
env | the JNIEnv pointer | |
componentBridge | the left component bridge pointer |
void JQSplitPaneBridge::setRightComponent | ( | JNIEnv * | env, | |
jlong | componentBridge | |||
) | [slot] |
Sets right component of the split pane.
env | the JNIEnv pointer | |
componentBridge | the right component bridge pointer |
void JQSplitPaneBridge::setOrientation | ( | JNIEnv * | env, | |
jint | orientation | |||
) | [slot] |
Sets orientation of the split pane.
env | the JNIEnv pointer | |
orientation | the orientation |
void JQSplitPaneBridge::setContinuousLayout | ( | JNIEnv * | env, | |
jboolean | continuousLayout | |||
) | [slot] |
Sets whether or not the resizing of components is opaque.
env | the JNIEnv pointer | |
continuousLayout | true if opaque |
void JQSplitPaneBridge::setResizeWeight | ( | JNIEnv * | env, | |
jdouble | resizeWeight | |||
) | [slot] |
Sets resize weight.
env | the JNIEnv pointer | |
resizeWeight | the resize weight |
jint JQSplitPaneBridge::getDividerSize | ( | JNIEnv * | env | ) | [slot] |
Returns divider size.
env | the JNIEnv pointer |
void JQSplitPaneBridge::setDividerSize | ( | JNIEnv * | env, | |
jint | dividerSize | |||
) | [slot] |
Sets divider size.
env | the JNIEnv pointer | |
dividerSize | the divider size |
void JQSplitPaneBridge::setDividerLocation | ( | JNIEnv * | env, | |
jint | dividerLocation | |||
) | [slot] |
Sets divider location.
env | the JNIEnv pointer | |
dividerLocation | the divider location |
void JQSplitPaneBridge::setOneTouchExpandable | ( | JNIEnv * | env, | |
jboolean | oneTouchExpandable | |||
) | [slot] |
Sets whether or not the comopnents of the split pane can be quickly expanded/collapsed.
env | the JNIEnv pointer | |
oneTouchExpandable | true if expandable |
void JQSplitPaneBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQSplitPaneBridge class.
env | the JNIEnv pointer | |
cls | the JQSplitPane class |
Reimplemented from JQComponentBridge.
jlong JQSplitPaneBridge::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 JQSplitPaneBridge::dividerLocationChanged | ( | jint | dividerLocation | ) |
Calls dividerLocationChanged
method of the split pane object.
dividerLocation | the divider location |
QSplitterAdapter * JQSplitPaneBridge::qSplitterAdapter | ( | ) | const [inline] |
void JQSplitPaneBridge::splitterMovedSlot | ( | int | position, | |
int | index | |||
) | [protected, slot] |
splitterMoved slot.
position | the position | |
index | the index |