Interface FieldMarkerPopoverContentProvider
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates the extra content a
FormAIController shows in the popover
that opens when the AI field marker badge is clicked, between the explanation
message and the revert control. Register it through
FormAIController.setFieldMarkerPopoverContentProvider(FieldMarkerPopoverContentProvider).- Since:
- 25.3
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptioncreateContent(FieldValueChangeEvent change) Creates the content component for one field the controller is marking.
-
Method Details
-
createContent
Creates the content component for one field the controller is marking. Invoked once per field whose value changed during a successful AI turn, with the same event thefield-value-change listenersreceive.- Parameters:
change- the change the mark annotates, nevernull- Returns:
- the component to show in the marker's popover, or
nullfor no extra content
-