Class StudioFullCalendarPreviewLoader
java.lang.Object
io.jmix.fullcalendarflowui.kit.meta.loader.StudioFullCalendarPreviewLoader
- All Implemented Interfaces:
StudioPreviewComponentLoader
-
Field Summary
FieldsFields inherited from interface io.jmix.flowui.kit.meta.component.preview.StudioPreviewComponentLoader
VIEW_SCHEMA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected elemental.json.JsonArrayconvertBusinessHoursToJson(List<NoOpBusinessHours> businessHours) protected StudioDisplayModePropertiesLoaderbooleanisSupported(org.dom4j.Element element) Define the element that this loader can load.com.vaadin.flow.component.Componentload(org.dom4j.Element element, org.dom4j.Element viewElement) Create vaadin component from component xml element.protected voidloadBusinessHours(org.dom4j.Element element, JmixFullCalendar resultComponent) protected NoOpBusinessHoursloadBusinessHoursEntry(org.dom4j.Element element) protected voidloadDefaultBusinessHoursEnabled(org.dom4j.Element element, JmixFullCalendar resultComponent) protected voidloadDuration(org.dom4j.Element element, String attribute, Consumer<CalendarDuration> setter) protected voidloadFirstDayOfWeek(org.dom4j.Element element, JmixFullCalendar resultComponent) protected voidloadHiddenDays(org.dom4j.Element element, JmixFullCalendar resultComponent) protected voidloadInitialDisplayMode(org.dom4j.Element element, JmixFullCalendar resultComponent) protected voidloadMoreLinkDisplayMode(org.dom4j.Element element, Consumer<CalendarDisplayMode> setter) protected voidloadOnAttach(org.dom4j.Element element, JmixFullCalendar resultComponent) protected voidloadStringList(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, waitMethods 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:StudioPreviewComponentLoaderDefine the element that this loader can load.- Specified by:
isSupportedin interfaceStudioPreviewComponentLoader
-
load
@Nullable public com.vaadin.flow.component.Component load(org.dom4j.Element element, org.dom4j.Element viewElement) Description copied from interface:StudioPreviewComponentLoaderCreate vaadin component from component xml element.- Specified by:
loadin 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
-