Class DayCellBottomTextContext

java.lang.Object
io.jmix.fullcalendarflowui.component.event.AbstractFullCalendarContext
io.jmix.fullcalendarflowui.component.event.DayCellBottomTextContext

public class DayCellBottomTextContext extends AbstractFullCalendarContext
The context for generating text to be displayed at the bottom of the day cell.
  • Field Details

    • date

      protected final LocalDate date
    • dayOfWeek

      protected final DayOfWeek dayOfWeek
    • isDisabled

      protected final boolean isDisabled
    • isFuture

      protected final boolean isFuture
    • isOther

      protected final boolean isOther
    • isPast

      protected final boolean isPast
    • isToday

      protected final boolean isToday
    • displayModeInfo

      protected final DisplayModeInfo displayModeInfo
  • Constructor Details

    • DayCellBottomTextContext

      public DayCellBottomTextContext(FullCalendar fullCalendar, LocalDate date, DayOfWeek dayOfWeek, boolean isDisabled, boolean isFuture, boolean isOther, boolean isPast, boolean isToday, DisplayModeInfo displayModeInfo)
  • Method Details

    • getDate

      public LocalDate getDate()
      Returns:
      date that corresponds to day cell
    • getDayOfWeek

      public DayOfWeek getDayOfWeek()
      Returns:
      cell's day of week
    • isDisabled

      public boolean isDisabled()
      Cell can be disabled, for instance, if it is not in valid date range. See JmixFullCalendar.setValidRange(LocalDate, LocalDate).
      Returns:
      true if day cell is disabled
    • isFuture

      public boolean isFuture()
      Returns:
      whether the cell's date is in future compared with today's date
    • isOther

      public boolean isOther()
      Returns:
      whether the cell's date is in other month
    • isPast

      public boolean isPast()
      Returns:
      whether the cell's date is in past compared with today's date
    • isToday

      public boolean isToday()
      Returns:
      whether the cell's date is today
    • getDisplayModeInfo

      public DisplayModeInfo getDisplayModeInfo()
      Returns:
      information about current calendar's display mode