Package io.jmix.flowui.component
Interface HasLengthLimited
- All Known Implementing Classes:
- JmixEmailField,- JmixTextArea,- TypedTextField
public interface HasLengthLimited
A component that may have a limit on the number of characters (in Unicode code points) that the user can enter.
- 
Method SummaryModifier and TypeMethodDescriptionintMaximum number of characters (in Unicode code points) that the user can enter.intMinimum number of characters (in Unicode code points) that the user can enter.voidsetMaxLength(int maxLength) Maximum number of characters (in Unicode code points) that the user can enter.voidsetMinLength(int minLength) Minimum number of characters (in Unicode code points) that the user can enter.
- 
Method Details- 
getMinLengthint getMinLength()Minimum number of characters (in Unicode code points) that the user can enter.- Returns:
- the minlengthproperty from the webcomponent
 
- 
setMinLengthvoid setMinLength(int minLength) Minimum number of characters (in Unicode code points) that the user can enter.- Parameters:
- minLength- the minimum length
 
- 
getMaxLengthint getMaxLength()Maximum number of characters (in Unicode code points) that the user can enter.- Returns:
- the maxlengthproperty from the webcomponent
 
- 
setMaxLengthvoid setMaxLength(int maxLength) Maximum number of characters (in Unicode code points) that the user can enter.- Parameters:
- maxLength- the maximum length
 
 
-