Class FieldMarkerI18n.Confidence
java.lang.Object
com.vaadin.flow.component.ai.form.FieldMarkerI18n.Confidence
- All Implemented Interfaces:
Serializable
- Enclosing class:
FieldMarkerI18n
The texts of the confidence indicator, one per
confidence
level. The text is shown next to the field and is included in the
field's accessible description. Any text left null falls back to
the built-in English default.- Since:
- 25.3
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHigh()Gets the indicator text for the high confidence level.getLow()Gets the indicator text for the low confidence level.Gets the indicator text for the medium confidence level.Sets the indicator text for the high confidence level.Sets the indicator text for the low confidence level.Sets the indicator text for the medium confidence level.
-
Constructor Details
-
Confidence
public Confidence()
-
-
Method Details
-
getLow
Gets the indicator text for the low confidence level.- Returns:
- the low-level text, or
nullwhen the built-in default is used
-
setLow
Sets the indicator text for the low confidence level.- Parameters:
low- the low-level text, ornullto use the built-in default- Returns:
- this instance, for chaining
-
getMedium
Gets the indicator text for the medium confidence level.- Returns:
- the medium-level text, or
nullwhen the built-in default is used
-
setMedium
Sets the indicator text for the medium confidence level.- Parameters:
medium- the medium-level text, ornullto use the built-in default- Returns:
- this instance, for chaining
-
getHigh
Gets the indicator text for the high confidence level.- Returns:
- the high-level text, or
nullwhen the built-in default is used
-
setHigh
Sets the indicator text for the high confidence level.- Parameters:
high- the high-level text, ornullto use the built-in default- Returns:
- this instance, for chaining
-