Interface HasRange<V>

All Known Subinterfaces:
DateField<V>, DatePicker<V>
All Known Implementing Classes:
DateFieldImpl, DatePickerImpl

public interface HasRange<V>
  • Method Summary

    Modifier and Type
    Method
    Description
    Return 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

      @StudioProperty(type=DATE) void setRangeStart(@Nullable V rangeStart)
      Set start of range. If the value is set before this date, the component will not validate.
      Parameters:
      rangeStart - allowed start of range
    • getRangeStart

      @Nullable V getRangeStart()
      Return start of range for a certain resolution.
      Returns:
      start of allowed range
    • setRangeEnd

      @StudioProperty(type=DATE) void setRangeEnd(@Nullable V rangeEnd)
      Set end of range. If the value is set after this date, the component will not validate.
      Parameters:
      rangeEnd - end of allowed range
    • getRangeEnd

      @Nullable V getRangeEnd()
      Return end of range for a certain resolution.
      Returns:
      end of allowed range