Class SelectionChangeEvent


  • public class SelectionChangeEvent
    extends java.lang.Object
    A SelectionChangeEvent for selected Calendarables in a DayEditor.
    Since:
    3.2
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • oldSelection

        public final CalendarableItem oldSelection
        The previously selected Calendarable or null if no selection
      • newSelection

        public final CalendarableItem newSelection
        The new selection or null if the selection is being cleared
    • Constructor Detail

      • SelectionChangeEvent

        public SelectionChangeEvent​(CalendarableItem oldSelection,
                                    CalendarableItem newSelection)
        Constructor SelectionChangeEvent. Construct a SelectionChangeEvent from the Calendarable objects that represent the old and new selection.
        Parameters:
        oldSelection - The previously selected Calendarable or null if no selection
        newSelection - The new selection or null if the selection is being cleared