Package io.jmix.ui.component
Interface HasRange<V>
- All Known Subinterfaces:
DateField<V>
,DatePicker<V>
- All Known Implementing Classes:
DateFieldImpl
,DatePickerImpl
public interface HasRange<V>
-
Method Summary
Modifier and TypeMethodDescriptionReturn end of range for a certain resolution.Return start of range for a certain resolution.void
setRangeEnd
(V rangeEnd) Set end of range.void
setRangeStart
(V rangeStart) Set start of range.
-
Method Details
-
setRangeStart
Set start of range. If the value is set before this date, the component will not validate.- Parameters:
rangeStart
- allowed start of range
-
getRangeStart
Return start of range for a certain resolution.- Returns:
- start of allowed range
-
setRangeEnd
Set end of range. If the value is set after this date, the component will not validate.- Parameters:
rangeEnd
- end of allowed range
-
getRangeEnd
Return end of range for a certain resolution.- Returns:
- end of allowed range
-