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.client.annotations.
Annotation Type OnStateChange
-
@Retention(RUNTIME) @Target(METHOD) @Documented public @interface OnStateChange
Marks a method in Connector classes that should be used to handle changes to specific properties in the connector's shared state.
The annotated method will be called whenever at least one of the named state properties have changed. If multiple listened properties are changed by the same
StateChangeEvent
, the method will only be called once.If there is no state variable with the provided name, the widgetset compilation will fail.
Since:
7.2
Author:
Vaadin Ltd
-
-
Element Detail
-
value
String[] value
Defines a list of property names to listen for.
Returns:
an array of property names, should contain at least one item
-
-