Class ProgramSelectionPluginEvent

  • public final class ProgramSelectionPluginEvent
    extends PluginEvent
    Plugin event generated when the selection in a program changes.
    • Field Detail

      • NAME

        public static final java.lang.String NAME
        The name of this plugin event.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProgramSelectionPluginEvent

        public ProgramSelectionPluginEvent​(java.lang.String src,
                                           ProgramSelection sel,
                                           Program program)
        Construct a new plugin event
        src - the name of the plugin that generated this event
        sel - the program selection
        program - the program associated with this event
    • Method Detail

      • getSelection

        public ProgramSelection getSelection()
        Returns the program selection contained in this event.
        ProgramSelection the program selection in this event.
      • getProgram

        public Program getProgram()
        Returns the Program object that the selection refers to.