Package io.jmix.ui.xml.layout.loader
Class CalendarLoader
java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<Calendar>
io.jmix.ui.xml.layout.loader.CalendarLoader
- All Implemented Interfaces:
ComponentLoader<Calendar>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.CompositeComponentContext, ComponentLoader.Context, ComponentLoader.InitTask, ComponentLoader.InjectTask
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
Fields inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
applicationContext, context, element, environment, factory, layoutLoaderConfig, loaderResolver, loaderSupport, resultComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
convertToType
(Date date, Class javaType) void
Creates result component by XML-element and loads its Id.protected DateTimeTransformations
protected void
loadCalendarData
(Calendar component, org.dom4j.Element element) void
Loads component properties by XML definition.protected void
loadDataContainer
(Calendar component, org.dom4j.Element element) protected void
loadDatatype
(HasDatatype component, org.dom4j.Element element) protected void
loadDayNames
(Calendar resultComponent, org.dom4j.Element element) protected void
loadEndDate
(Calendar resultComponent, org.dom4j.Element element) protected void
loadEventProviderRelatedProperties
(Calendar component, org.dom4j.Element element) protected void
loadFirstVisibleDayOfWeek
(Calendar resultComponent, org.dom4j.Element element) protected void
loadFirstVisibleHourOfDay
(Calendar resultComponent, org.dom4j.Element element) protected void
loadLastVisibleDayOfWeek
(Calendar resultComponent, org.dom4j.Element element) protected void
loadLastVisibleHourOfDay
(Calendar resultComponent, org.dom4j.Element element) protected void
loadMonthNames
(Calendar resultComponent, org.dom4j.Element element) protected void
loadNavigationButtonsVisible
(Calendar resultComponent, org.dom4j.Element element) protected void
loadStartDate
(Calendar resultComponent, org.dom4j.Element element) protected void
loadTimeFormat
(Calendar resultComponent, org.dom4j.Element element) protected void
loadWeeklyCaptionFormat
(Calendar resultComponent, org.dom4j.Element element) protected Date
parseDateOrDateTime
(String value) Methods inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
assignFrame, assignXmlDescriptor, findComponent, getActions, getClassManager, getComponentContext, getCompositeComponentContext, getContext, getElement, getFactory, getIconPath, getLayoutLoader, getLayoutLoader, getLayoutLoaderConfig, getLoaderResolver, getLoaderSupport, getMessages, getMessageTools, getMeterRegistry, getParentDataContainer, getProperties, getResultComponent, getTheme, initAction, loadAction, loadActionConstraint, loadActionId, loadActions, loadAlign, loadBoolean, loadBoolean, loadBorder, loadCaption, loadCaptionAsHtml, loadCollapsible, loadContainer, loadContainer, loadContextHelp, loadCss, loadData, loadDeclarativeAction, loadDeclarativeActionByType, loadDeclarativeActionDefault, loadDescription, loadDescriptionAsHtml, loadEditable, loadEnable, loadEnum, loadEnum, loadFocusable, loadFormatter, loadFormatter, loadHeight, loadHeight, loadHtmlSanitizerEnabled, loadIcon, loadId, loadInputPrompt, loadInteger, loadInteger, loadMargin, loadMetaClass, loadMetaClass, loadMinHeight, loadMinHeight, loadMinWidth, loadMinWidth, loadOptionsContainer, loadOrientation, loadRequired, loadRequiredIndicatorVisible, loadResourceString, loadResponsive, loadShortcut, loadShortcutFromAlias, loadShortcutFromConfig, loadShortcutFromFQNConfig, loadString, loadString, loadStyleName, loadTabIndex, loadThemeInt, loadThemeString, loadValidation, loadValuePickerDeclarativeAction, loadVisible, loadWidth, loadWidth, parseMarginInfo, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLayoutLoaderConfig, setLoaderResolver, setLoaderSupport
-
Field Details
-
DATE_PATTERN_DAY
- See Also:
-
DATE_PATTERN_MIN
- See Also:
-
TIME_FORMAT_12H
- See Also:
-
TIME_FORMAT_24H
- See Also:
-
-
Constructor Details
-
CalendarLoader
public CalendarLoader()
-
-
Method Details
-
createComponent
public void createComponent()Description copied from interface:ComponentLoader
Creates result component by XML-element and loads its Id. Also creates all nested components.- See Also:
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- See Also:
-
loadCalendarData
-
loadDataContainer
-
loadEventProviderRelatedProperties
-
loadDatatype
-
loadStartDate
-
loadEndDate
-
getDateTimeTransformations
-
convertToType
-
parseDateOrDateTime
- Throws:
ParseException
-
loadTimeFormat
-
loadFirstVisibleHourOfDay
-
loadLastVisibleHourOfDay
-
loadFirstVisibleDayOfWeek
-
loadLastVisibleDayOfWeek
-
loadWeeklyCaptionFormat
-
loadDayNames
-
loadMonthNames
-