protected class TextViewer.WidgetCommand
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
DocumentEvent |
event
The document event encapsulated by this command.
|
int |
length
The length of the event.
|
java.lang.String |
preservedText
The replaced text segments of
event. |
int |
start
The start of the event.
|
java.lang.String |
text
The inserted and replaced text segments of
event. |
| Modifier | Constructor and Description |
|---|---|
protected |
WidgetCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
setEvent(DocumentEvent e)
Translates a document event into the presentation coordinates of this text viewer.
|
public DocumentEvent event
public int start
public int length
public java.lang.String text
event.public java.lang.String preservedText
event.