Class RangeDateSelector

    • Constructor Detail

      • RangeDateSelector

        public RangeDateSelector​(String title,
                                 String start,
                                 String end,
                                 String durationS,
                                 String minInterval,
                                 boolean enableButton,
                                 boolean acceptButton,
                                 String help,
                                 boolean pointOnly)
                          throws Exception
        Constructor using info from thredds DQC.
        Parameters:
        title - widget title displayed to user, may be null
        start - starting date as a string
        end - ending date as a string
        durationS - duration as a String
        minInterval - minimum useful interval as a String, may be null.
        acceptButton - add an acceptButton
        help - optional help text
        pointOnly - if user can only select one point, otherwise can select a range of dates.
        Throws:
        Exception
      • RangeDateSelector

        public RangeDateSelector​(String title,
                                 DateRange range,
                                 boolean enableButton,
                                 boolean acceptButton,
                                 String help,
                                 boolean pointOnly,
                                 boolean useLimits)
        Constructor.
        Parameters:
        title - widget title displayed to user, may be null
        range - range that the user can select from
        acceptButton - add an accept Button
        enableButton - add an enable Button
        help - optional help text
        pointOnly - if user can only select one point, otherwise can select a range of dates.