}
@Override
protected void populateParams() {
super.populateParams();
Calendar c = (Calendar) component;
//data
c.setEvents(events);
//events
c.setDayClick(dayClick);
c.setEventClick(eventClick);
c.setEventMouseover(eventMouseover);
c.setEventMouseout(eventMouseout);
c.setEventDrop(eventDrop);
c.setEventResize(eventResize);
c.setEventDragStart(eventDragStart);
c.setEventDragStop(eventDragStop);
c.setEventResizeStart(eventResizeStart);
c.setEventResizeStop(eventResizeStop);
c.setEventRender(eventRender);
c.setEventAfterRender(eventAfterRender);
//option agendaWeek and agendaDay
c.setAllDaySlot(allDaySlot);
c.setAllDayText(allDayText);
c.setAxisFormat(axisFormat);
c.setSlotMinutes(slotMinutes);
c.setDefaultEventMinutes(defaultEventMinutes);
c.setFirstHour(firstHour);
c.setMinTime(minTime);
c.setMaxTime(maxTime);
//options
c.setHeaderLeft(headerLeft);
c.setHeaderCenter(headerCenter);
c.setHeaderRight(headerRight);
c.setThemeUI(themeUI);
c.setButtonIcons(buttonIcons);
c.setFirstDay(firstDay);
c.setIsRTL(isRTL);
c.setWeekends(weekends);
c.setWeekMode(weekMode);
c.setHeight(height);
c.setContentHeight(contentHeight);
c.setAspectRatio(aspectRatio);
c.setFormatDate(formatDate);
c.setI18n(i18n);
c.setDefaultView(defaultView);
c.setEditable(editable);
c.setGotoDate(gotoDate);
//arrays
c.setTimeFormat(timeFormat);
c.setColumnFormat(columnFormat);
c.setTitleFormat(titleFormat);
c.setButtonText(buttonText);
c.setMonthNames(monthNames);
c.setMonthNamesShort(monthNamesShort);
c.setDayNames(dayNames);
c.setDayNamesShort(dayNamesShort);
}