Class CalendarEventWrapper<V>

java.lang.Object
io.jmix.ui.component.calendar.CalendarEventWrapper<V>
All Implemented Interfaces:
com.vaadin.v7.ui.components.calendar.event.CalendarEvent, com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier, Serializable

public class CalendarEventWrapper<V> extends Object implements com.vaadin.v7.ui.components.calendar.event.CalendarEvent, com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier
See Also:
  • Field Details

    • modelToPresentationConverter

      protected Function<V,Date> modelToPresentationConverter
    • calendarEvent

      protected CalendarEvent<V> calendarEvent
    • eventChangeListeners

      protected List<com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener> eventChangeListeners
  • Constructor Details

  • Method Details

    • fireItemChanged

      protected void fireItemChanged()
    • getStart

      @Nullable public Date getStart()
      Specified by:
      getStart in interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent
    • getEnd

      @Nullable public Date getEnd()
      Specified by:
      getEnd in interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent
    • getCaption

      @Nullable public String getCaption()
      Specified by:
      getCaption in interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent
    • getDescription

      @Nullable public String getDescription()
      Specified by:
      getDescription in interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent
    • getStyleName

      @Nullable public String getStyleName()
      Specified by:
      getStyleName in interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent
    • isAllDay

      public boolean isAllDay()
      Specified by:
      isAllDay in interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getCalendarEvent

      public CalendarEvent<V> getCalendarEvent()
    • addEventChangeListener

      public void addEventChangeListener(com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener listener)
      Specified by:
      addEventChangeListener in interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier
    • removeEventChangeListener

      public void removeEventChangeListener(com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener listener)
      Specified by:
      removeEventChangeListener in interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier