public class TextChangingEvent extends TypedEvent
| Modifier and Type | Field and Description |
|---|---|
int |
newCharCount
Length of text that is going to be inserted
|
int |
newLineCount
Number of new lines that are going to be inserted
|
java.lang.String |
newText
Text that is going to be inserted or empty string
if no text will be inserted
|
int |
replaceCharCount
Length of text that is going to be replaced
|
int |
replaceLineCount
Number of lines that are going to be replaced
|
(package private) static long |
serialVersionUID |
int |
start
Start offset of the text that is going to be replaced
|
data, display, time, widget| Constructor and Description |
|---|
TextChangingEvent(StyledTextContent source)
Create the TextChangedEvent to be used by the StyledTextContent implementor.
|
TextChangingEvent(StyledTextContent source,
StyledTextEvent e) |
toStringpublic int start
public java.lang.String newText
public int replaceCharCount
public int newCharCount
public int replaceLineCount
public int newLineCount
static final long serialVersionUID
public TextChangingEvent(StyledTextContent source)
source - the object that will be sending the new TextChangingEvent,
cannot be nullTextChangingEvent(StyledTextContent source, StyledTextEvent e)