|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.toedter.calendar.MinMaxDateEvaluator
public class MinMaxDateEvaluator
Constructor Summary | |
---|---|
MinMaxDateEvaluator()
|
Method Summary | |
---|---|
java.awt.Color |
getInvalidBackroundColor()
|
java.awt.Color |
getInvalidForegroundColor()
|
java.lang.String |
getInvalidTooltip()
|
java.util.Date |
getMaxSelectableDate()
Gets the maximum selectable date. |
java.util.Date |
getMinSelectableDate()
Gets the minimum selectable date. |
java.awt.Color |
getSpecialBackroundColor()
|
java.awt.Color |
getSpecialForegroundColor()
|
java.lang.String |
getSpecialTooltip()
|
boolean |
isInvalid(java.util.Date date)
Checks if a date is invalid for selection |
boolean |
isSpecial(java.util.Date date)
Checks if a date is a special date (might have different colors and tooltips) |
java.util.Date |
setMaxSelectableDate(java.util.Date max)
Sets the maximum selectable date. |
java.util.Date |
setMinSelectableDate(java.util.Date min)
Sets the minimum selectable date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinMaxDateEvaluator()
Method Detail |
---|
public boolean isSpecial(java.util.Date date)
IDateEvaluator
isSpecial
in interface IDateEvaluator
date
- the date to check
public java.awt.Color getSpecialForegroundColor()
getSpecialForegroundColor
in interface IDateEvaluator
public java.awt.Color getSpecialBackroundColor()
getSpecialBackroundColor
in interface IDateEvaluator
public java.lang.String getSpecialTooltip()
getSpecialTooltip
in interface IDateEvaluator
public boolean isInvalid(java.util.Date date)
IDateEvaluator
isInvalid
in interface IDateEvaluator
date
- the date to check
public java.awt.Color getInvalidForegroundColor()
getInvalidForegroundColor
in interface IDateEvaluator
public java.awt.Color getInvalidBackroundColor()
getInvalidBackroundColor
in interface IDateEvaluator
public java.lang.String getInvalidTooltip()
getInvalidTooltip
in interface IDateEvaluator
public java.util.Date setMaxSelectableDate(java.util.Date max)
max
- the maximum selectable date
public java.util.Date setMinSelectableDate(java.util.Date min)
min
- the minimum selectable date
public java.util.Date getMaxSelectableDate()
public java.util.Date getMinSelectableDate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |