com.jp.comp.calendar
Interface CalendarDayRendererListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
MultipleMonthCalendarPanel

public interface CalendarDayRendererListener
extends java.util.EventListener

Calendar Day Renderer listener interface for receiving Calendar Day Renderer events. The class that is interested in processing a Calendar Day Renderer event implements this interface, and the object created with that class is registered with a Calendar, using its addCalendarDayRendererListener method. When the action event occurs, that object's onCalendarDayRenderer method is invoked. ONLY ONE Calendar Day Renderer listener per Calendar is allowed This listener is usfull if there is a need to draw a Calendar's day in a particular way, for example to change holidays background color


Method Summary
 void onCalendarDayRenderer(CalendarInterface aSource, java.util.Date aDate, java.awt.Component aRendererComponent)
          Invoked by the CalendarPanel for each day of the month
 

Method Detail

onCalendarDayRenderer

public void onCalendarDayRenderer(CalendarInterface aSource,
                                  java.util.Date aDate,
                                  java.awt.Component aRendererComponent)
Invoked by the CalendarPanel for each day of the month

Parameters:
aSource - the source of the event
aDate - the Date
aRendererComponent - the day Component