Class FullCalendar

java.lang.Object
com.vaadin.flow.component.Component
io.jmix.fullcalendarflowui.kit.component.JmixFullCalendar
io.jmix.fullcalendarflowui.component.FullCalendar
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class FullCalendar extends JmixFullCalendar implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
UI component for visualizing events in a calendar using various display modes (month, week, etc.).

Component provides event rendering, drag-and-drop functionality, event editing, and customizable display modes.

See Also:
  • Field Details

  • Constructor Details

    • FullCalendar

      public FullCalendar()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • autoWireDependencies

      protected void autoWireDependencies()
    • initComponent

      protected void initComponent()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getDataProviders

      public List<CalendarDataProvider> getDataProviders()
      Returns:
      a list of data providers
    • getDataProvider

      @Nullable public <T extends CalendarDataProvider> T getDataProvider(String id)
      Returns a data provider by its ID.
      Type Parameters:
      T - type of data provider
      Parameters:
      id - data provider ID
      Returns:
      data provider or null if there is no data provider with passed ID
    • addDataProvider

      public void addDataProvider(CallbackCalendarDataProvider dataProvider)
      Adds new lazy data provider.
      Parameters:
      dataProvider - lazy data provider to add
    • addDataProvider

      public void addDataProvider(ItemsCalendarDataProvider dataProvider)
      Adds new data provider.
      Parameters:
      dataProvider - data provider to add
    • removeDataProvider

      public void removeDataProvider(CalendarDataProvider dataProvider)
      Removes a data provider from the component.
      Parameters:
      dataProvider - data provider to remove
    • removeDataProvider

      public void removeDataProvider(String id)
      Removes a data provider from the component by ID.
      Parameters:
      id - ID of data provider to remove
    • removeAllDataProviders

      public void removeAllDataProviders()
      Removes all data providers from the component.
    • isEventConstraintBusinessHoursEnabled

      public boolean isEventConstraintBusinessHoursEnabled()
      Returns:
      true if business hours used as event constraint
    • setEventConstraintBusinessHoursEnabled

      public void setEventConstraintBusinessHoursEnabled(boolean enabled)
      Sets whether events being dragged or resized must be fully contained within the week’s business hours.

      It also respects custom business hours setBusinessHours(List).

      The default value is false.

      Parameters:
      enabled - whether to use business hours as event constraint
    • getEventConstraintGroupId

      @Nullable public Object getEventConstraintGroupId()
      Returns:
      a group ID that limits dragging and resizing events or null if not set
    • setEventConstraintGroupId

      public void setEventConstraintGroupId(@Nullable Object groupId)
      Sets a group ID to limit the dragging and resizing of events. Events that are being dragged or resized must be fully contained by at least one of the events linked to by the given group ID.

      Takes precedence over setEventConstraintBusinessHoursEnabled(boolean).

      The group ID can be an entity instance, string, enum or other types.

      Parameters:
      groupId - a group ID
    • getEventConstraintBusinessHours

      public List<CalendarBusinessHours> getEventConstraintBusinessHours()
      Returns:
      a list of business hours that limits the dragging and resizing of events
    • setEventConstraintBusinessHours

      public void setEventConstraintBusinessHours(@Nullable List<CalendarBusinessHours> businessHours)
      Sets a list of business hours that limits the dragging and resizing of events.

      Takes precedence over setEventConstraintGroupId(Object) and setEventConstraintBusinessHoursEnabled(boolean)

      Parameters:
      businessHours - business hours that will be available for event dragging and resizing
    • getSelectConstraintGroupId

      @Nullable public Object getSelectConstraintGroupId()
      Returns:
      a group ID to limit selection or null if not set
    • isSelectConstraintBusinessHoursEnabled

      public boolean isSelectConstraintBusinessHoursEnabled()
      Returns:
      true is business hours used as selection constraint
    • setSelectConstraintBusinessHoursEnabled

      public void setSelectConstraintBusinessHoursEnabled(boolean enabled)
      Sets whether the selection must be fully contained within the week’s business hours.

      It also respects custom business hours setBusinessHours(List).

      Note, this property will be applied if JmixFullCalendar.setSelectionEnabled(boolean) is enabled.

      The default value is false.

      Parameters:
      enabled - whether to use business hours as selection constraint
    • setSelectConstraintGroupId

      public void setSelectConstraintGroupId(@Nullable Object groupId)
      Sets a group ID to limit selection. If group ID is set, only cells with events that contain the same group ID can be selected.

      Takes precedence over setSelectConstraintBusinessHoursEnabled(boolean).

      Note, this property will be applied if JmixFullCalendar.setSelectionEnabled(boolean) is enabled.

      Parameters:
      groupId - a group ID
    • getSelectConstraintBusinessHours

      public List<CalendarBusinessHours> getSelectConstraintBusinessHours()
      Returns:
      a list of business hours that limits the selection
    • setSelectConstraintBusinessHours

      public void setSelectConstraintBusinessHours(@Nullable List<CalendarBusinessHours> businessHours)
      Sets a list of business hours that limits the selection.

      Takes precedence over setSelectConstraintBusinessHoursEnabled(boolean) and setSelectConstraintGroupId(Object).

      Parameters:
      businessHours - business hours that will be available for selection
    • isDefaultBusinessHoursEnabled

      public boolean isDefaultBusinessHoursEnabled()
      Returns:
      true if default business hours enabled
    • setDefaultBusinessHoursEnabled

      public void setDefaultBusinessHoursEnabled(boolean enabled)
      Enables default business hours. The default business hour is: [monday-friday] from 9 AM to 5 PM.

      Disabled by default.

      Parameters:
      enabled - whether to enable business hours
    • getBusinessHours

      public List<CalendarBusinessHours> getBusinessHours()
      Returns:
      a list of business hours entries
    • setBusinessHours

      public void setBusinessHours(@Nullable List<CalendarBusinessHours> businessHours)
      Sets a list of business hours entries.

      Takes precedence over setDefaultBusinessHoursEnabled(boolean).

      Parameters:
      businessHours - list of custom entries of business hours
    • getHiddenDays

      public List<DayOfWeek> getHiddenDays()
      Returns:
      hidden days of week
    • setHiddenDays

      public void setHiddenDays(@Nullable List<DayOfWeek> hiddenDays)
      Sets the list of days that will be excluded from being displayed.

      By default, all days of week are visible unless JmixFullCalendar.setWeekendsVisible(boolean) is set to false.

      Parameters:
      hiddenDays - days to hide
    • getI18n

      @Nullable public FullCalendarI18n getI18n()
      Returns:
      the internationalization properties for this component or null if not set
    • setI18n

      public void setI18n(@Nullable FullCalendarI18n i18n)
      Set the internationalization properties for this component. The null value resets to default values.
      Parameters:
      i18n - the internationalized properties
    • getEventDisplay

      @Nullable public Display getEventDisplay()
      Returns:
      display mode for events or null if not set
    • setEventDisplay

      public void setEventDisplay(@Nullable Display display)
      Sets the display mode that controls the appearance of all events that do not specify display mode.

      To control the display of specific events, use the display property of calendar event CalendarEvent.getDisplay().

      The default value is Display.AUTO.

      Parameters:
      display - display mode for events
    • addDatesSetListener

      public com.vaadin.flow.shared.Registration addDatesSetListener(com.vaadin.flow.component.ComponentEventListener<DatesSetEvent> listener)
      Adds dates set listener. The event is fired after the calendar’s date range has been initially set or changed in some way and the DOM of component has been updated.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
      See Also:
    • addDayNavigationLinkClickListener

      public com.vaadin.flow.shared.Registration addDayNavigationLinkClickListener(com.vaadin.flow.component.ComponentEventListener<DayNavigationLinkClickEvent> listener)
      Adds day navigation link click listener. The event is fired when the user clicks on the day heading navigation link. The navigation link can be activated by the JmixFullCalendar.setNavigationLinksEnabled(boolean) property.

      For instance:

      
       @Subscribe("calendar")
       public void onCalendarDayNavigationLinkClick(final DayNavigationLinkClickEvent event) {
           event.getSource().setCalendarDisplayMode(CalendarDisplayModes.TIME_GRID_DAY);
           event.getSource().navigateToDate(event.getDate());
       }
       
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addWeekNavigationLinkClickListener

      public com.vaadin.flow.shared.Registration addWeekNavigationLinkClickListener(com.vaadin.flow.component.ComponentEventListener<WeekNavigationLinkClickEvent> listener)
      Adds week navigation link click listener. The event is fired when the user clicks the week number navigation link. The navigation link can be activated by the JmixFullCalendar.setNavigationLinksEnabled(boolean) property.

      For instance:

      
       @Subscribe("calendar")
       public void onCalendarWeekNavigationLinkClick(final WeekNavigationLinkClickEvent event) {
           event.getSource().setCalendarDisplayMode(CalendarDisplayModes.TIME_GRID_WEEK);
           event.getSource().navigateToDate(event.getDate());
       }
       
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addMoreLinkClickListener

      public com.vaadin.flow.shared.Registration addMoreLinkClickListener(com.vaadin.flow.component.ComponentEventListener<MoreLinkClickEvent> listener)
      Adds a "more" link click listener. When listener is added, the JmixFullCalendar.setMoreLinkCalendarDisplayMode(CalendarDisplayMode) value will be ignored.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addEventClickListener

      public com.vaadin.flow.shared.Registration addEventClickListener(com.vaadin.flow.component.ComponentEventListener<EventClickEvent> listener)
      Adds an event click listener.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addEventMouseEnterListener

      public com.vaadin.flow.shared.Registration addEventMouseEnterListener(com.vaadin.flow.component.ComponentEventListener<EventMouseEnterEvent> listener)
      Adds a listener that is invoked when the user mouses over a calendar event.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addEventMouseLeaveListener

      public com.vaadin.flow.shared.Registration addEventMouseLeaveListener(com.vaadin.flow.component.ComponentEventListener<EventMouseLeaveEvent> listener)
      Adds a listener that is invoked when the user mouses out of a calendar event.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addEventDropListener

      public com.vaadin.flow.shared.Registration addEventDropListener(com.vaadin.flow.component.ComponentEventListener<EventDropEvent> listener)
      Adds a listener that is invoked when dragging stops and the event has moved to a different day/time cell.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addEventResizeListener

      public com.vaadin.flow.shared.Registration addEventResizeListener(com.vaadin.flow.component.ComponentEventListener<EventResizeEvent> listener)
      Adds a listener that is invoked when resizing stops and the calendar event has changed in duration.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addDateClickListener

      public com.vaadin.flow.shared.Registration addDateClickListener(com.vaadin.flow.component.ComponentEventListener<DateClickEvent> listener)
      Adds a listener that is invoked when day cell or time cell is clicked.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addSelectListener

      public com.vaadin.flow.shared.Registration addSelectListener(com.vaadin.flow.component.ComponentEventListener<SelectEvent> listener)
      Adds a listener that is invoked when a date/time selection is made.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
    • addUnselectListener

      public com.vaadin.flow.shared.Registration addUnselectListener(com.vaadin.flow.component.ComponentEventListener<UnselectEvent> listener)
      Adds a listener that is invoked when the current selection is cleared.
      Parameters:
      listener - listener to add
      Returns:
      a registration object for removing an event listener added to a component
      See Also:
    • getMoreLinkClassNamesGenerator

      @Nullable public Function<MoreLinkClassNamesContext,List<String>> getMoreLinkClassNamesGenerator()
      Returns:
      a class names generator for "more" link or null if not set
    • setMoreLinkClassNamesGenerator

      public void setMoreLinkClassNamesGenerator(@Nullable Function<MoreLinkClassNamesContext,List<String>> classNamesGenerator)
      Sets a class names generator for "more" link.

      Note, generator takes precedence over a JmixFullCalendar.setMoreLinkClassNames(List) and other "add class name" methods.

      Parameters:
      classNamesGenerator - the generator to set
    • getDayHeaderClassNamesGenerator

      @Nullable public Function<DayHeaderClassNamesContext,List<String>> getDayHeaderClassNamesGenerator()
      Returns:
      a class names generator for day headers or null if not set
    • setDayHeaderClassNamesGenerator

      public void setDayHeaderClassNamesGenerator(@Nullable Function<DayHeaderClassNamesContext,List<String>> classNamesGenerator)
      Sets a class names generator for day headers. The day header is a cell that shows day of week and date in some display modes.
      Parameters:
      classNamesGenerator - the generator to set
    • getDayCellClassNamesGenerator

      @Nullable public Function<DayCellClassNamesContext,List<String>> getDayCellClassNamesGenerator()
      Returns:
      a day cell class names generator or null if not set
    • setDayCellClassNamesGenerator

      public void setDayCellClassNamesGenerator(@Nullable Function<DayCellClassNamesContext,List<String>> dayCellClassNamesGenerator)
      Sets a day cell class names generator. The day cell appears in day-grid and time-grid display modes as an all-day cell.
      Parameters:
      dayCellClassNamesGenerator - the generator to set
    • getSlotLabelClassNamesGenerator

      @Nullable public Function<SlotLabelClassNamesContext,List<String>> getSlotLabelClassNamesGenerator()
      Returns:
      slot label class names generator or null if not set
    • setSlotLabelClassNamesGenerator

      public void setSlotLabelClassNamesGenerator(@Nullable Function<SlotLabelClassNamesContext,List<String>> slotLabelClassNamesGenerator)
      Sets a slot label class-names generator. The slot label appears in time-grid display modes. It is a cell with time label.
      Parameters:
      slotLabelClassNamesGenerator - the generator to set
    • getNowIndicatorClassNamesGenerator

      @Nullable public Function<NowIndicatorClassNamesContext,List<String>> getNowIndicatorClassNamesGenerator()
      Returns:
      a now-indicator class names generator or null if not set
    • setNowIndicatorClassNamesGenerator

      public void setNowIndicatorClassNamesGenerator(@Nullable Function<NowIndicatorClassNamesContext,List<String>> nowIndicatorClassNamesGenerator)
      Sets a now-indicator class names generator. The now-indicator consists of two parts: the line and the axis.

      The now-indicator can be enabled by JmixFullCalendar.setNowIndicatorVisible(boolean).

      Parameters:
      nowIndicatorClassNamesGenerator - the generator to set
    • getDayCellBottomTextGenerator

      @Nullable public Function<DayCellBottomTextContext,String> getDayCellBottomTextGenerator()
      Returns:
      bottom text generator for day cells or null if not set
    • setDayCellBottomTextGenerator

      public void setDayCellBottomTextGenerator(@Nullable Function<DayCellBottomTextContext,String> dayCellBottomTextGenerator)
      Sets bottom text generator for day cells. It applies only for CalendarDisplayModes.DAY_GRID_MONTH and CalendarDisplayModes.DAY_GRID_YEAR.

      Note sometimes generated text can be overlapped by events, so it is recommended to limit visible events count (e.g. JmixFullCalendar.setDayMaxEvents(Integer), etc.).

      Parameters:
      dayCellBottomTextGenerator - the generator to set
    • getDayCellBottomTextClassNamesGenerator

      @Nullable public Function<DayCellBottomTextClassNamesContext,List<String>> getDayCellBottomTextClassNamesGenerator()
      Returns:
      bottom text class names generator or null if not set
    • setDayCellBottomTextClassNamesGenerator

      public void setDayCellBottomTextClassNamesGenerator(@Nullable Function<DayCellBottomTextClassNamesContext,List<String>> dayCellBottomTextClassNamesGenerator)
      Sets bottom text class names generator. Note, the generator will be invoked only if cell's bottom text is not null.
      Parameters:
      dayCellBottomTextClassNamesGenerator - the generator to set
      See Also:
    • createOptions

      protected FullCalendarOptions createOptions()
      Overrides:
      createOptions in class JmixFullCalendar
    • createSerializer

      protected JmixFullCalendarSerializer createSerializer()
      Overrides:
      createSerializer in class JmixFullCalendar
    • getOptions

      protected FullCalendarOptions getOptions()
    • getSerializer

      protected FullCalendarSerializer getSerializer()
    • setupLocalization

      protected void setupLocalization()
    • setI18nInternal

      protected void setI18nInternal(FullCalendarI18n i18n)
    • fetchCalendarItems

      protected elemental.json.JsonArray fetchCalendarItems(String sourceId, String start, String end)
      Overrides:
      fetchCalendarItems in class JmixFullCalendar
    • addDataProviderInternal

      protected void addDataProviderInternal(AbstractDataProviderManager dataProviderManager)
    • onItemSetChangeListener

      protected void onItemSetChangeListener(ItemsCalendarDataProvider.ItemSetChangeEvent event)
    • requestIncrementalDataUpdate

      protected void requestIncrementalDataUpdate()
    • performIncrementalDataUpdate

      protected void performIncrementalDataUpdate(com.vaadin.flow.internal.ExecutionContext context)
    • requestUpdateItemDataProvider

      protected void requestUpdateItemDataProvider(String dataProviderId)
    • performUpdateItemDataProvider

      protected void performUpdateItemDataProvider(String dataProviderId)
    • onDatesSet

      protected void onDatesSet(DatesSetDomEvent event)
      Overrides:
      onDatesSet in class JmixFullCalendar
    • onMoreLinkClick

      protected void onMoreLinkClick(MoreLinkClickDomEvent event)
      Overrides:
      onMoreLinkClick in class JmixFullCalendar
    • onEventClick

      protected void onEventClick(EventClickDomEvent event)
      Overrides:
      onEventClick in class JmixFullCalendar
    • onEventMouseEnter

      protected void onEventMouseEnter(EventMouseEnterDomEvent event)
      Overrides:
      onEventMouseEnter in class JmixFullCalendar
    • onEventMouseLeave

      protected void onEventMouseLeave(EventMouseLeaveDomEvent event)
      Overrides:
      onEventMouseLeave in class JmixFullCalendar
    • onEventDrop

      protected void onEventDrop(EventDropDomEvent event)
      Overrides:
      onEventDrop in class JmixFullCalendar
    • onEventResize

      protected void onEventResize(EventResizeDomEvent event)
      Overrides:
      onEventResize in class JmixFullCalendar
    • onDateClick

      protected void onDateClick(DateClickDomEvent event)
      Overrides:
      onDateClick in class JmixFullCalendar
    • onSelect

      protected void onSelect(SelectDomEvent event)
      Overrides:
      onSelect in class JmixFullCalendar
    • onUnselect

      protected void onUnselect(UnselectDomEvent event)
      Overrides:
      onUnselect in class JmixFullCalendar
    • onDayNavigationLinkClick

      protected void onDayNavigationLinkClick(DayNavigationLinkClickDomEvent event)
      Overrides:
      onDayNavigationLinkClick in class JmixFullCalendar
    • onWeekNavigationLinkClick

      protected void onWeekNavigationLinkClick(WeekNavigationLinkClickDomEvent event)
      Overrides:
      onWeekNavigationLinkClick in class JmixFullCalendar
    • getMoreLinkClassNames

      protected elemental.json.JsonArray getMoreLinkClassNames(elemental.json.JsonObject jsonContext)
      Overrides:
      getMoreLinkClassNames in class JmixFullCalendar
    • getDayHeaderClassNames

      protected elemental.json.JsonArray getDayHeaderClassNames(elemental.json.JsonObject jsonContext)
      Overrides:
      getDayHeaderClassNames in class JmixFullCalendar
    • getDayCellClassNames

      protected elemental.json.JsonArray getDayCellClassNames(elemental.json.JsonObject jsonContext)
      Overrides:
      getDayCellClassNames in class JmixFullCalendar
    • getSlotLabelClassNames

      protected elemental.json.JsonArray getSlotLabelClassNames(elemental.json.JsonObject jsonContext)
      Overrides:
      getSlotLabelClassNames in class JmixFullCalendar
    • getNowIndicatorClassNames

      protected elemental.json.JsonArray getNowIndicatorClassNames(elemental.json.JsonObject jsonContext)
      Overrides:
      getNowIndicatorClassNames in class JmixFullCalendar
    • getDayCellBottomTextInfo

      protected elemental.json.JsonObject getDayCellBottomTextInfo(elemental.json.JsonObject jsonContext)
      Overrides:
      getDayCellBottomTextInfo in class JmixFullCalendar
    • createDataProviderManager

      protected ItemsDataProviderManager createDataProviderManager(ItemsCalendarDataProvider dataProvider)
    • createCallbackDataProviderManager

      protected CallbackDataProviderManager createCallbackDataProviderManager(CallbackCalendarDataProvider dataProvider)
    • initTimeZone

      protected void initTimeZone()
    • toLocalDateTime

      protected LocalDateTime toLocalDateTime(String isoDateTime)
      Returns date-time as is from client without transformation
      Parameters:
      isoDateTime - string to parse
      Returns:
      local date-time
    • transformToLocalDateTime

      protected LocalDateTime transformToLocalDateTime(String isoDateTime)
      Returns transformed date-time from component's time zone to system default (TimeZone.getDefault()).
      Parameters:
      isoDateTime - string to parse
      Returns:
      transformed local date-time
    • getComponentZoneId

      protected ZoneId getComponentZoneId()
    • getComponentTimeZone

      protected TimeZone getComponentTimeZone()
    • getDataProviderManager

      protected AbstractDataProviderManager getDataProviderManager(String sourceId)
    • getRelatedEvents

      protected List<CalendarEvent> getRelatedEvents(List<DomCalendarEvent> relatedEvents)
      Returns all related calendar events, even if they are from different data providers.

      Note, it applies changes to CalendarEvent.

      Parameters:
      relatedEvents - list of raw related events
      Returns:
      related calendar events
    • getRelatedDataProviderContexts

      protected List<AbstractEventMoveEvent.RelatedDataProviderContext> getRelatedDataProviderContexts(List<DomCalendarEvent> relatedEvents)
    • getCalendarEvent

      protected CalendarEvent getCalendarEvent(DomCalendarEvent clientEvent, AbstractDataProviderManager dataProviderManager)
    • applyChangesToCalendarEvent

      protected void applyChangesToCalendarEvent(CalendarEvent calendarEvent, DomCalendarEvent clientEvent)
    • createMoreLinkDataProviderContexts

      protected List<MoreLinkClickEvent.DataProviderContext> createMoreLinkDataProviderContexts(DomMoreLinkClick context)
    • createMoreLinkDataProviderContext

      @Nullable protected MoreLinkClickEvent.DataProviderContext createMoreLinkDataProviderContext(AbstractDataProviderManager dataProviderManager, List<DomCalendarEvent> allEvents, List<DomCalendarEvent> hiddenEvents)
    • toCalendarEvents

      protected List<CalendarEvent> toCalendarEvents(List<DomCalendarEvent> events)
    • toCalendarEvents

      protected List<CalendarEvent> toCalendarEvents(AbstractDataProviderManager dataProviderManager, List<DomCalendarEvent> segments)
    • createOldValues

      protected AbstractEventMoveEvent.OldValues createOldValues(DomCalendarEvent clientEvent)
    • createDelta

      protected CalendarDuration createDelta(DomCalendarDuration clientDuration)
    • createDisplayModeInfo

      protected DisplayModeInfo createDisplayModeInfo(DomViewInfo clientViewInfo)
    • createDefaultI18n

      protected FullCalendarI18n createDefaultI18n()
    • createCalendarLocalizedUnitNamesJson

      protected elemental.json.JsonObject createCalendarLocalizedUnitNamesJson()
    • getParsedByCommaMessage

      protected List<String> getParsedByCommaMessage(String key)
    • getMessage

      protected String getMessage(String key)
    • setupDayGridLocalizedFormats

      protected void setupDayGridLocalizedFormats()
    • setupTimeGridLocalizedFormats

      protected void setupTimeGridLocalizedFormats()
    • setupListLocalizedFormats

      protected void setupListLocalizedFormats()
    • setupMultiLocalizedFormats

      protected void setupMultiLocalizedFormats()
    • setupDefaultLocalizedFormats

      protected void setupDefaultLocalizedFormats()
    • getDisplayMode

      protected CalendarDisplayMode getDisplayMode(String id)
      Method is overridden to make it available from FullCalendarUtils.getDisplayMode(FullCalendar, String).
      Overrides:
      getDisplayMode in class JmixFullCalendar
      Parameters:
      id - display mode id
      Returns:
      calendar display mode instance
    • addDataProvidersOnAttach

      protected void addDataProvidersOnAttach()
      Overrides:
      addDataProvidersOnAttach in class JmixFullCalendar