#include <JQInternalFrameBridge.h>
Public Slots | |
void | insertChild (JNIEnv *env, jlong childBridge, jint index) |
Inserts child. | |
Public Member Functions | |
virtual void | setFocusable (JNIEnv *env, jboolean focusable) |
virtual void | requestFocus (JNIEnv *env) |
virtual jobject | getBackground (JNIEnv *env, jclass colorClass) |
virtual void | setBackground (JNIEnv *env, jint argb) |
virtual void | setNullBackground (JNIEnv *env) |
virtual jobject | getForeground (JNIEnv *env, jclass colorClass) |
virtual void | setForeground (JNIEnv *env, jint argb) |
virtual void | setNullForeground (JNIEnv *env) |
virtual jobject | getFont (JNIEnv *env, jclass fontClass) |
virtual void | setFont (JNIEnv *env, jobject font) |
virtual jint | getCursor (JNIEnv *env) |
virtual void | setCursor (JNIEnv *env, jint type) |
virtual void | setComponentOrientation (JNIEnv *env, jint orientation) |
virtual void | setToolTipText (JNIEnv *env, jstring text) |
virtual void | setStatusTipText (JNIEnv *env, jstring text) |
virtual void | setWhatsThisText (JNIEnv *env, jstring text) |
QSize | getLayoutPreferredSize () |
Returns layout's preferred size. | |
QMdiSubWindow * | qMdiSubWindow () const |
Returns QMdiSubWindow adaptee. | |
QWidget * | qMdiSubWidget () const |
Returns internal sub widget. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQInternalFrameBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Member Functions | |
JQInternalFrameBridge (JNIEnv *env, jobject obj) | |
Constructs new JQInternalFrameBridge object. | |
virtual bool | eventFilter (QObject *obj, QEvent *e) |
virtual void | filterEnabledEvents () |
virtual QWidget * | paintingWidget () |
Friends | |
class | JQDesktopPaneBridge |
JQInternalFrameBridge::JQInternalFrameBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQInternalFrameBridge object.
env | the JNIEnv pointer | |
obj | JQInternalFrame object |
void JQInternalFrameBridge::insertChild | ( | JNIEnv * | env, | |
jlong | childBridge, | |||
jint | index | |||
) | [slot] |
Inserts child.
env | the JNIEnv pointer | |
childBridge | the child bridge pointer | |
index | the child index |
Reimplemented from JQContainerBridge.
void JQInternalFrameBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQInternalFrameBridge class.
env | the JNIEnv pointer | |
cls | the JQInternalFrame class |
FatalError | if failed |
Reimplemented from JQWindowBridge.
jlong JQInternalFrameBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQWindowBridge.
void JQInternalFrameBridge::setFocusable | ( | JNIEnv * | env, | |
jboolean | focusable | |||
) | [virtual] |
Sets focusable state of the component.
env | the JNIEnv pointer | |
focusable | the focusable state |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::requestFocus | ( | JNIEnv * | env | ) | [virtual] |
jobject JQInternalFrameBridge::getBackground | ( | JNIEnv * | env, | |
jclass | colorClass | |||
) | [virtual] |
Returns background color.
env | the JNIEnv pointer | |
colorClass | the java color class |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::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 JQInternalFrameBridge::setNullBackground | ( | JNIEnv * | env | ) | [virtual] |
Sets the application default background color.
env | the JNIEnv pointer |
Reimplemented from JQComponentBridge.
jobject JQInternalFrameBridge::getForeground | ( | JNIEnv * | env, | |
jclass | colorClass | |||
) | [virtual] |
Returns foreground color.
env | the JNIEnv pointer | |
colorClass | the QSwing color class |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::setForeground | ( | JNIEnv * | env, | |
jint | argb | |||
) | [virtual] |
Sets the foreground color.
env | the JNIEnv pointer | |
argb | the argb value of the color |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::setNullForeground | ( | JNIEnv * | env | ) | [virtual] |
Sets the application default foreground color.
env | the JNIEnv pointer |
Reimplemented from JQComponentBridge.
jobject JQInternalFrameBridge::getFont | ( | JNIEnv * | env, | |
jclass | fontClass | |||
) | [virtual] |
Returns font.
env | the JNIEnv pointer | |
fontClass | the QSwing font class |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::setFont | ( | JNIEnv * | env, | |
jobject | font | |||
) | [virtual] |
Sets the font.
env | the JNIEnv pointer | |
font | the QSwing font |
Reimplemented from JQComponentBridge.
jint JQInternalFrameBridge::getCursor | ( | JNIEnv * | env | ) | [virtual] |
Returns current cursor.
env | the JNIEnv pointer |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::setCursor | ( | JNIEnv * | env, | |
jint | type | |||
) | [virtual] |
Sets cursor.
env | the JNIEnv pointer | |
type | the type of the cursor |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::setComponentOrientation | ( | JNIEnv * | env, | |
jint | orientation | |||
) | [virtual] |
Sets the QSwing object orientation.
env | the JNIEnv pointer | |
orientation | the object orientation |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::setToolTipText | ( | JNIEnv * | env, | |
jstring | text | |||
) | [virtual] |
Sets tool tip text.
env | the JNIEnv pointer | |
text | the tool tip text |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::setStatusTipText | ( | JNIEnv * | env, | |
jstring | text | |||
) | [virtual] |
Sets status tip text.
env | the JNIEnv pointer | |
text | the status tip text |
Reimplemented from JQComponentBridge.
void JQInternalFrameBridge::setWhatsThisText | ( | JNIEnv * | env, | |
jstring | text | |||
) | [virtual] |
Sets what's this text.
env | the JNIEnv pointer | |
text | the what's this text |
Reimplemented from JQComponentBridge.
QMdiSubWindow * JQInternalFrameBridge::qMdiSubWindow | ( | ) | const [inline] |
Returns QMdiSubWindow adaptee.
QWidget * JQInternalFrameBridge::qMdiSubWidget | ( | ) | const [inline] |
Returns internal sub widget.
bool JQInternalFrameBridge::eventFilter | ( | QObject * | obj, | |
QEvent * | e | |||
) | [protected, virtual] |
Filters events of the qObject.
obj | the qObject | |
e | the event |
true
if the event is filteredReimplemented from JQComponentBridge.
void JQInternalFrameBridge::filterEnabledEvents | ( | ) | [protected, virtual] |
Filters enabled events.
Reimplemented from JQComponentBridge.
QWidget * JQInternalFrameBridge::paintingWidget | ( | ) | [protected, virtual] |