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

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

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

import io.qt.*;


/**
 * 

Implements support for text handling

*

Java wrapper for Qt class QAccessibleTextInterface

*/ public interface QAccessibleTextInterface extends QtObjectInterface { /** * @hidden *

Implementor class for interface {@link io.qt.gui.QAccessibleTextInterface}

*/ public static abstract class Impl extends QtObject implements io.qt.gui.QAccessibleTextInterface { static { QtJambi_LibraryUtilities.initialize(); } @NativeAccess private static final class ConcreteWrapper extends QAccessibleTextInterface.Impl { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @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 @QtUninvokable public java.lang.@NonNull 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 @QtUninvokable public int characterCount(){ return characterCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int characterCount_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.core.@NonNull 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 @QtUninvokable public int cursorPosition(){ return cursorPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int cursorPosition_native_constfct(long __this__nativeId); @Override @QtUninvokable public int offsetAtPoint(io.qt.core.@NonNull 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 @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 @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 @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 @QtUninvokable public int selectionCount(){ return selectionCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int selectionCount_native_constfct(long __this__nativeId); @Override @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 @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 @QtUninvokable public java.lang.@NonNull 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); } /** *

See QAccessibleTextInterface::QAccessibleTextInterface()

*/ public Impl(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QAccessibleTextInterface instance); /** *

See QAccessibleTextInterface::addSelection(int,int)

*/ @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

*/ @QtUninvokable public abstract java.lang.@NonNull 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

*/ @QtUninvokable public abstract int characterCount(); private native static int characterCount_native_constfct(long __this__nativeId); /** *

See QAccessibleTextInterface::characterRect(int)const

*/ @QtUninvokable public abstract io.qt.core.@NonNull QRect characterRect(int offset); private native static io.qt.core.QRect characterRect_native_int_constfct(long __this__nativeId, int offset); /** *

See QAccessibleTextInterface::cursorPosition()const

*/ @QtUninvokable public abstract int cursorPosition(); private native static int cursorPosition_native_constfct(long __this__nativeId); /** *

See QAccessibleTextInterface::offsetAtPoint(QPoint)const

*/ @QtUninvokable public abstract int offsetAtPoint(io.qt.core.@NonNull QPoint point); private native static int offsetAtPoint_native_cref_QPoint_constfct(long __this__nativeId, long point); /** *

See QAccessibleTextInterface::removeSelection(int)

*/ @QtUninvokable public abstract void removeSelection(int selectionIndex); private native static void removeSelection_native_int(long __this__nativeId, int selectionIndex); /** *

See QAccessibleTextInterface::scrollToSubstring(int,int)

*/ @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

*/ @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

*/ @QtUninvokable public abstract int selectionCount(); private native static int selectionCount_native_constfct(long __this__nativeId); /** *

See QAccessibleTextInterface::setCursorPosition(int)

*/ @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)

*/ @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

*/ @QtUninvokable public abstract java.lang.@NonNull 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

*/ @QtUninvokable public java.lang.@NonNull String textAfterOffset(int offset, io.qt.gui.QAccessible.@NonNull 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

*/ @QtUninvokable public java.lang.@NonNull String textAtOffset(int offset, io.qt.gui.QAccessible.@NonNull 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

*/ @QtUninvokable public java.lang.@NonNull String textBeforeOffset(int offset, io.qt.gui.QAccessible.@NonNull 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. * @hidden */ @NativeAccess protected Impl(QPrivateConstructor p) { super(p); } } /** *

See QAccessibleTextInterface::addSelection(int,int)

*/ @QtUninvokable public void addSelection(int startOffset, int endOffset); /** *

See QAccessibleTextInterface::attributes(int,int*,int*)const

*/ @QtUninvokable public java.lang.@NonNull String attributes(int offset, int[] startOffset, int[] endOffset); /** *

See QAccessibleTextInterface::characterCount()const

*/ @QtUninvokable public int characterCount(); /** *

See QAccessibleTextInterface::characterRect(int)const

*/ @QtUninvokable public io.qt.core.@NonNull QRect characterRect(int offset); /** *

See QAccessibleTextInterface::cursorPosition()const

*/ @QtUninvokable public int cursorPosition(); /** *

See QAccessibleTextInterface::offsetAtPoint(QPoint)const

*/ @QtUninvokable public int offsetAtPoint(io.qt.core.@NonNull QPoint point); /** *

See QAccessibleTextInterface::removeSelection(int)

*/ @QtUninvokable public void removeSelection(int selectionIndex); /** *

See QAccessibleTextInterface::scrollToSubstring(int,int)

*/ @QtUninvokable public void scrollToSubstring(int startIndex, int endIndex); /** *

See QAccessibleTextInterface::selection(int,int*,int*)const

*/ @QtUninvokable public void selection(int selectionIndex, int[] startOffset, int[] endOffset); /** *

See QAccessibleTextInterface::selectionCount()const

*/ @QtUninvokable public int selectionCount(); /** *

See QAccessibleTextInterface::setCursorPosition(int)

*/ @QtUninvokable public void setCursorPosition(int position); /** *

See QAccessibleTextInterface::setSelection(int,int,int)

*/ @QtUninvokable public void setSelection(int selectionIndex, int startOffset, int endOffset); /** *

See QAccessibleTextInterface::text(int,int)const

*/ @QtUninvokable public java.lang.@NonNull String text(int startOffset, int endOffset); /** *

See QAccessibleTextInterface::textAfterOffset(int,QAccessible::TextBoundaryType,int*,int*)const

*/ @QtUninvokable public default java.lang.@NonNull String textAfterOffset(int offset, io.qt.gui.QAccessible.@NonNull 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

*/ @QtUninvokable public default java.lang.@NonNull String textAtOffset(int offset, io.qt.gui.QAccessible.@NonNull 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

*/ @QtUninvokable public default java.lang.@NonNull String textBeforeOffset(int offset, io.qt.gui.QAccessible.@NonNull 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); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy