public interface EditorServerRpc extends ServerRpc
| Modifier and Type | Method and Description |
|---|---|
void |
bind(String key)
Asks the server to open the editor and bind data to it.
|
void |
cancel(boolean afterBeingSaved)
Tells the server to cancel editing.
|
void |
save()
Asks the server to save unsaved changes in the editor to the bean.
|
void bind(String key)
confirm call before the
client can open the editor.key - the identifier key for edited itemvoid save()
confirm call.void cancel(boolean afterBeingSaved)
afterBeingSaved - if true then this method is called to close editor
after save action, otherwise it represents a cancel actionCopyright © 2017 Vaadin Ltd. All rights reserved.