Package io.jmix.flowui.view
Annotation Interface Install
Annotation for declarative handler methods in UI controllers.
Example:
Example:
@Install(to = "textField", subject = "validator")
private void textFieldValidator(final String value) {
// validate value...
}
- See Also:
-
Optional Element Summary
-
Element Details
-
target
Target target- Returns:
- type of target
- Default:
- COMPONENT
-
type
Class<?> type- Returns:
- type of functional interface, can be used instead of
subject()
- Default:
- java.lang.Object.class
-
subject
String subject- Returns:
- property name that will be set using annotated method
- Default:
- ""
-
to
String to- Returns:
- id or path to target object
- Default:
- ""
-
required
boolean requiredDeclares whether the annotated dependency is required.Defaults to
true
.- Default:
- true
-