JQInternalFrameBridge Class Reference

JQInternalFrame Bridge. More...

#include <JQInternalFrameBridge.h>

Inheritance diagram for JQInternalFrameBridge:

JQWindowBridge JQContainerBridge JQComponentBridge QObjectBridge

List of all members.

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


Detailed Description

JQInternalFrame Bridge.

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

Constructor & Destructor Documentation

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

Constructs new JQInternalFrameBridge object.

Parameters:
env the JNIEnv pointer
obj JQInternalFrame object


Member Function Documentation

void JQInternalFrameBridge::insertChild ( JNIEnv *  env,
jlong  childBridge,
jint  index 
) [slot]

Inserts child.

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

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

Reimplemented from JQWindowBridge.

jlong JQInternalFrameBridge::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 JQWindowBridge.

void JQInternalFrameBridge::setFocusable ( JNIEnv *  env,
jboolean  focusable 
) [virtual]

Sets focusable state of the component.

Parameters:
env the JNIEnv pointer
focusable the focusable state

Reimplemented from JQComponentBridge.

void JQInternalFrameBridge::requestFocus ( JNIEnv *  env  )  [virtual]

Requests the focus.

Parameters:
env the JNIEnv pointer

Reimplemented from JQComponentBridge.

jobject JQInternalFrameBridge::getBackground ( JNIEnv *  env,
jclass  colorClass 
) [virtual]

Returns background color.

Parameters:
env the JNIEnv pointer
colorClass the java color class
Returns:
background color

Reimplemented from JQComponentBridge.

void JQInternalFrameBridge::setBackground ( JNIEnv *  env,
jint  argb 
) [virtual]

Sets the background color.

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

Parameters:
env the JNIEnv pointer

Reimplemented from JQComponentBridge.

jobject JQInternalFrameBridge::getForeground ( JNIEnv *  env,
jclass  colorClass 
) [virtual]

Returns foreground color.

Parameters:
env the JNIEnv pointer
colorClass the QSwing color class
Returns:
foreground color

Reimplemented from JQComponentBridge.

void JQInternalFrameBridge::setForeground ( JNIEnv *  env,
jint  argb 
) [virtual]

Sets the foreground color.

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

Parameters:
env the JNIEnv pointer

Reimplemented from JQComponentBridge.

jobject JQInternalFrameBridge::getFont ( JNIEnv *  env,
jclass  fontClass 
) [virtual]

Returns font.

Parameters:
env the JNIEnv pointer
fontClass the QSwing font class
Returns:
font

Reimplemented from JQComponentBridge.

void JQInternalFrameBridge::setFont ( JNIEnv *  env,
jobject  font 
) [virtual]

Sets the font.

Parameters:
env the JNIEnv pointer
font the QSwing font

Reimplemented from JQComponentBridge.

jint JQInternalFrameBridge::getCursor ( JNIEnv *  env  )  [virtual]

Returns current cursor.

Parameters:
env the JNIEnv pointer
Returns:
current cursor

Reimplemented from JQComponentBridge.

void JQInternalFrameBridge::setCursor ( JNIEnv *  env,
jint  type 
) [virtual]

Sets cursor.

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

Parameters:
env the JNIEnv pointer
orientation the object orientation

Reimplemented from JQComponentBridge.

void JQInternalFrameBridge::setToolTipText ( JNIEnv *  env,
jstring  text 
) [virtual]

Sets tool tip text.

Parameters:
env the JNIEnv pointer
text the tool tip text

Reimplemented from JQComponentBridge.

void JQInternalFrameBridge::setStatusTipText ( JNIEnv *  env,
jstring  text 
) [virtual]

Sets status tip text.

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

Parameters:
env the JNIEnv pointer
text the what's this text

Reimplemented from JQComponentBridge.

QMdiSubWindow * JQInternalFrameBridge::qMdiSubWindow (  )  const [inline]

Returns QMdiSubWindow adaptee.

Returns:
QMdiSubWindow adaptee

QWidget * JQInternalFrameBridge::qMdiSubWidget (  )  const [inline]

Returns internal sub widget.

Returns:
internal sub widget

bool JQInternalFrameBridge::eventFilter ( QObject *  obj,
QEvent *  e 
) [protected, virtual]

Filters events of the qObject.

Parameters:
obj the qObject
e the event
Returns:
true if the event is filtered

Reimplemented from JQComponentBridge.

void JQInternalFrameBridge::filterEnabledEvents (  )  [protected, virtual]

Filters enabled events.

Reimplemented from JQComponentBridge.

QWidget * JQInternalFrameBridge::paintingWidget (  )  [protected, virtual]

Painting widget.

Returns:
painting widget

Reimplemented from JQComponentBridge.


Copyright © 2007 ETF and contributors. All Rights Reserved.