io.qt.gui.QAccessibleTextUpdateEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
/**
* Notifies about text changes. This is for accessibles that support editable text such as line edits. This event occurs for example when a portion of selected text gets replaced by pasting a new text or in override mode of editors
* Java wrapper for Qt class QAccessibleTextUpdateEvent
*/
public class QAccessibleTextUpdateEvent extends io.qt.gui.QAccessibleTextCursorEvent
{
/**
* See QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QAccessibleInterface*,int,QString,QString)
*/
public QAccessibleTextUpdateEvent(io.qt.gui.QAccessibleInterface iface, int position, java.lang.String oldText, java.lang.String text){
super((QPrivateConstructor)null);
initialize_native(this, iface, position, oldText, text);
}
private native static void initialize_native(QAccessibleTextUpdateEvent instance, io.qt.gui.QAccessibleInterface iface, int position, java.lang.String oldText, java.lang.String text);
/**
* See QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QObject*,int,QString,QString)
*/
public QAccessibleTextUpdateEvent(io.qt.core.QObject obj, int position, java.lang.String oldText, java.lang.String text){
super((QPrivateConstructor)null);
initialize_native(this, obj, position, oldText, text);
}
private native static void initialize_native(QAccessibleTextUpdateEvent instance, io.qt.core.QObject obj, int position, java.lang.String oldText, java.lang.String text);
/**
* See QAccessibleTextUpdateEvent::changePosition()const
*/
@io.qt.QtUninvokable
public final int changePosition(){
return changePosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int changePosition_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextUpdateEvent::textInserted()const
*/
@io.qt.QtUninvokable
public final java.lang.String textInserted(){
return textInserted_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String textInserted_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextUpdateEvent::textRemoved()const
*/
@io.qt.QtUninvokable
public final java.lang.String textRemoved(){
return textRemoved_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String textRemoved_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void setOldText(java.lang.String oldText){
setOldText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), oldText);
}
@io.qt.QtUninvokable
private native void setOldText_native_cref_QString(long __this__nativeId, java.lang.String oldText);
@io.qt.QtUninvokable
protected final java.lang.String oldText(){
return oldText_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String oldText_native(long __this__nativeId);
@io.qt.QtUninvokable
protected final void setPosition(int position){
setPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), position);
}
@io.qt.QtUninvokable
private native void setPosition_native_int(long __this__nativeId, int position);
@io.qt.QtUninvokable
protected final int position(){
return position_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int position_native(long __this__nativeId);
@io.qt.QtUninvokable
protected final void setText(java.lang.String text){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@io.qt.QtUninvokable
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text);
@io.qt.QtUninvokable
protected final java.lang.String text(){
return text_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String text_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QAccessibleTextUpdateEvent(QPrivateConstructor p) { super(p); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy