net.sf.nachocalendar.components
Interface HeaderRenderer

All Known Implementing Classes:
DefaultHeaderRenderer

public interface HeaderRenderer

Interface that must be implemented by classes used to render. Headers and Week Number

Author:
Ignacio Merani

Method Summary
 java.awt.Component getHeaderRenderer(HeaderPanel panel, java.lang.Object value, boolean isHeader, boolean isWorking)
          Returns the component used to render the header.
 

Method Detail

getHeaderRenderer

public java.awt.Component getHeaderRenderer(HeaderPanel panel,
                                            java.lang.Object value,
                                            boolean isHeader,
                                            boolean isWorking)
Returns the component used to render the header.

Parameters:
isHeader - true if is used for header, false if used for week number
isWorking - true if it's a working day
value - value to be show
panel - panel where this component is showed
Returns:
Component to be used