Class DayEditorSelection


  • public class DayEditorSelection
    extends java.lang.Object
    Class DayEditorSelection. Represents the current selection in a DayEditor control.
    Since:
    3.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean allDay
      Indicates if the current selection is in an all-day event row.
      java.util.Date dateTime
      The date/time of the currently selected cell or null if selectedCalenderable != null
      CalendarableItem selectedCalendarable
      Represents the selected CalendarableItem or null if none is selected.
    • Field Detail

      • selectedCalendarable

        public CalendarableItem selectedCalendarable
        Represents the selected CalendarableItem or null if none is selected.
      • allDay

        public boolean allDay
        Indicates if the current selection is in an all-day event row.
      • dateTime

        public java.util.Date dateTime
        The date/time of the currently selected cell or null if selectedCalenderable != null
    • Constructor Detail

      • DayEditorSelection

        public DayEditorSelection()
    • Method Detail

      • setSelectedCalendarable

        public void setSelectedCalendarable​(CalendarableItem selectedCalendarable)
        Sets the selectedCalendarable.
        Parameters:
        selectedCalendarable - the CalendarableItem to select
      • setAllDay

        public void setAllDay​(boolean allDay)
        Sets the allDay flag.
        Parameters:
        allDay - true if the selection is in an all-day event row or if the selectedCalenderable represents an all-day event; false otherwise.
      • setDateTime

        public void setDateTime​(java.util.Date date)
        Sets the dateTime.
        Parameters:
        date - the Date to set.