Class NowIndicatorClassNamesContext

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

public class NowIndicatorClassNamesContext extends AbstractFullCalendarContext
The context for generating class names for "now" indicator in timed display modes: CalendarDisplayModes.TIME_GRID_DAY and CalendarDisplayModes.TIME_GRID_WEEK.
  • Field Details

    • isAxis

      protected final boolean isAxis
    • dateTime

      protected final LocalDateTime dateTime
    • displayModeInfo

      protected final DisplayModeInfo displayModeInfo
  • Constructor Details

  • Method Details

    • isAxis

      public boolean isAxis()
      Returns:
      true if class names will be applied for now-indicator's arrow, otherwise class names will be applied for now-indicator's line
    • getDateTime

      public LocalDateTime getDateTime()
      Returns date-time as is from component without transformation. It means that value corresponds component's TimeZone.

      For now-indicator's line the time part will be 00:00:00.

      Returns:
      indicator's date-time
    • getDisplayModeInfo

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