Class Calendar.CalendarDayClickEvent<V>

java.lang.Object
java.util.EventObject
io.jmix.ui.component.Calendar.CalendarDayClickEvent<V>
Type Parameters:
V - type of value
All Implemented Interfaces:
Serializable
Enclosing interface:
Calendar<V>

public static class Calendar.CalendarDayClickEvent<V> extends EventObject
An event object that is fired when the user clicks on an empty space in the day.
See Also:
  • Field Details

    • date

      protected V date
  • Constructor Details

    • CalendarDayClickEvent

      public CalendarDayClickEvent(Calendar<V> source, @Nullable V date)
  • Method Details

    • getSource

      public Calendar<V> getSource()
      Overrides:
      getSource in class EventObject
    • getDate

      @Nullable public V getDate()
      If calendar value type supports time (e.g. Date) date will contain time value for day and week calendar view. Calendar with month view does not provide time value.
      Returns:
      date which user clicked on