JQStatusBarBridge Class Reference

JQStatusBar Bridge. More...

#include <JQStatusBarBridge.h>

Inheritance diagram for JQStatusBarBridge:

JQContainerBridge JQComponentBridge QObjectBridge

List of all members.

Public Slots

void showMessage (JNIEnv *env, jstring message, jint timeout)
 Displays the specified message.
void clearMessage (JNIEnv *env)
 Clears status message.
void insertChild (JNIEnv *env, jlong childBridge, jint index)
 Inserts temporary child.
void insertPermanentChild (JNIEnv *env, jlong childBridge, jint index)
 Inserts permanent child.
void removeChild (JNIEnv *env, jlong childBridge)
 Removes the specified child.
void setSizeGripEnabled (JNIEnv *env, jboolean enabled)
 Sets whether or not the size grip is visible.

Public Member Functions

void statusMessgeChanged (jstring message)
 Calls statusMessgeChanged method of the JQStatusBar object.
QStatusBar * qStatusBar () const
 Returns QStatusBar adaptee.
virtual void setParentBridge (JQContainerBridge *parentBridge)

Static Public Member Functions

static void initialize (JNIEnv *env, jclass cls)
 Initializes JQStatusBarBridge class.
static jlong newInstance (JNIEnv *env, jobject obj)
 Returns new instance of the bridge object.

Protected Slots

void messageChangedSlot (const QString &message)
 Message changend slot.

Protected Member Functions

 JQStatusBarBridge (JNIEnv *env, jobject obj)
 Constructs new JQStatusBarBridge object.


Detailed Description

JQStatusBar Bridge.

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

Constructor & Destructor Documentation

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

Constructs new JQStatusBarBridge object.

Parameters:
env the JNIEnv pointer
obj the QSwing JQStatusBar object


Member Function Documentation

void JQStatusBarBridge::showMessage ( JNIEnv *  env,
jstring  message,
jint  timeout 
) [slot]

Displays the specified message.

Parameters:
env the JNIEnv pointer
message the message
timeout the message time out

void JQStatusBarBridge::clearMessage ( JNIEnv *  env  )  [slot]

Clears status message.

Parameters:
env the JNIEnv pointer

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

Inserts temporary child.

Parameters:
env the JNIEnv pointer
childBridge the child bridge
index the child index

Reimplemented from JQContainerBridge.

void JQStatusBarBridge::insertPermanentChild ( JNIEnv *  env,
jlong  childBridge,
jint  index 
) [slot]

Inserts permanent child.

Parameters:
env the JNIEnv pointer
childBridge the child bridge pointer
index the child index

void JQStatusBarBridge::removeChild ( JNIEnv *  env,
jlong  childBridge 
) [slot]

Removes the specified child.

Parameters:
env the JNIEnv pointer
childBridge the child bridge pointer

Reimplemented from JQContainerBridge.

void JQStatusBarBridge::setSizeGripEnabled ( JNIEnv *  env,
jboolean  enabled 
) [slot]

Sets whether or not the size grip is visible.

Parameters:
env the JNIEnv pointer
enabled true if enabled

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

Initializes JQStatusBarBridge class.

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

Reimplemented from JQContainerBridge.

jlong JQStatusBarBridge::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 JQContainerBridge.

void JQStatusBarBridge::statusMessgeChanged ( jstring  message  ) 

Calls statusMessgeChanged method of the JQStatusBar object.

Parameters:
message the new status message

QStatusBar * JQStatusBarBridge::qStatusBar (  )  const [inline]

Returns QStatusBar adaptee.

Returns:
QStatusBar adaptee

void JQStatusBarBridge::setParentBridge ( JQContainerBridge parentBridge  )  [virtual]

Sets parent bridge.

Parameters:
parentBridge the parent bridge

Reimplemented from JQComponentBridge.

void JQStatusBarBridge::messageChangedSlot ( const QString &  message  )  [protected, slot]

Message changend slot.

Parameters:
message the status message


Copyright © 2007 ETF and contributors. All Rights Reserved.