io.qt.gui.QAccessibleTextInsertEvent 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;
import io.qt.*;
/**
* Notifies of text being inserted
* Java wrapper for Qt class QAccessibleTextInsertEvent
*/
public class QAccessibleTextInsertEvent extends io.qt.gui.QAccessibleTextCursorEvent
{
/**
* See QAccessibleTextInsertEvent:: QAccessibleTextInsertEvent(QAccessibleInterface*, int, QString)
*/
public QAccessibleTextInsertEvent(io.qt.gui.@Nullable QAccessibleInterface iface, int position, java.lang.@NonNull String text){
super((QPrivateConstructor)null);
initialize_native(this, iface, position, text);
}
private native static void initialize_native(QAccessibleTextInsertEvent instance, io.qt.gui.QAccessibleInterface iface, int position, java.lang.String text);
/**
* See QAccessibleTextInsertEvent:: QAccessibleTextInsertEvent(QObject*, int, QString)
*/
public QAccessibleTextInsertEvent(io.qt.core.@Nullable QObject obj, int position, java.lang.@NonNull String text){
super((QPrivateConstructor)null);
initialize_native(this, obj, position, text);
}
private native static void initialize_native(QAccessibleTextInsertEvent instance, io.qt.core.QObject obj, int position, java.lang.String text);
/**
* See QAccessibleTextInsertEvent:: changePosition()const
*/
@QtUninvokable
public final int changePosition(){
return changePosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int changePosition_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextInsertEvent:: textInserted()const
*/
@QtUninvokable
public final java.lang.@NonNull String textInserted(){
return textInserted_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String textInserted_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextInsertEvent:: m_position
*/
@QtUninvokable
protected final void setPosition(int position){
setPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), position);
}
@QtUninvokable
private native void setPosition_native_int(long __this__nativeId, int position);
/**
* See QAccessibleTextInsertEvent:: m_position
*/
@QtUninvokable
protected final int position(){
return position_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int position_native(long __this__nativeId);
/**
* See QAccessibleTextInsertEvent:: m_text
*/
@QtUninvokable
protected final void setText(java.lang.@NonNull String text){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@QtUninvokable
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QAccessibleTextInsertEvent:: m_text
*/
@QtUninvokable
protected final java.lang.@NonNull String text(){
return text_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String text_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAccessibleTextInsertEvent(QPrivateConstructor p) { super(p); }
/**
* @hidden
* Kotlin property getter. In Java use {@link #position()} instead.
*/
@QtUninvokable
protected final int getPosition() {
return position();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #text()} instead.
*/
@QtUninvokable
protected final java.lang.@NonNull String getText() {
return text();
}
}