diff options
Diffstat (limited to 'src/com/vaadin/shared/ui/button/ButtonServerRpc.java')
-rw-r--r-- | src/com/vaadin/shared/ui/button/ButtonServerRpc.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/com/vaadin/shared/ui/button/ButtonServerRpc.java b/src/com/vaadin/shared/ui/button/ButtonServerRpc.java new file mode 100644 index 0000000000..0e55b07aea --- /dev/null +++ b/src/com/vaadin/shared/ui/button/ButtonServerRpc.java @@ -0,0 +1,28 @@ +/* +@VaadinApache2LicenseForJavaFiles@ + */ +package com.vaadin.shared.ui.button; + +import com.vaadin.shared.MouseEventDetails; +import com.vaadin.shared.communication.ServerRpc; + +/** + * RPC interface for calls from client to server. + * + * @since 7.0 + */ +public interface ButtonServerRpc extends ServerRpc { + /** + * Button click event. + * + * @param mouseEventDetails + * serialized mouse event details + */ + public void click(MouseEventDetails mouseEventDetails); + + /** + * Indicate to the server that the client has disabled the button as a + * result of a click. + */ + public void disableOnClick(); +}
\ No newline at end of file |