Class FieldMarkerI18n.Confidence

java.lang.Object
com.vaadin.flow.component.ai.form.FieldMarkerI18n.Confidence
All Implemented Interfaces:
Serializable
Enclosing class:
FieldMarkerI18n

public static class FieldMarkerI18n.Confidence extends Object implements Serializable
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 Details

    • Confidence

      public Confidence()
  • Method Details

    • getLow

      public String getLow()
      Gets the indicator text for the low confidence level.
      Returns:
      the low-level text, or null when the built-in default is used
    • setLow

      public FieldMarkerI18n.Confidence setLow(String low)
      Sets the indicator text for the low confidence level.
      Parameters:
      low - the low-level text, or null to use the built-in default
      Returns:
      this instance, for chaining
    • getMedium

      public String getMedium()
      Gets the indicator text for the medium confidence level.
      Returns:
      the medium-level text, or null when the built-in default is used
    • setMedium

      public FieldMarkerI18n.Confidence setMedium(String medium)
      Sets the indicator text for the medium confidence level.
      Parameters:
      medium - the medium-level text, or null to use the built-in default
      Returns:
      this instance, for chaining
    • getHigh

      public String getHigh()
      Gets the indicator text for the high confidence level.
      Returns:
      the high-level text, or null when the built-in default is used
    • setHigh

      public FieldMarkerI18n.Confidence setHigh(String high)
      Sets the indicator text for the high confidence level.
      Parameters:
      high - the high-level text, or null to use the built-in default
      Returns:
      this instance, for chaining