Package io.jmix.flowui.component
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 SummaryModifier and TypeMethodDescriptionbooleanvoidsetTrimEnabled(boolean trimEnabled) Sets whether to trim spaces at the beginning and at the end of the entered string.
- 
Method Details- 
isTrimEnabledboolean isTrimEnabled()- Returns:
- trueif trims spaces at the beginning and at the end of the entered string,- falseotherwise
 
- 
setTrimEnabledvoid setTrimEnabled(boolean trimEnabled) Sets whether to trim spaces at the beginning and at the end of the entered string. The default value depends onUiComponentProperties.isDefaultTrimEnabled().- Parameters:
- trimEnabled- whether to trim spaces at the beginning and at the end of the entered string
 
 
-