io.qt.gui.QAccessibleTextInterface Maven / Gradle / Ivy
package io.qt.gui;
/**
* Implements support for text handling
* Java wrapper for Qt class QAccessibleTextInterface
*/
public interface QAccessibleTextInterface extends io.qt.QtObjectInterface
{
/**
* Implementor class for interface {@link io.qt.gui.QAccessibleTextInterface}
*/
public static abstract class Impl extends io.qt.QtObject
implements io.qt.gui.QAccessibleTextInterface
{
static {
QtJambi_LibraryUtilities.initialize();
}
@io.qt.NativeAccess
private static final class ConcreteWrapper extends QAccessibleTextInterface.Impl {
@io.qt.NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public void addSelection(int startOffset, int endOffset){
addSelection_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), startOffset, endOffset);
}
private native static void addSelection_native_int_int(long __this__nativeId, int startOffset, int endOffset);
@Override
@io.qt.QtUninvokable
public java.lang.String attributes(int offset, int[] startOffset, int[] endOffset){
return attributes_native_int_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset, startOffset, endOffset);
}
private native static java.lang.String attributes_native_int_int_ptr_int_ptr_constfct(long __this__nativeId, int offset, int[] startOffset, int[] endOffset);
@Override
@io.qt.QtUninvokable
public int characterCount(){
return characterCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int characterCount_native_constfct(long __this__nativeId);
@Override
@io.qt.QtUninvokable
public io.qt.core.QRect characterRect(int offset){
return characterRect_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset);
}
private native static io.qt.core.QRect characterRect_native_int_constfct(long __this__nativeId, int offset);
@Override
@io.qt.QtUninvokable
public int cursorPosition(){
return cursorPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int cursorPosition_native_constfct(long __this__nativeId);
@Override
@io.qt.QtUninvokable
public int offsetAtPoint(io.qt.core.QPoint point){
return offsetAtPoint_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point));
}
private native static int offsetAtPoint_native_cref_QPoint_constfct(long __this__nativeId, long point);
@Override
@io.qt.QtUninvokable
public void removeSelection(int selectionIndex){
removeSelection_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), selectionIndex);
}
private native static void removeSelection_native_int(long __this__nativeId, int selectionIndex);
@Override
@io.qt.QtUninvokable
public void scrollToSubstring(int startIndex, int endIndex){
scrollToSubstring_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), startIndex, endIndex);
}
private native static void scrollToSubstring_native_int_int(long __this__nativeId, int startIndex, int endIndex);
@Override
@io.qt.QtUninvokable
public void selection(int selectionIndex, int[] startOffset, int[] endOffset){
selection_native_int_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), selectionIndex, startOffset, endOffset);
}
private native static void selection_native_int_int_ptr_int_ptr_constfct(long __this__nativeId, int selectionIndex, int[] startOffset, int[] endOffset);
@Override
@io.qt.QtUninvokable
public int selectionCount(){
return selectionCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int selectionCount_native_constfct(long __this__nativeId);
@Override
@io.qt.QtUninvokable
public void setCursorPosition(int position){
setCursorPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), position);
}
private native static void setCursorPosition_native_int(long __this__nativeId, int position);
@Override
@io.qt.QtUninvokable
public void setSelection(int selectionIndex, int startOffset, int endOffset){
setSelection_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), selectionIndex, startOffset, endOffset);
}
private native static void setSelection_native_int_int_int(long __this__nativeId, int selectionIndex, int startOffset, int endOffset);
@Override
@io.qt.QtUninvokable
public java.lang.String text(int startOffset, int endOffset){
return text_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), startOffset, endOffset);
}
private native static java.lang.String text_native_int_int_constfct(long __this__nativeId, int startOffset, int endOffset);
}
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QAccessibleTextInterface instance);
/**
* See QAccessibleTextInterface::addSelection(int,int)
*/
@io.qt.QtUninvokable
public abstract void addSelection(int startOffset, int endOffset);
private native static void addSelection_native_int_int(long __this__nativeId, int startOffset, int endOffset);
/**
* See QAccessibleTextInterface::attributes(int,int*,int*)const
*/
@io.qt.QtUninvokable
public abstract java.lang.String attributes(int offset, int[] startOffset, int[] endOffset);
private native static java.lang.String attributes_native_int_int_ptr_int_ptr_constfct(long __this__nativeId, int offset, int[] startOffset, int[] endOffset);
/**
* See QAccessibleTextInterface::characterCount()const
*/
@io.qt.QtUninvokable
public abstract int characterCount();
private native static int characterCount_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextInterface::characterRect(int)const
*/
@io.qt.QtUninvokable
public abstract io.qt.core.QRect characterRect(int offset);
private native static io.qt.core.QRect characterRect_native_int_constfct(long __this__nativeId, int offset);
/**
* See QAccessibleTextInterface::cursorPosition()const
*/
@io.qt.QtUninvokable
public abstract int cursorPosition();
private native static int cursorPosition_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextInterface::offsetAtPoint(QPoint)const
*/
@io.qt.QtUninvokable
public abstract int offsetAtPoint(io.qt.core.QPoint point);
private native static int offsetAtPoint_native_cref_QPoint_constfct(long __this__nativeId, long point);
/**
* See QAccessibleTextInterface::removeSelection(int)
*/
@io.qt.QtUninvokable
public abstract void removeSelection(int selectionIndex);
private native static void removeSelection_native_int(long __this__nativeId, int selectionIndex);
/**
* See QAccessibleTextInterface::scrollToSubstring(int,int)
*/
@io.qt.QtUninvokable
public abstract void scrollToSubstring(int startIndex, int endIndex);
private native static void scrollToSubstring_native_int_int(long __this__nativeId, int startIndex, int endIndex);
/**
* See QAccessibleTextInterface::selection(int,int*,int*)const
*/
@io.qt.QtUninvokable
public abstract void selection(int selectionIndex, int[] startOffset, int[] endOffset);
private native static void selection_native_int_int_ptr_int_ptr_constfct(long __this__nativeId, int selectionIndex, int[] startOffset, int[] endOffset);
/**
* See QAccessibleTextInterface::selectionCount()const
*/
@io.qt.QtUninvokable
public abstract int selectionCount();
private native static int selectionCount_native_constfct(long __this__nativeId);
/**
* See QAccessibleTextInterface::setCursorPosition(int)
*/
@io.qt.QtUninvokable
public abstract void setCursorPosition(int position);
private native static void setCursorPosition_native_int(long __this__nativeId, int position);
/**
* See QAccessibleTextInterface::setSelection(int,int,int)
*/
@io.qt.QtUninvokable
public abstract void setSelection(int selectionIndex, int startOffset, int endOffset);
private native static void setSelection_native_int_int_int(long __this__nativeId, int selectionIndex, int startOffset, int endOffset);
/**
* See QAccessibleTextInterface::text(int,int)const
*/
@io.qt.QtUninvokable
public abstract java.lang.String text(int startOffset, int endOffset);
private native static java.lang.String text_native_int_int_constfct(long __this__nativeId, int startOffset, int endOffset);
/**
* See QAccessibleTextInterface::textAfterOffset(int,QAccessible::TextBoundaryType,int*,int*)const
*/
@io.qt.QtUninvokable
public java.lang.String textAfterOffset(int offset, io.qt.gui.QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset){
return textAfterOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset, boundaryType.value(), startOffset, endOffset);
}
private native static java.lang.String textAfterOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(long __this__nativeId, int offset, int boundaryType, int[] startOffset, int[] endOffset);
/**
* See QAccessibleTextInterface::textAtOffset(int,QAccessible::TextBoundaryType,int*,int*)const
*/
@io.qt.QtUninvokable
public java.lang.String textAtOffset(int offset, io.qt.gui.QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset){
return textAtOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset, boundaryType.value(), startOffset, endOffset);
}
private native static java.lang.String textAtOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(long __this__nativeId, int offset, int boundaryType, int[] startOffset, int[] endOffset);
/**
* See QAccessibleTextInterface::textBeforeOffset(int,QAccessible::TextBoundaryType,int*,int*)const
*/
@io.qt.QtUninvokable
public java.lang.String textBeforeOffset(int offset, io.qt.gui.QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset){
return textBeforeOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset, boundaryType.value(), startOffset, endOffset);
}
private native static java.lang.String textBeforeOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(long __this__nativeId, int offset, int boundaryType, int[] startOffset, int[] endOffset);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QAccessibleTextInterface::addSelection(int,int)
*/
@io.qt.QtUninvokable
public void addSelection(int startOffset, int endOffset);
/**
* See QAccessibleTextInterface::attributes(int,int*,int*)const
*/
@io.qt.QtUninvokable
public java.lang.String attributes(int offset, int[] startOffset, int[] endOffset);
/**
* See QAccessibleTextInterface::characterCount()const
*/
@io.qt.QtUninvokable
public int characterCount();
/**
* See QAccessibleTextInterface::characterRect(int)const
*/
@io.qt.QtUninvokable
public io.qt.core.QRect characterRect(int offset);
/**
* See QAccessibleTextInterface::cursorPosition()const
*/
@io.qt.QtUninvokable
public int cursorPosition();
/**
* See QAccessibleTextInterface::offsetAtPoint(QPoint)const
*/
@io.qt.QtUninvokable
public int offsetAtPoint(io.qt.core.QPoint point);
/**
* See QAccessibleTextInterface::removeSelection(int)
*/
@io.qt.QtUninvokable
public void removeSelection(int selectionIndex);
/**
* See QAccessibleTextInterface::scrollToSubstring(int,int)
*/
@io.qt.QtUninvokable
public void scrollToSubstring(int startIndex, int endIndex);
/**
* See QAccessibleTextInterface::selection(int,int*,int*)const
*/
@io.qt.QtUninvokable
public void selection(int selectionIndex, int[] startOffset, int[] endOffset);
/**
* See QAccessibleTextInterface::selectionCount()const
*/
@io.qt.QtUninvokable
public int selectionCount();
/**
* See QAccessibleTextInterface::setCursorPosition(int)
*/
@io.qt.QtUninvokable
public void setCursorPosition(int position);
/**
* See QAccessibleTextInterface::setSelection(int,int,int)
*/
@io.qt.QtUninvokable
public void setSelection(int selectionIndex, int startOffset, int endOffset);
/**
* See QAccessibleTextInterface::text(int,int)const
*/
@io.qt.QtUninvokable
public java.lang.String text(int startOffset, int endOffset);
/**
* See QAccessibleTextInterface::textAfterOffset(int,QAccessible::TextBoundaryType,int*,int*)const
*/
@io.qt.QtUninvokable
public default java.lang.String textAfterOffset(int offset, io.qt.gui.QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset){
return Impl.textAfterOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset, boundaryType.value(), startOffset, endOffset);
}
/**
* See QAccessibleTextInterface::textAtOffset(int,QAccessible::TextBoundaryType,int*,int*)const
*/
@io.qt.QtUninvokable
public default java.lang.String textAtOffset(int offset, io.qt.gui.QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset){
return Impl.textAtOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset, boundaryType.value(), startOffset, endOffset);
}
/**
* See QAccessibleTextInterface::textBeforeOffset(int,QAccessible::TextBoundaryType,int*,int*)const
*/
@io.qt.QtUninvokable
public default java.lang.String textBeforeOffset(int offset, io.qt.gui.QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset){
return Impl.textBeforeOffset_native_int_QAccessible_TextBoundaryType_int_ptr_int_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), offset, boundaryType.value(), startOffset, endOffset);
}
}