blob: 8b64106be7dcc76251f2ae29aaae8db5f4d874db (
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
|
/*
@VaadinApache2LicenseForJavaFiles@
*/
package com.vaadin.event.dd.acceptcriteria;
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.ui.dd.VAcceptCriterion;
/**
* An annotation type used to point the client side counterpart for server side
* a {@link AcceptCriterion} class.
* <p>
* Annotations are used at GWT compilation phase, so remember to rebuild your
* widgetset if you do changes for {@link ClientCriterion} mappings.
*
* @since 6.3
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ClientCriterion {
/**
* @return the client side counterpart for the annotated criterion
*/
Class<? extends VAcceptCriterion> value();
}
|