#include <JQTextComponentBridge.h>
Public Slots | |
virtual void | setDocument (JNIEnv *env, jobject document)=0 |
virtual void | setEditable (JNIEnv *env, jboolean editable)=0 |
virtual void | insertText (JNIEnv *env, jstring text)=0 |
virtual void | cut (JNIEnv *env)=0 |
virtual void | copy (JNIEnv *env)=0 |
virtual void | paste (JNIEnv *env)=0 |
virtual void | clear (JNIEnv *env)=0 |
virtual void | selectAll (JNIEnv *env)=0 |
void | undoAvailableSlot (bool available) |
undoAvailable slot. | |
void | redoAvailableSlot (bool available) |
redAvailable slot. | |
void | clipboardDataChanged () |
Clipboard dataChanged slot. | |
Public Member Functions | |
void | undoAvailable (jboolean available) |
Calls undoAvailable method of the TextDocument object. | |
void | redoAvailable (jboolean available) |
Calls redoAvailable method of the TextDocument object. | |
void | cutAvailable (jboolean available) |
Calls cutAvailable method of the TextDocument object. | |
void | copyAvailable (jboolean available) |
Calls copyAvailable method of the TextDocument object. | |
void | pasteAvailable (jboolean available) |
Calls pasteAvailable method of the TextDocument object. | |
void | clearAvailable (jboolean available) |
Calls clearAvailable method of the TextDocument object. | |
void | selectAllAvailable (jboolean available) |
Calls selectAllAvailable method of the TextDocument object. | |
Static Public Member Functions | |
static void | initialize (JNIEnv *env, jclass cls) |
Initializes JQTextComponentBridge class. | |
Protected Member Functions | |
JQTextComponentBridge (JNIEnv *env, jobject obj, QWidget *textComponent) | |
Constructs new JQTextComponentBridge object. |
JQTextComponentBridge::JQTextComponentBridge | ( | JNIEnv * | env, | |
jobject | obj, | |||
QWidget * | textComponent | |||
) | [protected] |
Constructs new JQTextComponentBridge object.
env | the JNIEnv pointer | |
obj | the JQTextComponent object | |
textComponent | the text component |
void JQTextComponentBridge::initialize | ( | JNIEnv * | env, | |
jclass | cls | |||
) | [static] |
Initializes JQTextComponentBridge class.
env | the JNIEnv pointer | |
cls | the JQTextComponent class |
FatalError | if failed |
Reimplemented from JQComponentBridge.
Reimplemented in JQTextAreaBridge, and JQTextPaneBridge.
void JQTextComponentBridge::undoAvailable | ( | jboolean | available | ) |
Calls undoAvailable
method of the TextDocument object.
available | true if available |
void JQTextComponentBridge::redoAvailable | ( | jboolean | available | ) |
Calls redoAvailable
method of the TextDocument object.
available | true if available |
void JQTextComponentBridge::cutAvailable | ( | jboolean | available | ) |
Calls cutAvailable
method of the TextDocument object.
available | true if available |
void JQTextComponentBridge::copyAvailable | ( | jboolean | available | ) |
Calls copyAvailable
method of the TextDocument object.
available | true if available |
void JQTextComponentBridge::pasteAvailable | ( | jboolean | available | ) |
Calls pasteAvailable
method of the TextDocument object.
available | true if available |
void JQTextComponentBridge::clearAvailable | ( | jboolean | available | ) |
Calls clearAvailable
method of the TextDocument object.
available | true if available |
void JQTextComponentBridge::selectAllAvailable | ( | jboolean | available | ) |
Calls selectAllAvailable
method of the TextDocument object.
available | true if available |
void JQTextComponentBridge::undoAvailableSlot | ( | bool | available | ) | [slot] |
undoAvailable
slot.
available | true if available |
void JQTextComponentBridge::redoAvailableSlot | ( | bool | available | ) | [slot] |
redAvailable
slot.
available | true if available |