public abstract class BaseModelEvent extends Object implements Disposable
| 限定符和类型 | 字段和说明 |
|---|---|
boolean |
bubbles
Whether this event should bubble to ancestors.
|
boolean |
isLocal
Whether this event originated in the local session.
|
String |
sessionId
The id of the session that initiated the event.
|
EventType |
type
Event type.
|
String |
userId
The user id of the user that initiated the event.
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
BaseModelEvent(EventType type,
CollaborativeObject target,
String sessionId,
String userId,
boolean bubbles) |
public final boolean bubbles
public final boolean isLocal
public final String sessionId
public final EventType type
public final String userId
protected BaseModelEvent(EventType type, CollaborativeObject target, String sessionId, String userId, boolean bubbles)
type - The event type.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.bubbles - Whether or not this event should bubble to ancestors.public String getSessionId()
public CollaborativeObject getTarget()
public EventType getType()
public String getUserId()
public boolean isBubbles()
public boolean isLocal()
Copyright © 2013. All Rights Reserved.