Calendar Component v5.1
www.calendarcomponent.com

com.imagine.component.calendar.metrics
Class CalendarMetricsProviderTight

java.lang.Object
  extended bycom.imagine.component.calendar.metrics.CalendarMetricsProvider
      extended bycom.imagine.component.calendar.metrics.CalendarMetricsProviderTight

public class CalendarMetricsProviderTight
extends CalendarMetricsProvider

Define the tight metrics provider.


Field Summary
 
Fields inherited from class com.imagine.component.calendar.metrics.CalendarMetricsProvider
calendarComponent
 
Constructor Summary
CalendarMetricsProviderTight()
           
 
Method Summary
 CalendarHeaderCellMetrics getHeaderCellMetrics(CalendarHeaderCellInfo calendarHeaderCellInfo)
          Get the header cell metrics which will be used to calculate the size of the header cell.
 java.lang.String getName()
          Get the name of the provider.
 CalendarStatusPanelMetrics getStatusPanelMetrics(CalendarStatusPanelInfo calendarStatusPanelInfo)
          Get the status panel metrics which will be used to calculate the size of the status panel.
 CalendarTableCellMetrics getTableCellMetrics(CalendarTableCellInfo calendarTableCellInfo)
          Get the table cell metrics which will be used to calculate the size of the table cell.
 CalendarWeekCellMetrics getWeekCellMetrics(CalendarWeekCellInfo calendarWeekCellInfo)
          Get the week cell metrics which will be used to calculate the size of the week cell.
 
Methods inherited from class com.imagine.component.calendar.metrics.CalendarMetricsProvider
getCalendarComponent, setCalendarComponent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalendarMetricsProviderTight

public CalendarMetricsProviderTight()
Method Detail

getTableCellMetrics

public CalendarTableCellMetrics getTableCellMetrics(CalendarTableCellInfo calendarTableCellInfo)
Description copied from class: CalendarMetricsProvider
Get the table cell metrics which will be used to calculate the size of the table cell.

Specified by:
getTableCellMetrics in class CalendarMetricsProvider
Parameters:
calendarTableCellInfo - The calendar table cell info which contains informations about the current table cell.
Returns:
The cell metrics which will be used to calculate the size of the table cell.

getWeekCellMetrics

public CalendarWeekCellMetrics getWeekCellMetrics(CalendarWeekCellInfo calendarWeekCellInfo)
Description copied from class: CalendarMetricsProvider
Get the week cell metrics which will be used to calculate the size of the week cell.

Specified by:
getWeekCellMetrics in class CalendarMetricsProvider
Parameters:
calendarWeekCellInfo - The calendar week cell info which contains informations about the current week cell.
Returns:
The cell metrics which will be used to calculate the size of the week cell.

getHeaderCellMetrics

public CalendarHeaderCellMetrics getHeaderCellMetrics(CalendarHeaderCellInfo calendarHeaderCellInfo)
Description copied from class: CalendarMetricsProvider
Get the header cell metrics which will be used to calculate the size of the header cell.

Specified by:
getHeaderCellMetrics in class CalendarMetricsProvider
Parameters:
calendarHeaderCellInfo - The calendar header cell info which contains informations about the current header cell.
Returns:
The cell metrics which will be used to calculate the size of the header cell.

getStatusPanelMetrics

public CalendarStatusPanelMetrics getStatusPanelMetrics(CalendarStatusPanelInfo calendarStatusPanelInfo)
Description copied from class: CalendarMetricsProvider
Get the status panel metrics which will be used to calculate the size of the status panel.

Specified by:
getStatusPanelMetrics in class CalendarMetricsProvider
Parameters:
calendarStatusPanelInfo - The calendar status panel info which contains informations about the status panel.
Returns:
The metrics which will be used to calculate the size of the status panel.

getName

public java.lang.String getName()
Description copied from class: CalendarMetricsProvider
Get the name of the provider.

Specified by:
getName in class CalendarMetricsProvider
Returns:
The name of the provider.

Calendar Component v5.1
www.calendarcomponent.com