java.lang.Object
io.qt.QtObject
io.qt.gui.QAccessibleEvent
io.qt.gui.QAccessibleTextCursorEvent
io.qt.gui.QAccessibleTextUpdateEvent
- All Implemented Interfaces:
QtObjectInterface
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's class QAccessibleTextUpdateEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQAccessibleTextUpdateEvent
(QObject obj, int position, String oldText, String text) QAccessibleTextUpdateEvent
(QAccessibleInterface iface, int position, String oldText, String text) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
protected final String
oldText()
protected final int
position()
protected final void
setOldText
(String oldText) protected final void
setPosition
(int position) protected final void
protected final String
text()
final String
final String
Methods inherited from class io.qt.gui.QAccessibleTextCursorEvent
cursorPosition, setCursorPosition
Methods inherited from class io.qt.gui.QAccessibleEvent
accessibleInterface, child, object, setChild, toString, type, uniqueId
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QAccessibleTextUpdateEvent
public QAccessibleTextUpdateEvent(QAccessibleInterface iface, int position, String oldText, String text) -
QAccessibleTextUpdateEvent
-
QAccessibleTextUpdateEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
changePosition
-
textInserted
-
textRemoved
-
setOldText
-
oldText
-
setPosition
-
position
-
setText
-
text
-