Calendar Component v5.1
www.calendarcomponent.com

com.imagine.component.calendar.metrics.tablecellmetrics
Interface CalendarTableCellMetrics

All Known Implementing Classes:
CalendarTableCellMetricsDefault, CalendarTableCellMetricsTight

public interface CalendarTableCellMetrics

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


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

Method Detail

getPreferredSize

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

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

Calendar Component v5.1
www.calendarcomponent.com