summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2014-09-25 17:18:08 +0300
committerHenrik Paul <henrik@vaadin.com>2014-10-07 10:41:15 +0000
commit5b3c9bc4ebfcb2837b07327b81831e81db2deccc (patch)
treef6999a78e7eaef8df806bc2d616f635a14582774 /shared
parent3d4d607e18923f12ac1eb0a7934d76f6acba1bbf (diff)
downloadvaadin-framework-5b3c9bc4ebfcb2837b07327b81831e81db2deccc.tar.gz
vaadin-framework-5b3c9bc4ebfcb2837b07327b81831e81db2deccc.zip
Implement ButtonRenderer (#13334)
Change-Id: Id7c6f3cf85f8e75905e86b55edbc1b8782780996
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java b/shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java
new file mode 100644
index 0000000000..f83b5aa44f
--- /dev/null
+++ b/shared/src/com/vaadin/shared/ui/grid/renderers/RendererClickRpc.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2000-2014 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.shared.ui.grid.renderers;
+
+import com.vaadin.shared.MouseEventDetails;
+import com.vaadin.shared.communication.ServerRpc;
+
+public interface RendererClickRpc extends ServerRpc {
+ /**
+ * Called when a click event has occurred and there are server side
+ * listeners for the event.
+ *
+ * @param mouseDetails
+ * Details about the mouse when the event took place
+ */
+ public void click(int row, int column, MouseEventDetails mouseDetails);
+}