|
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
Define a metrics provider. A metrics provider choses the metrics which will be actually used to calculate the table cells size, the header cells size, the week cells size and the status panel size.
| Field Summary | |
protected CalendarComponent |
calendarComponent
|
| Constructor Summary | |
CalendarMetricsProvider()
|
|
| Method Summary | |
CalendarComponent |
getCalendarComponent()
Get the calendar component associated. |
abstract CalendarHeaderCellMetrics |
getHeaderCellMetrics(CalendarHeaderCellInfo calendarHeaderCellInfo)
Get the header cell metrics which will be used to calculate the size of the header cell. |
abstract java.lang.String |
getName()
Get the name of the provider. |
abstract CalendarStatusPanelMetrics |
getStatusPanelMetrics(CalendarStatusPanelInfo calendarStatusPanelInfo)
Get the status panel metrics which will be used to calculate the size of the status panel. |
abstract CalendarTableCellMetrics |
getTableCellMetrics(CalendarTableCellInfo calendarTableCellInfo)
Get the table cell metrics which will be used to calculate the size of the table cell. |
abstract CalendarWeekCellMetrics |
getWeekCellMetrics(CalendarWeekCellInfo calendarWeekCellInfo)
Get the week cell metrics which will be used to calculate the size of the week cell. |
void |
setCalendarComponent(CalendarComponent calendarComponent)
Set the calendar component associated. |
java.lang.String |
toString()
A string representation of this provider. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected CalendarComponent calendarComponent
| Constructor Detail |
public CalendarMetricsProvider()
| Method Detail |
public final void setCalendarComponent(CalendarComponent calendarComponent)
calendarComponent - public final CalendarComponent getCalendarComponent()
public abstract CalendarTableCellMetrics getTableCellMetrics(CalendarTableCellInfo calendarTableCellInfo)
calendarTableCellInfo - The calendar table cell info which contains informations about the current table cell.
public abstract CalendarHeaderCellMetrics getHeaderCellMetrics(CalendarHeaderCellInfo calendarHeaderCellInfo)
calendarHeaderCellInfo - The calendar header cell info which contains informations about the current header cell.
public abstract CalendarWeekCellMetrics getWeekCellMetrics(CalendarWeekCellInfo calendarWeekCellInfo)
calendarWeekCellInfo - The calendar week cell info which contains informations about the current week cell.
public abstract CalendarStatusPanelMetrics getStatusPanelMetrics(CalendarStatusPanelInfo calendarStatusPanelInfo)
calendarStatusPanelInfo - The calendar status panel info which contains informations about the status panel.
public abstract java.lang.String getName()
public java.lang.String toString()
|
Calendar Component v5.1 www.calendarcomponent.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||