-
@Retention(RUNTIME) public @interface OnChange
Name a method to call when a property field (see@P
) changes in response to an external port or control call. This should be set on the field, not the method to be called.When used with a resource loading property, this method will be called after the new resource has been set on the field and is available to use.
The method will not be called via internal changes or animation on a Property - to respond to these see
Property.values()
orProperty.valuesAs(java.lang.Class)
-
-
Element Detail
-
value
String value
The name of a method to call.- Returns:
- method name
-
-