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 Summary
Modifier and TypeMethodDescriptionbooleanvoidsetTrimEnabled(boolean trimEnabled) Sets whether to trim spaces at the beginning and at the end of the entered string.
-
Method Details
-
isTrimEnabled
boolean isTrimEnabled()- Returns:
trueif trims spaces at the beginning and at the end of the entered string,falseotherwise
-
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 onUiComponentProperties.isDefaultTrimEnabled().- Parameters:
trimEnabled- whether to trim spaces at the beginning and at the end of the entered string
-