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
FRAGMENT_SCHEMA, MAIN_VIEW_SCHEMA, MAIN_VIEW_TAB_MODE_SCHEMA, VIEW_OR_FRAGMENT_SCHEMAS, VIEW_SCHEMA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected tools.jackson.databind.node.ArrayNodeconvertBusinessHoursToJson(List<NoOpBusinessHours> businessHours) protected StudioDisplayModePropertiesLoaderbooleanisSupported(org.dom4j.Element element) Define the element that this loader can load.@Nullable 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 @Nullable 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
hasViewOrFragmentSchema, load, loadBoolean, loadBoolean, loadClassNames, loadComponentBaseAttributes, loadDouble, loadDouble, loadEnabled, loadEnum, loadEnum, loadFieldAttributes, loadHeight, loadInteger, loadInteger, loadLocalizedString, loadMaxHeight, loadMaxWidth, loadMinHeight, loadMinWidth, loadSizeAttributes, loadString, loadString, loadString, loadThemeNames, loadTooltip, loadWidth, propertyCaption, 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
public @Nullable 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:
-
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 tools.jackson.databind.node.ArrayNode convertBusinessHoursToJson(List<NoOpBusinessHours> businessHours) -
loadBusinessHoursEntry
-
displayModeProperties
-