Class DayGridYearProperties
java.lang.Object
io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
io.jmix.fullcalendarflowui.kit.component.model.AbstractDayGridProperties
io.jmix.fullcalendarflowui.kit.component.model.DayGridYearProperties
- All Implemented Interfaces:
Serializable
Configuration properties of day-grid year display mode
CalendarDisplayModes.DAY_GRID_YEAR
.
The properties can be retrieved from JmixFullCalendar.getCalendarDisplayModeProperties(CalendarDisplayModes)
.
For instance:
calendar.getCalendarDisplayModeProperties(CalendarDisplayModes.DAY_GRID_YEAR);
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
CalendarOption.OptionChangeEvent
-
Field Summary
Fields inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractDayGridProperties
dayHeaderFormat, dayPopoverFormat, displayEventEnd, eventTimeFormat, weekNumberFormat
Fields inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
properties
Fields inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
dirty, eventBus, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMonthStartFormat
(String format) Sets the format of the text format for the first cell of each month.Methods inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractDayGridProperties
getDayHeaderFormat, getDayPopoverFormat, getEventTimeFormat, getWeekNumberFormat, isDisplayEventEnd, setDayHeaderFormat, setDayPopoverFormat, setDisplayEventEnd, setEventTimeFormat, setWeekNumberFormat
Methods inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
addProperty, getProperties, removeProperty
Methods inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
addChangeListener, fireChangeEvent, getName, getValueToSerialize, isDirty, markAsDirty, unmarkAsDirty
-
Field Details
-
monthStartFormat
-
-
Constructor Details
-
DayGridYearProperties
public DayGridYearProperties()
-
-
Method Details
-
getMonthStartFormat
- Returns:
- the text format for the first cell of each month or
null
if not set
-
setMonthStartFormat
Sets the format of the text format for the first cell of each month. By default, component sets localized format from messages when is created.The
null
value resets day format to FullCalendar's default.As component uses moment plugin for FullCalendar, we should follow the moment.js formatting rules: Moment.js Documentation
For instance, the
"MMMM"
producesSeptember
(November
,December
, etc.).- Parameters:
format
- format to set
-