aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/grid/MyBeanJSRenderer.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-11-17 08:14:10 +0200
committerVaadin Code Review <review@vaadin.com>2015-01-13 20:30:45 +0000
commit5102cc98c295a49487fcf90cc6ac7980d166eb40 (patch)
tree59b27fb5a7b41053c7239603052e17793f1aaa3a /uitest/src/com/vaadin/tests/components/grid/MyBeanJSRenderer.java
parent30f0e91195447140190f4c4feb232e9c13d02453 (diff)
downloadvaadin-framework-5102cc98c295a49487fcf90cc6ac7980d166eb40.tar.gz
vaadin-framework-5102cc98c295a49487fcf90cc6ac7980d166eb40.zip
Implement JavaScript renderer support (#15485)
Change-Id: Ifeac12d4124a4a7e5d0c143ff5c0590a2c98509d
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/grid/MyBeanJSRenderer.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/MyBeanJSRenderer.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/MyBeanJSRenderer.java b/uitest/src/com/vaadin/tests/components/grid/MyBeanJSRenderer.java
new file mode 100644
index 0000000000..ccb94f5d2d
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/components/grid/MyBeanJSRenderer.java
@@ -0,0 +1,34 @@
+/*
+ * 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.tests.components.grid;
+
+import com.vaadin.annotations.JavaScript;
+import com.vaadin.tests.components.grid.JavaScriptRenderers.MyBean;
+import com.vaadin.ui.renderer.AbstractJavaScriptRenderer;
+
+/**
+ *
+ * @since
+ * @author Vaadin Ltd
+ */
+@JavaScript("myBeanJsRenderer.js")
+public class MyBeanJSRenderer extends AbstractJavaScriptRenderer<MyBean> {
+
+ public MyBeanJSRenderer() {
+ super(MyBean.class);
+ }
+
+}