Calendar Component v5.1
www.calendarcomponent.com

com.imagine.component.calendar.metrics.statuspanelmetrics
Interface CalendarStatusPanelMetrics

All Known Implementing Classes:
CalendarStatusPanelMetricsDefault, CalendarStatusPanelMetricsTight

public interface CalendarStatusPanelMetrics

The size of the calendar status panel is calculated by a CalendarStatusPanelMetrics. The CalendarStatusPanelMetrics used to effectively calculate the size of the status panel will be chosen by a CalendarMetricsProvider.


Method Summary
 java.awt.Dimension getPreferredSize(CalendarComponent calendarComponent, CalendarStatusPanelInfo calendarStatusPanelInfo)
          This method is efectively called to calculate the size of the calendar status panel.
 

Method Detail

getPreferredSize

public java.awt.Dimension getPreferredSize(CalendarComponent calendarComponent,
                                           CalendarStatusPanelInfo calendarStatusPanelInfo)
This method is efectively called to calculate the size of the calendar status panel.

Parameters:
calendarComponent - The parent calendarComponent.
calendarStatusPanelInfo - The calendarStatusPanelInfo containing the informations regarding the status panel.

Calendar Component v5.1
www.calendarcomponent.com