#include <JQTextFieldBridge.h>
Public Slots | |
jstring | getText (JNIEnv *env) |
Returns text. | |
void | setText (JNIEnv *env, jstring text) |
Sets text. | |
void | setHorizontalAlignment (JNIEnv *env, jint alignment) |
Sets horizontal alignment. | |
Public Member Functions | |
void | returnPressed (jint modifiers) |
Calls returnPressed method of the JQTextField object. | |
QLineEdit * | qLineEdit () const |
Returns QLineEdit adaptee. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQTextFieldBridge class. | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Slots | |
void | returnPressedSlot () |
returnPressed slot. | |
Protected Member Functions | |
JQTextFieldBridge (JNIEnv *env, jobject obj) | |
Constructs new JQTextFieldBridge object. |
JQTextFieldBridge::JQTextFieldBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQTextFieldBridge object.
env | the JNIEnv pointer | |
obj | the JQTextField object |
jstring JQTextFieldBridge::getText | ( | JNIEnv * | env | ) | [slot] |
Returns text.
env | the JNIEnv pointer |
void JQTextFieldBridge::setText | ( | JNIEnv * | env, | |
jstring | text | |||
) | [slot] |
Sets text.
env | the JNIEnv pointer | |
text | the text to be set |
void JQTextFieldBridge::setHorizontalAlignment | ( | JNIEnv * | env, | |
jint | alignment | |||
) | [slot] |
Sets horizontal alignment.
env | the JNIEnv pointer | |
alignment | the horizontal alignment |
void JQTextFieldBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQTextFieldBridge class.
env | the JNIEnv pointer | |
cls | the JQTextField class |
FatalError | if failed |
Reimplemented from JQComponentBridge.
jlong JQTextFieldBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQComponentBridge.
QLineEdit * JQTextFieldBridge::qLineEdit | ( | ) | const [inline] |
Returns QLineEdit adaptee.