diff options
Diffstat (limited to 'src/com/vaadin/ui/ClientWidget.java')
-rw-r--r-- | src/com/vaadin/ui/ClientWidget.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/ClientWidget.java b/src/com/vaadin/ui/ClientWidget.java new file mode 100644 index 0000000000..2865c0d837 --- /dev/null +++ b/src/com/vaadin/ui/ClientWidget.java @@ -0,0 +1,21 @@ +/** + * + */ +package com.vaadin.ui; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import com.vaadin.terminal.gwt.client.Paintable; + +/** + * Annotation defining the default client side counterpart in GWT terminal for + * {@link Component} + */ +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface ClientWidget { + Class<? extends Paintable> value(); +} |