Interface SupportsTrimming

All Known Implementing Classes:
JmixTextArea, TypedTextField

public interface SupportsTrimming
A component that trims spaces at the beginning and at the end of the entered string.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    setTrimEnabled(boolean trimEnabled)
    Sets whether to trim spaces at the beginning and at the end of the entered string.
  • Method Details

    • isTrimEnabled

      boolean isTrimEnabled()
      Returns:
      true if trims spaces at the beginning and at the end of the entered string, false otherwise
    • setTrimEnabled

      void setTrimEnabled(boolean trimEnabled)
      Sets whether to trim spaces at the beginning and at the end of the entered string. The default value depends on UiComponentProperties.isDefaultTrimEnabled().
      Parameters:
      trimEnabled - whether to trim spaces at the beginning and at the end of the entered string