Package rocks.xmpp.extensions.rtt.model
Class RealTimeText.InsertText
- java.lang.Object
-
- rocks.xmpp.extensions.rtt.model.RealTimeText.Action
-
- rocks.xmpp.extensions.rtt.model.RealTimeText.InsertText
-
- Enclosing class:
- RealTimeText
public static final class RealTimeText.InsertText extends RealTimeText.Action
The implementation of the<t/>element.4.6.3.1 Element
<t/>- Insert TextSupports the transmission of text, including key presses, and text block inserts.
-
-
Constructor Summary
Constructors Constructor Description InsertText(CharSequence text)InsertText(CharSequence text, Integer position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetPosition()Gets the character position.StringgetText()Gets the text.StringtoString()
-
-
-
Constructor Detail
-
InsertText
public InsertText(CharSequence text)
- Parameters:
text- The text.
-
InsertText
public InsertText(CharSequence text, Integer position)
- Parameters:
text- The text.position- The position, where the text is inserted.
-
-