public interface EditorClientRpc extends ClientRpc
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Tells the client to cancel editing and hide the editor.
|
void |
confirmBind(boolean bindSucceeded)
Confirms a pending
bind request sent
by the client. |
void |
confirmSave(boolean saveSucceeded)
Confirms a pending
save request sent by
the client. |
void |
setErrorMessage(String errorMessage,
List<String> errorColumnsIds)
Sets the displayed error messages for editor.
|
void cancel()
void confirmBind(boolean bindSucceeded)
bind request sent
by the client.bindSucceeded - true if and only if the bind action was successfulvoid confirmSave(boolean saveSucceeded)
save request sent by
the client.saveSucceeded - true if and only if the save action was successfulvoid setErrorMessage(String errorMessage, List<String> errorColumnsIds)
errorMessage - the error message to show the user; null to clearerrorColumnsIds - a list of column ids that should get error markers; empty list
to clearCopyright © 2017 Vaadin Ltd. All rights reserved.