java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputMethodEvent
- All Implemented Interfaces:
QtObjectInterface
public class QInputMethodEvent extends QEvent
Parameters for input method events
Java wrapper for Qt class QInputMethodEvent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QInputMethodEvent.Attribute
QInputMethodEvent::Attribute class stores an input method attributestatic class
QInputMethodEvent.AttributeType
Java wrapper for Qt enum QInputMethodEvent::AttributeType -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QInputMethodEvent()
QInputMethodEvent(QInputMethodEvent other)
protected
QInputMethodEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only.QInputMethodEvent(String preeditText, Collection<QInputMethodEvent.Attribute> attributes)
-
Method Summary
Modifier and Type Method Description QList<QInputMethodEvent.Attribute>
attributes()
String
commitString()
String
preeditString()
int
replacementLength()
int
replacementStart()
void
setCommitString(String commitString)
Overloaded function forsetCommitString(java.lang.String, int, int)
void
setCommitString(String commitString, int replaceFrom)
Overloaded function forsetCommitString(java.lang.String, int, int)
withreplaceLength = 0
.void
setCommitString(String commitString, int replaceFrom, int replaceLength)
String
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
-
Constructor Details
-
QInputMethodEvent
public QInputMethodEvent() -
QInputMethodEvent
-
QInputMethodEvent
-
QInputMethodEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
attributes
-
commitString
-
preeditString
-
replacementLength
-
replacementStart
-
setCommitString
Overloaded function for
setCommitString(java.lang.String, int, int)
withreplaceLength = 0
. -
setCommitString
Overloaded function for
setCommitString(java.lang.String, int, int)
with:
replaceFrom = 0
replaceLength = 0
-
setCommitString
@QtUninvokable public final void setCommitString(String commitString, int replaceFrom, int replaceLength) -
toString
-