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
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
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 TypeMethodDescriptionboolean
boolean
void
setFixedWeekCount
(boolean fixedWeekCount) Determines the number of displayed weeks.void
setShowNonCurrentDates
(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, 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
-
fixedWeekCount
protected boolean fixedWeekCount -
showNonCurrentDates
protected boolean showNonCurrentDates
-
-
Constructor Details
-
DayGridMonthProperties
public DayGridMonthProperties()
-
-
Method Details
-
isFixedWeekCount
public boolean isFixedWeekCount()- Returns:
true
if calendar displays fixed week count
-
setFixedWeekCount
public void setFixedWeekCount(boolean fixedWeekCount) Determines the number of displayed weeks.If
true
, the calendar will always be6
weeks tall. Iffalse
, the calendar will have either4
,5
, or6
weeks, depending on the month.The default value is
true
.- Parameters:
fixedWeekCount
- whether to display fixed week count
-
isShowNonCurrentDates
public boolean isShowNonCurrentDates()- Returns:
true
if 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
-