Class AbstractDayGridProperties
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DayGridDayProperties,- DayGridMonthProperties,- DayGridWeekProperties,- DayGridYearProperties
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOptionCalendarOption.OptionChangeEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected booleanprotected Stringprotected StringFields inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModePropertiespropertiesFields inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOptiondirty, eventBus, name
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidsetDayHeaderFormat(String format) Sets the format of the text that will be displayed on the calendar’s column headings.voidsetDayPopoverFormat(String format) Sets the date format of title of the popover that is shown when "more" link is clicked.voidsetDisplayEventEnd(boolean displayEventEnd) Determines an event's end time visibility.voidsetEventTimeFormat(String format) Sets the format of the time-text that will be displayed on each event.voidsetWeekNumberFormat(String format) Sets the format of the week number that will be displayed whenJmixFullCalendar.isWeekNumbersVisible()istrue.By default, component sets localized format from messages when is created.Methods inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModePropertiesaddProperty, getProperties, removePropertyMethods inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOptionaddChangeListener, fireChangeEvent, getName, getValueToSerialize, isDirty, markAsDirty, unmarkAsDirty
- 
Field Details- 
dayPopoverFormat
- 
dayHeaderFormat
- 
weekNumberFormat
- 
eventTimeFormat
- 
displayEventEndprotected boolean displayEventEnd
 
- 
- 
Constructor Details- 
AbstractDayGridProperties
 
- 
- 
Method Details- 
getDayHeaderFormat- Returns:
- the day header format or nullif not set
 
- 
setDayHeaderFormatSets the format of the text that will be displayed on the calendar’s column headings. By default, component sets localized format from messages when is created.The nullvalue makes component to use value fromJmixFullCalendar.getDefaultDayHeaderFormat().As component uses moment plugin for FullCalendar, we should follow the moment.js formatting rules: Moment.js Documentation For instance, the "dd"producesMo.- Parameters:
- format- format to set
 
- 
getWeekNumberFormat- Returns:
- the format of the week number or nullif not set
 
- 
setWeekNumberFormatSets the format of the week number that will be displayed whenJmixFullCalendar.isWeekNumbersVisible()istrue.By default, component sets localized format from messages when is created.The nullvalue makes component to use value fromJmixFullCalendar.getDefaultWeekNumberFormat().As component uses moment plugin for FullCalendar, we should follow the moment.js formatting rules: Moment.js Documentation For instance, the "[Week] w"producesWeek 1(1, 2, ... 52, 53).- Parameters:
- format- format to set
 
- 
getEventTimeFormat- Returns:
- the event time format or nullif not set
 
- 
setEventTimeFormatSets the format of the time-text that will be displayed on each event. By default, component sets localized format from messages when is created.The nullvalue makes component to use value fromJmixFullCalendar.getDefaultEventTimeFormat().As component uses moment plugin for FullCalendar, we should follow the moment.js formatting rules: Moment.js Documentation For instance, the "HH:mm"produces00:00(01, 2, ... 24 : 01, 02 ... 59).- Parameters:
- format- format to set
 
- 
getDayPopoverFormat- Returns:
- the day popover format or nullif not set
 
- 
setDayPopoverFormatSets the date format of title of the popover that is shown when "more" link is clicked. By default, component sets localized format from messages when is created.The nullvalue makes component to use value fromJmixFullCalendar.getDefaultDayPopoverFormat().As component uses moment plugin for FullCalendar, we should follow the moment.js formatting rules: Moment.js Documentation For instance, the "MMM D, YY"producesSep 9, 24.- Parameters:
- format- format to set
 
- 
isDisplayEventEndpublic boolean isDisplayEventEnd()- Returns:
- trueif an event's end time is visible
 
- 
setDisplayEventEndpublic void setDisplayEventEnd(boolean displayEventEnd) Determines an event's end time visibility.By default trueforCalendarDisplayModes.DAY_GRID_DAYandfalsefor other day-grid display modes.- Parameters:
- displayEventEnd- whether to display end time
 
 
-