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 class QAccessibleTextUpdateEvent
-
Constructor Summary
ConstructorDescriptionQAccessibleTextUpdateEvent
(QObject obj, int position, String oldText, String text) QAccessibleTextUpdateEvent
(QAccessibleInterface iface, int position, String oldText, String text) -
Method Summary
Modifier and TypeMethodDescriptionfinal int
protected final String
oldText()
SeeQAccessibleTextUpdateEvent::
m_oldText protected final int
position()
SeeQAccessibleTextUpdateEvent::
m_position protected final void
setOldText
(String oldText) SeeQAccessibleTextUpdateEvent::
m_oldText protected final void
setPosition
(int position) SeeQAccessibleTextUpdateEvent::
m_position protected final void
SeeQAccessibleTextUpdateEvent::
m_text protected final String
text()
SeeQAccessibleTextUpdateEvent::
m_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) See
QAccessibleTextUpdateEvent::
QAccessibleTextUpdateEvent(QAccessibleInterface*, int, QString, QString) - Parameters:
iface
-position
-oldText
-text
-
-
QAccessibleTextUpdateEvent
- Parameters:
obj
-position
-oldText
-text
-
-
-
Method Details
-
changePosition
- Returns:
-
textInserted
- Returns:
-
textRemoved
- Returns:
-
setOldText
See
QAccessibleTextUpdateEvent::
m_oldText - Parameters:
oldText
-
-
oldText
See
QAccessibleTextUpdateEvent::
m_oldText - Returns:
-
setPosition
See
QAccessibleTextUpdateEvent::
m_position - Parameters:
position
-
-
position
See
QAccessibleTextUpdateEvent::
m_position - Returns:
-
setText
See
QAccessibleTextUpdateEvent::
m_text - Parameters:
text
-
-
text
See
QAccessibleTextUpdateEvent::
m_text - Returns:
-