JQSplitPaneBridge Class Reference

JQSplitPane Bridge. More...

#include <JQSplitPaneBridge.h>

Inheritance diagram for JQSplitPaneBridge:

JQComponentBridge QObjectBridge

List of all members.

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.
QSplitterAdapterqSplitterAdapter () 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.


Detailed Description

JQSplitPane Bridge.

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

Constructor & Destructor Documentation

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

Constructs new JQSplitPaneBridge object.

Parameters:
env the JNIEnv pointer
obj the JQSplitPane object


Member Function Documentation

void JQSplitPaneBridge::setLeftComponent ( JNIEnv *  env,
jlong  componentBridge 
) [slot]

Sets left component of the split pane.

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

Parameters:
env the JNIEnv pointer
componentBridge the right component bridge pointer

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

Sets orientation of the split pane.

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

Parameters:
env the JNIEnv pointer
continuousLayout true if opaque

void JQSplitPaneBridge::setResizeWeight ( JNIEnv *  env,
jdouble  resizeWeight 
) [slot]

Sets resize weight.

Parameters:
env the JNIEnv pointer
resizeWeight the resize weight

jint JQSplitPaneBridge::getDividerSize ( JNIEnv *  env  )  [slot]

Returns divider size.

Parameters:
env the JNIEnv pointer
Returns:
divider size

void JQSplitPaneBridge::setDividerSize ( JNIEnv *  env,
jint  dividerSize 
) [slot]

Sets divider size.

Parameters:
env the JNIEnv pointer
dividerSize the divider size

void JQSplitPaneBridge::setDividerLocation ( JNIEnv *  env,
jint  dividerLocation 
) [slot]

Sets divider location.

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

Parameters:
env the JNIEnv pointer
oneTouchExpandable true if expandable

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

Initializes JQSplitPaneBridge class.

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

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

Reimplemented from JQComponentBridge.

void JQSplitPaneBridge::dividerLocationChanged ( jint  dividerLocation  ) 

Calls dividerLocationChanged method of the split pane object.

Parameters:
dividerLocation the divider location

QSplitterAdapter * JQSplitPaneBridge::qSplitterAdapter (  )  const [inline]

Returns QSplitterAdapter adaptee.

Returns:
QSplitterAdapter adaptee

void JQSplitPaneBridge::splitterMovedSlot ( int  position,
int  index 
) [protected, slot]

splitterMoved slot.

Parameters:
position the position
index the index


Copyright © 2007 ETF and contributors. All Rights Reserved.