Class DayGridMonthProperties
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.DayGridMonthProperties
- All Implemented Interfaces:
Serializable
Configuration properties of day-grid month display mode
CalendarDisplayModes.DAY_GRID_MONTH.
The properties can be retrieved from JmixFullCalendar.getCalendarDisplayModeProperties(CalendarDisplayModes).
For instance:
calendar.getCalendarDisplayModeProperties(CalendarDisplayModes.DAY_GRID_MONTH);
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
CalendarOption.OptionChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanFields inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractDayGridProperties
dayHeaderFormat, dayPopoverFormat, displayEventEnd, eventTimeFormat, weekNumberFormatFields inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
propertiesFields inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
dirty, eventBus, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetFixedWeekCount(boolean fixedWeekCount) Determines the number of displayed weeks.voidsetShowNonCurrentDates(boolean showNonCurrentDates) Determines displaying dates from previous and next months.Methods inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractDayGridProperties
getDayHeaderFormat, getDayPopoverFormat, getEventTimeFormat, getWeekNumberFormat, isDisplayEventEnd, setDayHeaderFormat, setDayPopoverFormat, setDisplayEventEnd, setEventTimeFormat, setWeekNumberFormatMethods inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
addProperty, getProperties, removePropertyMethods inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
addChangeListener, fireChangeEvent, getName, getValueToSerialize, isDirty, markAsDirty, unmarkAsDirty
-
Field Details
-
fixedWeekCount
protected boolean fixedWeekCount -
showNonCurrentDates
protected boolean showNonCurrentDates
-
-
Constructor Details
-
DayGridMonthProperties
public DayGridMonthProperties()
-
-
Method Details
-
isFixedWeekCount
public boolean isFixedWeekCount()- Returns:
trueif calendar displays fixed week count
-
setFixedWeekCount
public void setFixedWeekCount(boolean fixedWeekCount) Determines the number of displayed weeks.If
true, the calendar will always be6weeks tall. Iffalse, the calendar will have either4,5, or6weeks, depending on the month.The default value is
true.- Parameters:
fixedWeekCount- whether to display fixed week count
-
isShowNonCurrentDates
public boolean isShowNonCurrentDates()- Returns:
trueif calendar shows dates from next/previous months
-
setShowNonCurrentDates
public void setShowNonCurrentDates(boolean showNonCurrentDates) Determines displaying dates from previous and next months.The default value is
true.- Parameters:
showNonCurrentDates- whether to show dates from next/previous months
-