protected class OnlyofficeEditorUIService.EditorListener extends Object implements OnlyofficeEditorListener
addEditorListener method. When
the editor event occurs, that object's appropriate
method is invoked.| Modifier | Constructor and Description |
|---|---|
protected |
EditorListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCreate(Config config)
New editor just created.
|
void |
onError(Config config)
Error saving document in editor.
|
void |
onGet(Config config)
Existing editor obtained by user.
|
void |
onJoined(Config config)
User joined co-editing document (it's second or more user).
|
void |
onLeaved(Config config)
User leaved co-editing document (it's at least second user gone).
|
void |
onSaved(Config config)
Document was saved and editor released.
|
public void onCreate(Config config)
onCreate in interface OnlyofficeEditorListenerconfig - the configpublic void onGet(Config config)
onGet in interface OnlyofficeEditorListenerconfig - the configpublic void onJoined(Config config)
onJoined in interface OnlyofficeEditorListenerconfig - the configpublic void onLeaved(Config config)
onLeaved in interface OnlyofficeEditorListenerconfig - the configpublic void onSaved(Config config)
onSaved in interface OnlyofficeEditorListenerconfig - the configpublic void onError(Config config)
Config.getError().onError in interface OnlyofficeEditorListenerconfig - the configCopyright © 2003–2018 eXo Platform SAS. All rights reserved.