Calendar Component v5.1
www.calendarcomponent.com

com.imagine.component.calendar.metrics.weekcellmetrics
Interface CalendarWeekCellMetrics

All Known Implementing Classes:
CalendarWeekCellMetricsDefault, CalendarWeekCellMetricsTight

public interface CalendarWeekCellMetrics

The size of the calendar week cells is calculated by a CalendarWeekCellMetrics. The CalendarWeekCellMetrics used to effectively calculate the size of a week cell will be chosen by a CalendarMetricsProvider.


Method Summary
 java.awt.Dimension getPreferredSize(CalendarComponent calendarComponent, CalendarWeekCellInfo calendarWeekCellInfo)
          This method is efectively called to calculate the size of a calendar week cell.
 

Method Detail

getPreferredSize

public java.awt.Dimension getPreferredSize(CalendarComponent calendarComponent,
                                           CalendarWeekCellInfo calendarWeekCellInfo)
This method is efectively called to calculate the size of a calendar week cell.

Parameters:
calendarComponent - The parent calendarComponent.
calendarWeekCellInfo - The calendarWeekCellInfo containing the informations regarding the cell.

Calendar Component v5.1
www.calendarcomponent.com