Class DayCellBottomTextClassNamesContext
java.lang.Object
io.jmix.fullcalendarflowui.component.event.AbstractFullCalendarContext
io.jmix.fullcalendarflowui.component.event.DayCellBottomTextClassNamesContext
The context for generating class names that day cell's bottom text will use.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LocalDateprotected final DayOfWeekprotected final DisplayModeInfoprotected final booleanprotected final booleanprotected final booleanprotected final booleanprotected final booleanprotected final StringFields inherited from class io.jmix.fullcalendarflowui.component.event.AbstractFullCalendarContext
fullCalendar -
Constructor Summary
ConstructorsConstructorDescriptionDayCellBottomTextClassNamesContext(FullCalendar fullCalendar, LocalDate date, DayOfWeek dayOfWeek, boolean isDisabled, boolean isFuture, boolean isOther, boolean isPast, boolean isToday, String text, DisplayModeInfo displayModeInfo) -
Method Summary
Methods inherited from class io.jmix.fullcalendarflowui.component.event.AbstractFullCalendarContext
getFullCalendar
-
Field Details
-
date
-
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 -
text
-
displayModeInfo
-
-
Constructor Details
-
DayCellBottomTextClassNamesContext
public DayCellBottomTextClassNamesContext(FullCalendar fullCalendar, LocalDate date, DayOfWeek dayOfWeek, boolean isDisabled, boolean isFuture, boolean isOther, boolean isPast, boolean isToday, String text, DisplayModeInfo displayModeInfo)
-
-
Method Details
-
getDate
- Returns:
- date that corresponds to day cell
-
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. SeeJmixFullCalendar.setValidRange(LocalDate, LocalDate).- Returns:
trueif 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
-
getText
- Returns:
- the generated text to be displayed at the bottom of the day cell
-
getDisplayModeInfo
- Returns:
- information about current calendar's display mode
-