blob: 989f70ce55acaa6d52c28e561d40ab5c7cde9c8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
@ITMillApache2LicenseForJavaFiles@
*/
/**
*
*/
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}.
* <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();
}
|