|
Calendar Component v5.1 www.calendarcomponent.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imagine.component.calendar.metrics.CalendarMetricsProvider
com.imagine.component.calendar.metrics.CalendarMetricsProviderDefault
Define the default metrics provider.
| Field Summary | |
protected CalendarHeaderCellMetrics |
calendarHeaderCellMetricsDefault
|
protected CalendarStatusPanelMetrics |
calendarStatusPanelMetricsDefault
|
protected CalendarTableCellMetrics |
calendarTableCellMetricsDefault
These variable are declared protected and not private in order to be possible for who wants to define another provider with the same behaviour but with different metrics to just set in constructor another value for one of these and not to be forced to rewrite the provider functions. |
protected CalendarWeekCellMetrics |
calendarWeekCellMetricsDefault
|
| Fields inherited from class com.imagine.component.calendar.metrics.CalendarMetricsProvider |
calendarComponent |
| Constructor Summary | |
CalendarMetricsProviderDefault()
|
|
| 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 |
| Field Detail |
protected CalendarTableCellMetrics calendarTableCellMetricsDefault
protected CalendarHeaderCellMetrics calendarHeaderCellMetricsDefault
protected CalendarWeekCellMetrics calendarWeekCellMetricsDefault
protected CalendarStatusPanelMetrics calendarStatusPanelMetricsDefault
| Constructor Detail |
public CalendarMetricsProviderDefault()
| Method Detail |
public CalendarTableCellMetrics getTableCellMetrics(CalendarTableCellInfo calendarTableCellInfo)
CalendarMetricsProvider
getTableCellMetrics in class CalendarMetricsProvidercalendarTableCellInfo - The calendar table cell info which contains informations about the current table cell.
public CalendarWeekCellMetrics getWeekCellMetrics(CalendarWeekCellInfo calendarWeekCellInfo)
CalendarMetricsProvider
getWeekCellMetrics in class CalendarMetricsProvidercalendarWeekCellInfo - The calendar week cell info which contains informations about the current week cell.
public CalendarHeaderCellMetrics getHeaderCellMetrics(CalendarHeaderCellInfo calendarHeaderCellInfo)
CalendarMetricsProvider
getHeaderCellMetrics in class CalendarMetricsProvidercalendarHeaderCellInfo - The calendar header cell info which contains informations about the current header cell.
public CalendarStatusPanelMetrics getStatusPanelMetrics(CalendarStatusPanelInfo calendarStatusPanelInfo)
CalendarMetricsProvider
getStatusPanelMetrics in class CalendarMetricsProvidercalendarStatusPanelInfo - The calendar status panel info which contains informations about the status panel.
public java.lang.String getName()
CalendarMetricsProvider
getName in class CalendarMetricsProvider
|
Calendar Component v5.1 www.calendarcomponent.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||