summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2014-12-19 13:57:23 +0200
committerHenrik Paul <henrik@vaadin.com>2015-01-08 13:50:19 +0200
commitd4e633d49441123bda15c90f4aa657bda31ee43c (patch)
tree8adab68ec8fa7a3be157715ad7c37d8e55237135 /server
parent81165cf0bdb7821f28aa40e9689969adfddb666f (diff)
downloadvaadin-framework-d4e633d49441123bda15c90f4aa657bda31ee43c.tar.gz
vaadin-framework-d4e633d49441123bda15c90f4aa657bda31ee43c.zip
RendererClickEvent now tells about propertyIds (#13334)
Change-Id: I5d67516516c46984c965577653b4fb44ddbaff11
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/renderer/ClickableRenderer.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/renderer/ClickableRenderer.java b/server/src/com/vaadin/ui/renderer/ClickableRenderer.java
index 851bbf8510..d640ce8b71 100644
--- a/server/src/com/vaadin/ui/renderer/ClickableRenderer.java
+++ b/server/src/com/vaadin/ui/renderer/ClickableRenderer.java
@@ -91,6 +91,15 @@ public class ClickableRenderer<T> extends AbstractRenderer<T> {
public Column getColumn() {
return column;
}
+
+ /**
+ * Returns the property ID where the click event originated.
+ *
+ * @return the property ID of the clicked cell
+ */
+ public Object getPropertyId() {
+ return column.getPropertyId();
+ }
}
protected ClickableRenderer(Class<T> presentationType) {