Package io.jmix.flowui.view
Annotation Interface Subscribe
Annotation for declarative event handler methods in UI controllers.
Example:
Example:
@Subscribe("demoButton") protected void onDemoButtonClick(Button.ClickEvent event) { // handle button click }
- See Also:
-
Optional Element Summary
-
Element Details
-
target
Target target- Returns:
- type of target
- Default:
- COMPONENT
-
value
- Returns:
- id or path to target object
- Default:
- ""
-
id
- Returns:
- id or path to target object
- Default:
- ""
-
required
boolean requiredDeclares whether the annotated dependency is required.Defaults to
true
.- Default:
- true
-