JQSeparatorBridge Class Reference

JQSeparator Bridge. More...

#include <JQSeparatorBridge.h>

Inheritance diagram for JQSeparatorBridge:

JQActionComponentBridge JQComponentBridge QObjectBridge

List of all members.

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.
JQSeparatorDataseparatorActionData ()
 Returns action data of the separator.
QSeparatorAdapterseparator () 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 ()


Detailed Description

JQSeparator Bridge.

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

Constructor & Destructor Documentation

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

Constructs new JQSeparatorBridge object.

Parameters:
env the JNIEnv pointer
obj the JQSeparator object


Member Function Documentation

void JQSeparatorBridge::setOrientation ( JNIEnv *  env,
jint  orientation 
) [slot]

Sets separator orientation.

Parameters:
env the JNIEnv pointer
orientation the orientation

void JQSeparatorBridge::setText ( JNIEnv *  env,
jstring  text 
) [slot]

Sets separator text.

Parameters:
env the JNIEnv pointer
text the text

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

Initializes JQSeparatorBridge class.

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

Reimplemented from JQComponentBridge.

jlong JQSeparatorBridge::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 JQComponentBridge.

void JQSeparatorBridge::orientationChanged ( jint  orientation  ) 

Calls orientationChanged method of the separator object.

Parameters:
orientation the orientation

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

Sets parent bridge.

Parameters:
parentBridge the parent bridge

Reimplemented from JQActionComponentBridge.

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

Sets the foreground color.

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

Parameters:
env the JNIEnv pointer

Reimplemented from JQActionComponentBridge.

void JQSeparatorBridge::orientationChangedSlot ( Qt::Orientation  orientation  )  [protected, slot]

orientationChanged slot.

Parameters:
orientation the orientation

JQSeparatorData * JQSeparatorBridge::separatorActionData (  )  [inline, protected]

Returns action data of the separator.

Returns:
action data of the separator

QSeparatorAdapter * JQSeparatorBridge::separator (  )  const [inline, protected]

Returns separator data member.

Returns:
separator data member

QWidget * JQSeparatorBridge::createQWidget (  )  [protected, virtual]

Creates QWidget adaptee.

Returns:
QWidget adaptee

Implements JQActionComponentBridge.

QAction * JQSeparatorBridge::createQAction (  )  [protected, virtual]

Creates QAction adaptee.

Returns:
QAction adaptee

Implements JQActionComponentBridge.

QWidget * JQSeparatorBridge::convertToQWidget ( QAction *  action  )  [protected, virtual]

Converts QAction into QWidget.

Returns:
QAction converted into QWidget

Reimplemented from JQActionComponentBridge.

QAction * JQSeparatorBridge::convertToQAction ( QWidget *  widget  )  [protected, virtual]

Converts QWidget into QAction.

Returns:
QWidget converted into QAction

Reimplemented from JQActionComponentBridge.

JQActionComponentData * JQSeparatorBridge::createActionData (  )  [protected, virtual]

Creates new action data.

Returns:
action data

Reimplemented from JQActionComponentBridge.


Copyright © 2007 ETF and contributors. All Rights Reserved.