Class DayGridMonthProperties

All Implemented Interfaces:
Serializable

public class DayGridMonthProperties extends AbstractDayGridProperties
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:
  • 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 be 6 weeks tall. If false, the calendar will have either 4, 5, or 6 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