接口 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
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 java.awt.ColorgetInvalidBackroundColor()java.awt.ColorgetInvalidForegroundColor()java.lang.StringgetInvalidTooltip()java.awt.ColorgetSpecialBackroundColor()java.awt.ColorgetSpecialForegroundColor()java.lang.StringgetSpecialTooltip()booleanisInvalid(java.util.Date date)Checks if a date is invalid for selectionbooleanisSpecial(java.util.Date date)Checks if a date is a special date (might have different colors and tooltips)
-
-
-
方法详细资料
-
isSpecial
boolean isSpecial(java.util.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
java.awt.Color getSpecialForegroundColor()
- 返回:
- the foreground color (used by JDayChooser)
-
getSpecialBackroundColor
java.awt.Color getSpecialBackroundColor()
- 返回:
- the background color (used by JDayChooser)
-
getSpecialTooltip
java.lang.String getSpecialTooltip()
- 返回:
- the tooltip (used by JDayChooser)
-
isInvalid
boolean isInvalid(java.util.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
java.awt.Color getInvalidForegroundColor()
- 返回:
- the foreground color (used by JDayChooser)
-
getInvalidBackroundColor
java.awt.Color getInvalidBackroundColor()
- 返回:
- the background color (used by JDayChooser)
-
getInvalidTooltip
java.lang.String getInvalidTooltip()
- 返回:
- the tooltip (used by JDayChooser)
-
-