Package io.jmix.flowui.screen
Annotation Interface Install
Annotation for declarative handler methods in UI controllers.
Example:
Example:
@Install(to = "label", subject = "formatter") protected String formatValue(Integer value) { // the method used as Label formatter return "1.0"; }
- 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
-