io.qt.gui.QAccessibleEditableTextInterface 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.*;
/**
* Implements support for objects with editable text
* Java wrapper for Qt class QAccessibleEditableTextInterface
*/
public interface QAccessibleEditableTextInterface extends QtObjectInterface
{
/**
* @hidden
* Implementor class for interface {@link io.qt.gui.QAccessibleEditableTextInterface}
*/
public static abstract class Impl extends QtObject
implements io.qt.gui.QAccessibleEditableTextInterface
{
static {
QtJambi_LibraryUtilities.initialize();
}
@NativeAccess
private static final class ConcreteWrapper extends QAccessibleEditableTextInterface.Impl {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public void deleteText(int startOffset, int endOffset){
deleteText_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), startOffset, endOffset);
}
private native static void deleteText_native_int_int(long __this__nativeId, int startOffset, int endOffset);
@Override
@QtUninvokable
public void insertText(int offset, java.lang.@NonNull String text){
insertText_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), offset, text);
}
private native static void insertText_native_int_cref_QString(long __this__nativeId, int offset, java.lang.String text);
@Override
@QtUninvokable
public void replaceText(int startOffset, int endOffset, java.lang.@NonNull String text){
replaceText_native_int_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), startOffset, endOffset, text);
}
private native static void replaceText_native_int_int_cref_QString(long __this__nativeId, int startOffset, int endOffset, java.lang.String text);
}
/**
* See QAccessibleEditableTextInterface:: QAccessibleEditableTextInterface()
*/
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QAccessibleEditableTextInterface instance);
/**
* See QAccessibleEditableTextInterface:: deleteText(int, int)
*/
@QtUninvokable
public abstract void deleteText(int startOffset, int endOffset);
private native static void deleteText_native_int_int(long __this__nativeId, int startOffset, int endOffset);
/**
* See QAccessibleEditableTextInterface:: insertText(int, QString)
*/
@QtUninvokable
public abstract void insertText(int offset, java.lang.@NonNull String text);
private native static void insertText_native_int_cref_QString(long __this__nativeId, int offset, java.lang.String text);
/**
* See QAccessibleEditableTextInterface:: replaceText(int, int, QString)
*/
@QtUninvokable
public abstract void replaceText(int startOffset, int endOffset, java.lang.@NonNull String text);
private native static void replaceText_native_int_int_cref_QString(long __this__nativeId, int startOffset, int endOffset, java.lang.String text);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QAccessibleEditableTextInterface:: deleteText(int, int)
*/
@QtUninvokable
public void deleteText(int startOffset, int endOffset);
/**
* See QAccessibleEditableTextInterface:: insertText(int, QString)
*/
@QtUninvokable
public void insertText(int offset, java.lang.@NonNull String text);
/**
* See QAccessibleEditableTextInterface:: replaceText(int, int, QString)
*/
@QtUninvokable
public void replaceText(int startOffset, int endOffset, java.lang.@NonNull String text);
}