|
MDateSelector | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpecialDayModel
Classes implementing this interface define which days are treated as special in the CalendarPanel. Special days are rendered differently and might not be clickable. The method isSpecialDay(Date) governs the proceedings, if this returns true the getForground and getBackground methods will be called for the same date. isClickable will always be called to determine of the user is allowed to select the date.
DefaultSpecialDayModel| Method Summary | |
|---|---|
Color |
getBackground(Date date)
The background for the special days. |
Color |
getForeground(Date date)
The foreground for the special days. |
boolean |
isSpecialDay(Date date)
|
| Method Detail |
|---|
boolean isSpecialDay(Date date)
Color getForeground(Date date)
Color getBackground(Date date)
|
MDateSelector | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||