Class StudioFullCalendarPreviewLoader

java.lang.Object
io.jmix.fullcalendarflowui.kit.meta.loader.StudioFullCalendarPreviewLoader
All Implemented Interfaces:
StudioPreviewComponentLoader

public class StudioFullCalendarPreviewLoader extends Object implements StudioPreviewComponentLoader
  • Field Details

  • Constructor Details

    • StudioFullCalendarPreviewLoader

      public StudioFullCalendarPreviewLoader()
  • Method Details

    • isSupported

      public boolean isSupported(org.dom4j.Element element)
      Description copied from interface: StudioPreviewComponentLoader
      Define the element that this loader can load.
      Specified by:
      isSupported in interface StudioPreviewComponentLoader
    • load

      @Nullable public com.vaadin.flow.component.Component load(org.dom4j.Element element, org.dom4j.Element viewElement)
      Description copied from interface: StudioPreviewComponentLoader
      Create vaadin component from component xml element.
      Specified by:
      load in interface StudioPreviewComponentLoader
      Parameters:
      element - xml element of component
      viewElement - xml element of view containing componentElement
      See Also:
      • Element
    • loadOnAttach

      protected void loadOnAttach(org.dom4j.Element element, JmixFullCalendar resultComponent)
    • loadDuration

      protected void loadDuration(org.dom4j.Element element, String attribute, Consumer<CalendarDuration> setter)
    • loadMoreLinkDisplayMode

      protected void loadMoreLinkDisplayMode(org.dom4j.Element element, Consumer<CalendarDisplayMode> setter)
    • loadStringList

      protected void loadStringList(org.dom4j.Element element, String attribute, Consumer<List<String>> setter)
    • loadInitialDisplayMode

      protected void loadInitialDisplayMode(org.dom4j.Element element, JmixFullCalendar resultComponent)
    • loadDefaultBusinessHoursEnabled

      protected void loadDefaultBusinessHoursEnabled(org.dom4j.Element element, JmixFullCalendar resultComponent)
    • loadFirstDayOfWeek

      protected void loadFirstDayOfWeek(org.dom4j.Element element, JmixFullCalendar resultComponent)
    • loadHiddenDays

      protected void loadHiddenDays(org.dom4j.Element element, JmixFullCalendar resultComponent)
    • loadBusinessHours

      protected void loadBusinessHours(org.dom4j.Element element, JmixFullCalendar resultComponent)
    • convertBusinessHoursToJson

      protected elemental.json.JsonArray convertBusinessHoursToJson(List<NoOpBusinessHours> businessHours)
    • loadBusinessHoursEntry

      @Nullable protected NoOpBusinessHours loadBusinessHoursEntry(org.dom4j.Element element)
    • displayModeProperties

      protected StudioDisplayModePropertiesLoader displayModeProperties()