We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.shared.annotations.
Annotation Type NoLayout
-
@Documented @Target({METHOD,FIELD}) public @interface NoLayout
Annotation used to mark client RPC methods, state fields, or state setter methods that should not trigger a layout phase after changes have been processed. Whenever there's at least one change that is not marked with this annotation, the framework will assume some sizes might have changed an will therefore start a layout phase after applying the changes.
This annotation can be used for any RPC method or state property that does not cause the size of the component or its children to change. Please note that almost anything related to CSS (e.g. adding or removing a stylename) has the potential of causing sizes to change with appropriate style definitions in the application theme.
Since:
7.4
Author:
Vaadin Ltd