Class SelectionChangeEvent

  • All Implemented Interfaces:
    Serializable

    public class SelectionChangeEvent
    extends EventObject
    An event indicating that a selection or selection context change has occurred.
    Since:
    Ceres 0.10
    See Also:
    Serialized Form
    • Constructor Detail

      • SelectionChangeEvent

        public SelectionChangeEvent​(Object source,
                                    SelectionContext selectionContext,
                                    Selection selection)
        Constructs a selection event.
        Parameters:
        source - The object that originated the event.
        selectionContext - The selection context in which the selection event took place.
        selection - The selection.
    • Method Detail

      • getSelectionContext

        public SelectionContext getSelectionContext()
        Returns:
        The selection context in which the selection event took place.
      • getSelection

        public Selection getSelection()
        Returns:
        The selection.