Interface HasConversionErrorMessage

All Known Subinterfaces:
CurrencyField<V>, ResizableTextArea<V>, TextArea<V>, TextField<V>
All Known Implementing Classes:
AbstractTextArea, CurrencyFieldImpl, ResizableTextAreaImpl, TextAreaImpl, TextFieldImpl

public interface HasConversionErrorMessage
Component annotated by this interface enables to configure custom error message when conversion to specified datatype fails.
  • Method Details

    • setConversionErrorMessage

      @StudioProperty(type=LOCALIZED_STRING) void setConversionErrorMessage(@Nullable String conversionErrorMessage)
      Sets custom conversion error message that is used when value doesn't correspond to datatype.
      Parameters:
      conversionErrorMessage - custom conversion error message
    • getConversionErrorMessage

      @Nullable String getConversionErrorMessage()
      Returns:
      custom conversion error message