aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/annotations/Theme.java
blob: 7c62b0774147189b17a9a5e5e55112a42510db11 (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
/*
@VaadinApache2LicenseForJavaFiles@
 */

package com.vaadin.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.vaadin.ui.Root;

/**
 * Defines a specific theme for a {@link Root}.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Theme {
    /**
     * @return simple name of the theme
     */
    public String value();
}