Package | Description |
---|---|
com.vaadin.collaborationengine |
Modifier and Type | Method and Description |
---|---|
TopicConnection |
CollaborationMap.getConnection()
Gets the topic connection which is used to propagate changes to this map.
|
TopicConnection |
CollaborationList.getConnection()
Gets the topic connection which is used to propagate changes to this
list.
|
Modifier and Type | Method and Description |
---|---|
static void |
CollaborationBinderUtil.addEditor(TopicConnection topicConnection,
String propertyName,
UserInfo user)
Signals that the user is currently editing the field that is bound to the
property.
|
static void |
CollaborationBinderUtil.addEditor(TopicConnection topicConnection,
String propertyName,
UserInfo user,
int fieldIndex)
Signals that the user is currently editing the field that is bound to the
property.
|
static void |
CollaborationBinderUtil.removeEditor(TopicConnection topicConnection,
String propertyName,
UserInfo user)
Signals that the user is not editing the field that is bound to the
property.
|
static void |
CollaborationBinderUtil.setFieldValue(TopicConnection topicConnection,
String propertyName,
Object value)
Sets the property value in the collaboration binders connected to the
same topic, updating the fields which are bound to that property for all
connected clients.
|
Modifier and Type | Method and Description |
---|---|
TopicConnectionRegistration |
CollaborationEngine.openTopicConnection(Component component,
String topicId,
UserInfo localUser,
SerializableFunction<TopicConnection,Registration> connectionActivationCallback)
Opens a connection to the collaboration topic with the provided id based
on a component instance.
|
TopicConnectionRegistration |
CollaborationEngine.openTopicConnection(ConnectionContext context,
String topicId,
UserInfo localUser,
SerializableFunction<TopicConnection,Registration> connectionActivationCallback)
Opens a connection to the collaboration topic with the provided id based
on a generic context definition.
|
Copyright © 2021. All rights reserved.