All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QAccessibleTextUpdateEvent Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

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.@Nullable QAccessibleInterface iface, int position, java.lang.@NonNull String oldText, java.lang.@NonNull 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.@Nullable QObject obj, int position, java.lang.@NonNull String oldText, java.lang.@NonNull 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

*/ @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 QAccessibleTextUpdateEvent::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 QAccessibleTextUpdateEvent::textRemoved()const

*/ @QtUninvokable public final java.lang.@NonNull String textRemoved(){ return textRemoved_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String textRemoved_native_constfct(long __this__nativeId); /** *

See QAccessibleTextUpdateEvent::m_oldText

*/ @QtUninvokable protected final void setOldText(java.lang.@NonNull String oldText){ setOldText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), oldText); } @QtUninvokable private native void setOldText_native_cref_QString(long __this__nativeId, java.lang.String oldText); /** *

See QAccessibleTextUpdateEvent::m_oldText

*/ @QtUninvokable protected final java.lang.@NonNull String oldText(){ return oldText_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String oldText_native(long __this__nativeId); /** *

See QAccessibleTextUpdateEvent::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 QAccessibleTextUpdateEvent::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 QAccessibleTextUpdateEvent::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 QAccessibleTextUpdateEvent::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 QAccessibleTextUpdateEvent(QPrivateConstructor p) { super(p); } /** * @hidden *

Kotlin property getter. In Java use {@link #oldText()} instead.

*/ @QtUninvokable protected final java.lang.@NonNull String getOldText() { return oldText(); } /** * @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(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy