org.rapla.components.calendar
Interface TimeRenderer


public interface TimeRenderer

Implement this interface if you want to highlight special times or show tooltip for some times.


Method Summary
 Color getBackgroundColor(int hourOfDay, int minute)
          Specifies a special background color for the passed time.
 String getToolTipText(int hourOfDay, int minute)
          Specifies a tooltip text for the passed time.
 

Method Detail

getBackgroundColor

Color getBackgroundColor(int hourOfDay,
                         int minute)
Specifies a special background color for the passed time. Return null if you want to use the default color.


getToolTipText

String getToolTipText(int hourOfDay,
                      int minute)
Specifies a tooltip text for the passed time. Return null if you don't want to use a tooltip for this time.



Copyright © 2000-2006 Rapla Team. All Rights Reseserved.