#include <JQDesktopPaneBridge.h>
Public Slots | |
void | insertChild (JNIEnv *env, jlong childBridge, jint index) |
Inserts child. | |
void | removeChild (JNIEnv *env, jlong childBridge) |
Removes the specified child. | |
void | setCurrentComponent (JNIEnv *env, jlong componentBridge) |
Sets current component. | |
void | selectNextComponent (JNIEnv *env) |
Selects next comopnent. | |
void | selectPreviousComponent (JNIEnv *env) |
Selects previous component. | |
void | closeCurrentComponent (JNIEnv *env) |
Closes the current component. | |
void | closeAllComponents (JNIEnv *env) |
Closes all components. | |
void | cascadeComponents (JNIEnv *env) |
Cascades the components. | |
void | tileComponents (JNIEnv *env) |
Tiles the components. | |
Public Member Functions | |
void | activeComponentChanged (jobject component) |
Calls activeComponentChanged method of the desktop pane object. | |
virtual jobject | getBackground (JNIEnv *env, jclass colorClass) |
virtual void | setBackground (JNIEnv *env, jint argb) |
virtual void | setNullBackground (JNIEnv *env) |
QMdiArea * | qMdiArea () const |
Returns QMdiArea adaptee. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQDesktopPaneBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Slots | |
void | subWindowActivatedSlot (QMdiSubWindow *window) |
Sub window activated slot. | |
Protected Member Functions | |
JQDesktopPaneBridge (JNIEnv *env, jobject obj) | |
Constructs new JQDesktopPaneBridge object. |
JQDesktopPaneBridge::JQDesktopPaneBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQDesktopPaneBridge object.
env | the JNIEnv pointer | |
obj | the JQDesktopPane object |
void JQDesktopPaneBridge::insertChild | ( | JNIEnv * | env, | |
jlong | childBridge, | |||
jint | index | |||
) | [slot] |
Inserts child.
env | the JNIEnv pointer | |
childBridge | the child pointer | |
index | the child index |
Reimplemented from JQContainerBridge.
void JQDesktopPaneBridge::removeChild | ( | JNIEnv * | env, | |
jlong | childBridge | |||
) | [slot] |
Removes the specified child.
env | the JNIEnv pointer | |
childBridge | the child bridge pointer |
Reimplemented from JQContainerBridge.
void JQDesktopPaneBridge::setCurrentComponent | ( | JNIEnv * | env, | |
jlong | componentBridge | |||
) | [slot] |
Sets current component.
env | the JNIEnv pointer | |
componentBridge | the component bridge pointer |
void JQDesktopPaneBridge::selectNextComponent | ( | JNIEnv * | env | ) | [slot] |
Selects next comopnent.
env | the JNIEnv pointer |
void JQDesktopPaneBridge::selectPreviousComponent | ( | JNIEnv * | env | ) | [slot] |
Selects previous component.
env | the JNIEnv pointer |
void JQDesktopPaneBridge::closeCurrentComponent | ( | JNIEnv * | env | ) | [slot] |
Closes the current component.
env | the JNIEnv pointer |
void JQDesktopPaneBridge::closeAllComponents | ( | JNIEnv * | env | ) | [slot] |
Closes all components.
env | the JNIEnv pointer |
void JQDesktopPaneBridge::cascadeComponents | ( | JNIEnv * | env | ) | [slot] |
Cascades the components.
env | the JNIEnv pointer |
void JQDesktopPaneBridge::tileComponents | ( | JNIEnv * | env | ) | [slot] |
Tiles the components.
env | the JNIEnv pointer |
void JQDesktopPaneBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQDesktopPaneBridge class.
env | the JNIEnv pointer | |
cls | the JQDesktopPane class |
FatalError | if failed |
Reimplemented from JQContainerBridge.
jlong JQDesktopPaneBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQContainerBridge.
void JQDesktopPaneBridge::activeComponentChanged | ( | jobject | component | ) |
Calls activeComponentChanged
method of the desktop pane object.
component | the component |
jobject JQDesktopPaneBridge::getBackground | ( | JNIEnv * | env, | |
jclass | colorClass | |||
) | [virtual] |
Returns background color.
env | the JNIEnv pointer | |
colorClass | the java color class |
Reimplemented from JQComponentBridge.
void JQDesktopPaneBridge::setBackground | ( | JNIEnv * | env, | |
jint | argb | |||
) | [virtual] |
Sets the background color.
env | the JNIEnv pointer | |
argb | the argb value of the color |
Reimplemented from JQComponentBridge.
void JQDesktopPaneBridge::setNullBackground | ( | JNIEnv * | env | ) | [virtual] |
Sets the application default background color.
env | the JNIEnv pointer |
Reimplemented from JQComponentBridge.
QMdiArea * JQDesktopPaneBridge::qMdiArea | ( | ) | const [inline] |
Returns QMdiArea adaptee.
void JQDesktopPaneBridge::subWindowActivatedSlot | ( | QMdiSubWindow * | window | ) | [protected, slot] |
Sub window activated slot.
window | the activated window |