com.vaadin.annotations
Annotation Type ViewportGeneratorClass


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface ViewportGeneratorClass

Defines a viewport tag generator class that will be used for generating the content of a viewport tag that will be added to the HTML of the host page of a UI class.

If you want to use the same viewport values for all requests, you can use the simpler Viewport annotation instead.

Since:
7.4
Author:
Vaadin Ltd
See Also:
ViewportGenerator

Required Element Summary
 java.lang.Class<? extends ViewportGenerator> value
          Gets the viewport generator class to use.
 

Element Detail

value

public abstract java.lang.Class<? extends ViewportGenerator> value
Gets the viewport generator class to use. Please note that the class must be public and have a default constructor. It must additionally be declared as static if it's declared as an inner class.

Returns:
the viewport generator class


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.