aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/ClientWidget.java
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2009-10-06 08:44:49 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2009-10-06 08:44:49 +0000
commit6d4e40f6e3a299dfa9a4ff1c787f829146418f18 (patch)
tree6f473340d1143f81c22cb222c5b7abc59a2d1987 /src/com/vaadin/ui/ClientWidget.java
parenteebf12833e059de5caf3dc52ef0ed7ed67fde177 (diff)
downloadvaadin-framework-6d4e40f6e3a299dfa9a4ff1c787f829146418f18.tar.gz
vaadin-framework-6d4e40f6e3a299dfa9a4ff1c787f829146418f18.zip
"removed" (finalized + deprecated) getTag from AbstractComponent
svn changeset:9095/svn branch:2009-09-widget-packaging_3332
Diffstat (limited to 'src/com/vaadin/ui/ClientWidget.java')
-rw-r--r--src/com/vaadin/ui/ClientWidget.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/ClientWidget.java b/src/com/vaadin/ui/ClientWidget.java
index 2865c0d837..af58e20da9 100644
--- a/src/com/vaadin/ui/ClientWidget.java
+++ b/src/com/vaadin/ui/ClientWidget.java
@@ -12,10 +12,24 @@ import com.vaadin.terminal.gwt.client.Paintable;
/**
* Annotation defining the default client side counterpart in GWT terminal for
- * {@link Component}
+ * {@link Component}.
+ * <p>
+ * With this annotation server side Vaadin component is marked to have a client
+ * side counterpart. The value of the annotation is the class of client side
+ * implementation.
+ *
+ * <p>
+ * Note, even though client side implementation is needed during development,
+ * one may safely remove them from classpath of the production server.
+ *
+ *
+ * @since 6.2
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ClientWidget {
+ /**
+ * @return the client side counterpart for the annotated component
+ */
Class<? extends Paintable> value();
}