类 MinMaxDateEvaluator

    • 构造器详细资料

      • MinMaxDateEvaluator

        public MinMaxDateEvaluator()
    • 方法详细资料

      • isSpecial

        public boolean isSpecial​(java.util.Date date)
        从接口复制的说明: IDateEvaluator
        Checks if a date is a special date (might have different colors and tooltips)
        指定者:
        isSpecial 在接口中 IDateEvaluator
        参数:
        date - the date to check
        返回:
        true, if the date can be selected
      • getSpecialForegroundColor

        public java.awt.Color getSpecialForegroundColor()
        指定者:
        getSpecialForegroundColor 在接口中 IDateEvaluator
        返回:
        the foreground color (used by JDayChooser)
      • getSpecialBackroundColor

        public java.awt.Color getSpecialBackroundColor()
        指定者:
        getSpecialBackroundColor 在接口中 IDateEvaluator
        返回:
        the background color (used by JDayChooser)
      • getSpecialTooltip

        public java.lang.String getSpecialTooltip()
        指定者:
        getSpecialTooltip 在接口中 IDateEvaluator
        返回:
        the tooltip (used by JDayChooser)
      • isInvalid

        public boolean isInvalid​(java.util.Date date)
        从接口复制的说明: IDateEvaluator
        Checks if a date is invalid for selection
        指定者:
        isInvalid 在接口中 IDateEvaluator
        参数:
        date - the date to check
        返回:
        true, if the date is invalid and cannot be selected
      • getInvalidForegroundColor

        public java.awt.Color getInvalidForegroundColor()
        指定者:
        getInvalidForegroundColor 在接口中 IDateEvaluator
        返回:
        the foreground color (used by JDayChooser)
      • getInvalidBackroundColor

        public java.awt.Color getInvalidBackroundColor()
        指定者:
        getInvalidBackroundColor 在接口中 IDateEvaluator
        返回:
        the background color (used by JDayChooser)
      • getInvalidTooltip

        public java.lang.String getInvalidTooltip()
        指定者:
        getInvalidTooltip 在接口中 IDateEvaluator
        返回:
        the tooltip (used by JDayChooser)
      • setMaxSelectableDate

        public java.util.Date setMaxSelectableDate​(java.util.Date max)
        Sets the maximum selectable date. If null, the date 01\01\9999 will be set instead.
        参数:
        max - the maximum selectable date
        返回:
        the maximum selectable date
      • setMinSelectableDate

        public java.util.Date setMinSelectableDate​(java.util.Date min)
        Sets the minimum selectable date. If null, the date 01\01\0001 will be set instead.
        参数:
        min - the minimum selectable date
        返回:
        the minimum selectable date
      • getMaxSelectableDate

        public java.util.Date getMaxSelectableDate()
        Gets the maximum selectable date.
        返回:
        the maximum selectable date
      • getMinSelectableDate

        public java.util.Date getMinSelectableDate()
        Gets the minimum selectable date.
        返回:
        the minimum selectable date