接口 IDateEvaluator
-
- 所有已知实现类:
MinMaxDateEvaluator
public interface IDateEvaluatorImplementations of this interface can be added to various JCalendar components to check if certain dates are valid for selection.- 版本:
- $LastChangedRevision: 142 $, $LastChangedDate: 2011-06-05 07:06:03 +0200 (So, 05 Jun 2011) $
- 作者:
- Kai Toedter
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ColorgetInvalidBackroundColor()ColorgetInvalidForegroundColor()StringgetInvalidTooltip()ColorgetSpecialBackroundColor()ColorgetSpecialForegroundColor()StringgetSpecialTooltip()booleanisInvalid(Date date)Checks if a date is invalid for selectionbooleanisSpecial(Date date)Checks if a date is a special date (might have different colors and tooltips)
-
-
-
方法详细资料
-
isSpecial
boolean isSpecial(Date date)
Checks if a date is a special date (might have different colors and tooltips)- 参数:
date- the date to check- 返回:
- true, if the date can be selected
-
getSpecialForegroundColor
Color getSpecialForegroundColor()
- 返回:
- the foreground color (used by JDayChooser)
-
getSpecialBackroundColor
Color getSpecialBackroundColor()
- 返回:
- the background color (used by JDayChooser)
-
getSpecialTooltip
String getSpecialTooltip()
- 返回:
- the tooltip (used by JDayChooser)
-
isInvalid
boolean isInvalid(Date date)
Checks if a date is invalid for selection- 参数:
date- the date to check- 返回:
- true, if the date is invalid and cannot be selected
-
getInvalidForegroundColor
Color getInvalidForegroundColor()
- 返回:
- the foreground color (used by JDayChooser)
-
getInvalidBackroundColor
Color getInvalidBackroundColor()
- 返回:
- the background color (used by JDayChooser)
-
getInvalidTooltip
String getInvalidTooltip()
- 返回:
- the tooltip (used by JDayChooser)
-
-