Class DateSelectionEvent

    • Constructor Detail

      • DateSelectionEvent

        public DateSelectionEvent​(Object source,
                                  DateSelectionEvent.EventType eventType,
                                  boolean adjusting)
        Constructs a prototypical Event.
        Parameters:
        source - The object on which the Event initially occurred.
        eventType - the type of the event
        adjusting - the adjusting property of the source
        Throws:
        IllegalArgumentException - if source is null.
    • Method Detail

      • getSelection

        public SortedSet<Date> getSelection()
        Returns the selection of the source dateSelectionModel.

        PENDING JW: that's the "live" selection, that is the source is re-queried on every call to this method. Bug or feature?

        Returns:
        the selection of the source.
      • isAdjusting

        public boolean isAdjusting()
        Returns a boolean indicating whether the event source is in adjusting state.
        Returns:
        true if the event is fired while the model is in adjusting state.