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 TypeMethodDescriptionboolean
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 onUiComponentProperties.isDefaultTrimEnabled()
.- Parameters:
trimEnabled
- whether to trim spaces at the beginning and at the end of the entered string
-