Class FullCalendarSettings

java.lang.Object
com.jalios.jcms.calendar.fullcalendar.FullCalendarSettings

public class FullCalendarSettings extends Object
Settings used by the core FullCalendar component.

A settings instance is required by <jalios:calendar>. Use builder(Member) with the logged member to apply the current navigation language and the member time zone. A null member uses the current navigation language and FullCalendar local time zone.

Since:
jcms-11.0.0
  • Field Details

  • Method Details

    • builder

      public static FullCalendarSettings.Builder builder(String domId)
      Creates a builder with an optional legacy DOM id.

      The generic calendar component no longer requires a DOM id because modules should target the generated wrapper with CSS selectors and DOM events.

      Parameters:
      domId - optional legacy DOM id kept for source compatibility
      Returns:
      a settings builder
    • builder

      public static FullCalendarSettings.Builder builder()
      Creates a builder without a DOM id.
      Returns:
      a settings builder
    • builder

      public static FullCalendarSettings.Builder builder(Member loggedMember)
      Creates a builder configured with the current navigation language and the time zone of a member.
      Parameters:
      loggedMember - member for which the calendar is displayed, or null for an anonymous visitor
      Returns:
      a settings builder
    • getDomId

      public String getDomId()
    • getInitialView

      public String getInitialView()
    • isDisplayHeaderRight

      public boolean isDisplayHeaderRight()
    • getActionsJsp

      public String getActionsJsp()
    • getCreateEventJsp

      public String getCreateEventJsp()
    • getActionFormSelector

      public String getActionFormSelector()
    • getActionParams

      public Map<String,Object> getActionParams()
    • getWrapperCss

      public String getWrapperCss()
    • getEventsUrl

      public String getEventsUrl()
    • getEventSources

      public List<Object> getEventSources()
    • getCallbackEvents

      public Map<String,String> getCallbackEvents()
    • getRenderingOptions

      public Map<String,Object> getRenderingOptions()
    • getViewItems

      public List<FullCalendarSettings.ViewItem> getViewItems()
    • getIcons

      public List<String> getIcons()
    • isShowToday

      public boolean isShowToday()
    • isShowDatePicker

      public boolean isShowDatePicker()
    • getMinHeight

      public int getMinHeight()
    • getOptions

      public Map<String,Object> getOptions()