mseries.Calendar
Class DefaultSpecialDayModel
java.lang.Object
mseries.Calendar.DefaultSpecialDayModel
- All Implemented Interfaces:
- SpecialDayModel
- Direct Known Subclasses:
- TestSpecialDayModel
public class DefaultSpecialDayModel
- extends Object
- implements SpecialDayModel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSpecialDayModel
public DefaultSpecialDayModel()
isSpecialDay
public boolean isSpecialDay(Date date)
- By default no dates are special
- Specified by:
isSpecialDay in interface SpecialDayModel
- Returns:
- false
getForeground
public Color getForeground(Date date)
- Description copied from interface:
SpecialDayModel
- The foreground for the special days. Return null if the foreground is
to be drawn in the usual colour
- Specified by:
getForeground in interface SpecialDayModel
getBackground
public Color getBackground(Date date)
- Description copied from interface:
SpecialDayModel
- The background for the special days. Return null if the background is
to be drawn in the usual colour
- Specified by:
getBackground in interface SpecialDayModel
Copyright © 2001-2007 M Newstead. All Rights Reserved.