#include <JQSeparatorBridge.h>
Public Slots | |
void | setOrientation (JNIEnv *env, jint orientation) |
Sets separator orientation. | |
void | setText (JNIEnv *env, jstring text) |
Sets separator text. | |
Public Member Functions | |
void | orientationChanged (jint orientation) |
Calls orientationChanged method of the separator object. | |
virtual void | setParentBridge (JQContainerBridge *parentBridge) |
virtual void | setForeground (JNIEnv *env, jint argb) |
virtual void | setNullForeground (JNIEnv *env) |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQSeparatorBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Slots | |
void | orientationChangedSlot (Qt::Orientation orientation) |
orientationChanged slot. | |
Protected Member Functions | |
JQSeparatorBridge (JNIEnv *env, jobject obj) | |
Constructs new JQSeparatorBridge object. | |
JQSeparatorData * | separatorActionData () |
Returns action data of the separator. | |
QSeparatorAdapter * | separator () const |
Returns separator data member. | |
virtual QWidget * | createQWidget () |
Creates QWidget adaptee. | |
virtual QAction * | createQAction () |
Creates QAction adaptee. | |
virtual QWidget * | convertToQWidget (QAction *action) |
virtual QAction * | convertToQAction (QWidget *widget) |
virtual JQActionComponentData * | createActionData () |
JQSeparatorBridge::JQSeparatorBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQSeparatorBridge object.
env | the JNIEnv pointer | |
obj | the JQSeparator object |
void JQSeparatorBridge::setOrientation | ( | JNIEnv * | env, | |
jint | orientation | |||
) | [slot] |
Sets separator orientation.
env | the JNIEnv pointer | |
orientation | the orientation |
void JQSeparatorBridge::setText | ( | JNIEnv * | env, | |
jstring | text | |||
) | [slot] |
Sets separator text.
env | the JNIEnv pointer | |
text | the text |
void JQSeparatorBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQSeparatorBridge class.
env | the JNIEnv pointer | |
cls | the JQSeparator class |
FatalError | if failed |
Reimplemented from JQComponentBridge.
jlong JQSeparatorBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQComponentBridge.
void JQSeparatorBridge::orientationChanged | ( | jint | orientation | ) |
Calls orientationChanged
method of the separator object.
orientation | the orientation |
void JQSeparatorBridge::setParentBridge | ( | JQContainerBridge * | parentBridge | ) | [virtual] |
Sets parent bridge.
parentBridge | the parent bridge |
Reimplemented from JQActionComponentBridge.
void JQSeparatorBridge::setForeground | ( | JNIEnv * | env, | |
jint | argb | |||
) | [virtual] |
Sets the foreground color.
env | the JNIEnv pointer | |
argb | the argb value of the color |
Reimplemented from JQActionComponentBridge.
void JQSeparatorBridge::setNullForeground | ( | JNIEnv * | env | ) | [virtual] |
Sets the application default foreground color.
env | the JNIEnv pointer |
Reimplemented from JQActionComponentBridge.
void JQSeparatorBridge::orientationChangedSlot | ( | Qt::Orientation | orientation | ) | [protected, slot] |
orientationChanged slot.
orientation | the orientation |
JQSeparatorData * JQSeparatorBridge::separatorActionData | ( | ) | [inline, protected] |
Returns action data of the separator.
QSeparatorAdapter * JQSeparatorBridge::separator | ( | ) | const [inline, protected] |
Returns separator data member.
QWidget * JQSeparatorBridge::createQWidget | ( | ) | [protected, virtual] |
QAction * JQSeparatorBridge::createQAction | ( | ) | [protected, virtual] |
QWidget * JQSeparatorBridge::convertToQWidget | ( | QAction * | action | ) | [protected, virtual] |
Converts QAction into QWidget.
Reimplemented from JQActionComponentBridge.
QAction * JQSeparatorBridge::convertToQAction | ( | QWidget * | widget | ) | [protected, virtual] |
Converts QWidget into QAction.
Reimplemented from JQActionComponentBridge.
JQActionComponentData * JQSeparatorBridge::createActionData | ( | ) | [protected, virtual] |