- All Superinterfaces:
QtObjectInterface
Implements support for text handling
Java wrapper for Qt class QAccessibleTextInterface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSelection
(int startOffset, int endOffset) attributes
(int offset, int[] startOffset, int[] endOffset) int
characterRect
(int offset) int
int
offsetAtPoint
(QPoint point) void
removeSelection
(int selectionIndex) void
scrollToSubstring
(int startIndex, int endIndex) void
selection
(int selectionIndex, int[] startOffset, int[] endOffset) int
void
setCursorPosition
(int position) void
setSelection
(int selectionIndex, int startOffset, int endOffset) text
(int startOffset, int endOffset) default String
textAfterOffset
(int offset, QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset) default String
textAtOffset
(int offset, QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset) default String
textBeforeOffset
(int offset, QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset) Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
addSelection
- Parameters:
startOffset
-endOffset
-
-
attributes
- Parameters:
offset
-startOffset
-endOffset
-- Returns:
-
characterCount
- Returns:
-
characterRect
- Parameters:
offset
-- Returns:
-
cursorPosition
- Returns:
-
offsetAtPoint
- Parameters:
point
-- Returns:
-
removeSelection
- Parameters:
selectionIndex
-
-
scrollToSubstring
- Parameters:
startIndex
-endIndex
-
-
selection
- Parameters:
selectionIndex
-startOffset
-endOffset
-
-
selectionCount
- Returns:
-
setCursorPosition
- Parameters:
position
-
-
setSelection
- Parameters:
selectionIndex
-startOffset
-endOffset
-
-
text
- Parameters:
startOffset
-endOffset
-- Returns:
-
textAfterOffset
@QtUninvokable default String textAfterOffset(int offset, QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset) - Parameters:
offset
-boundaryType
-startOffset
-endOffset
-- Returns:
-
textAtOffset
@QtUninvokable default String textAtOffset(int offset, QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset) - Parameters:
offset
-boundaryType
-startOffset
-endOffset
-- Returns:
-
textBeforeOffset
@QtUninvokable default String textBeforeOffset(int offset, QAccessible.TextBoundaryType boundaryType, int[] startOffset, int[] endOffset) - Parameters:
offset
-boundaryType
-startOffset
-endOffset
-- Returns:
-