Package com.vaadin.v7.shared.ui.grid
Interface EditorClientRpc
-
- All Superinterfaces:
ClientRpc,Serializable
public interface EditorClientRpc extends ClientRpc
An RPC interface for the grid editor server-to-client communications.- Since:
- 7.4
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbind(int rowIndex)Tells the client to open the editor and bind data to it.voidcancel(int rowIndex)Tells the client to cancel editing and hide the editor.voidconfirmBind(boolean bindSucceeded)Confirms a pendingbind requestsent by the client.voidconfirmSave(boolean saveSucceeded, String errorMessage, List<String> errorColumnsIds)Confirms a pendingsave requestsent by the client.
-
-
-
Method Detail
-
bind
void bind(int rowIndex)
Tells the client to open the editor and bind data to it.- Parameters:
rowIndex- the index of the edited row
-
cancel
void cancel(int rowIndex)
Tells the client to cancel editing and hide the editor.- Parameters:
rowIndex- the index of the edited row
-
confirmBind
void confirmBind(boolean bindSucceeded)
Confirms a pendingbind requestsent by the client.- Parameters:
bindSucceeded-trueif the bind action was successful
-
confirmSave
void confirmSave(boolean saveSucceeded, String errorMessage, List<String> errorColumnsIds)Confirms a pendingsave requestsent by the client.- Parameters:
saveSucceeded-trueif the save action was successfulerrorMessage- the error message to show the usererrorColumnsIds- a list of column keys that should get error markers, ornullif there should be no error markers
-
-