|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=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.
| Required Element Summary | |
|---|---|
java.lang.String[] |
value
Defines a list of property names to listen for. |
| Element Detail |
|---|
public abstract java.lang.String[] value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||