Class StudioFullCalendarPreviewLoader
java.lang.Object
io.jmix.fullcalendarflowui.kit.meta.loader.StudioFullCalendarPreviewLoader
- All Implemented Interfaces:
StudioPreviewComponentLoader
-
Field Summary
Fields inherited from interface io.jmix.flowui.kit.meta.component.preview.StudioPreviewComponentLoader
VIEW_SCHEMA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected elemental.json.JsonArray
convertBusinessHoursToJson
(List<NoOpBusinessHours> businessHours) protected StudioDisplayModePropertiesLoader
boolean
isSupported
(org.dom4j.Element element) Define the element that this loader can load.com.vaadin.flow.component.Component
load
(org.dom4j.Element element, org.dom4j.Element viewElement) Create vaadin component from component xml element.protected void
loadBusinessHours
(org.dom4j.Element element, JmixFullCalendar resultComponent) protected NoOpBusinessHours
loadBusinessHoursEntry
(org.dom4j.Element element) protected void
loadDefaultBusinessHoursEnabled
(org.dom4j.Element element, JmixFullCalendar resultComponent) protected void
loadDuration
(org.dom4j.Element element, String attribute, Consumer<CalendarDuration> setter) protected void
loadFirstDayOfWeek
(org.dom4j.Element element, JmixFullCalendar resultComponent) protected void
loadHiddenDays
(org.dom4j.Element element, JmixFullCalendar resultComponent) protected void
loadInitialDisplayMode
(org.dom4j.Element element, JmixFullCalendar resultComponent) protected void
loadMoreLinkDisplayMode
(org.dom4j.Element element, Consumer<CalendarDisplayMode> setter) protected void
loadOnAttach
(org.dom4j.Element element, JmixFullCalendar resultComponent) protected void
loadStringList
(org.dom4j.Element element, String attribute, Consumer<List<String>> setter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.kit.meta.component.preview.StudioPreviewComponentLoader
loadBoolean, loadBoolean, loadClassNames, loadDouble, loadDouble, loadEnabled, loadEnum, loadEnum, loadHeight, loadInteger, loadInteger, loadMaxHeight, loadMaxWidth, loadMinHeight, loadMinWidth, loadSizeAttributes, loadString, loadString, loadString, loadWidth, split, split
-
Field Details
-
displayModePropertiesLoader
-
-
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 interfaceStudioPreviewComponentLoader
-
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 interfaceStudioPreviewComponentLoader
- Parameters:
element
- xml element of componentviewElement
- xml element of view containingcomponentElement
- See Also:
-
Element
-
loadOnAttach
-
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
-
loadInitialDisplayMode
-
loadDefaultBusinessHoursEnabled
protected void loadDefaultBusinessHoursEnabled(org.dom4j.Element element, JmixFullCalendar resultComponent) -
loadFirstDayOfWeek
-
loadHiddenDays
-
loadBusinessHours
-
convertBusinessHoursToJson
protected elemental.json.JsonArray convertBusinessHoursToJson(List<NoOpBusinessHours> businessHours) -
loadBusinessHoursEntry
-
displayModeProperties
-