aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/shared/ui/LayoutClickRpc.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/shared/ui/LayoutClickRpc.java')
-rw-r--r--src/com/vaadin/shared/ui/LayoutClickRpc.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/com/vaadin/shared/ui/LayoutClickRpc.java b/src/com/vaadin/shared/ui/LayoutClickRpc.java
new file mode 100644
index 0000000000..48e62083b1
--- /dev/null
+++ b/src/com/vaadin/shared/ui/LayoutClickRpc.java
@@ -0,0 +1,22 @@
+/*
+@VaadinApache2LicenseForJavaFiles@
+ */
+package com.vaadin.shared.ui;
+
+import com.vaadin.shared.Connector;
+import com.vaadin.shared.MouseEventDetails;
+import com.vaadin.shared.communication.ServerRpc;
+
+public interface LayoutClickRpc extends ServerRpc {
+ /**
+ * Called when a layout click event has occurred and there are server side
+ * listeners for the event.
+ *
+ * @param mouseDetails
+ * Details about the mouse when the event took place
+ * @param clickedConnector
+ * The child component that was the target of the event
+ */
+ public void layoutClick(MouseEventDetails mouseDetails,
+ Connector clickedConnector);
+} \ No newline at end of file