public class TextDeletedEvent extends BaseModelEvent
| 限定符和类型 | 字段和说明 |
|---|---|
int |
index
The index of the first character that was deleted.
|
String |
text
The deleted text.
|
| 构造器和说明 |
|---|
TextDeletedEvent(CollaborativeString target,
String sessionId,
String userId,
int index,
String text) |
public final int index
public final String text
public TextDeletedEvent(CollaborativeString target, String sessionId, String userId, int index, String text)
target - The target object that generated the event.sessionId - The id of the session that initiated the event.userId - The user id of the user that initiated the event.index - The index of the change.text - The deleted text.public int getIndex()
public String getText()
Copyright © 2013. All Rights Reserved.