Class AbstractSelectionProcessor

    • Constructor Detail

      • AbstractSelectionProcessor

        public AbstractSelectionProcessor()
    • Method Detail

      • doHeatmapChanged

        protected void doHeatmapChanged​(HeatmapPanel panel)
        Notifies the overlay that the heatmap has changed.
        Parameters:
        panel - the panel this overlay belongs to
      • doProcessSelection

        protected abstract void doProcessSelection​(HeatmapPanel panel,
                                                   Point topLeft,
                                                   Point bottomRight,
                                                   int modifiersEx)
        Process the selection that occurred in the heatmap panel.
        Parameters:
        panel - the origin
        topLeft - the top-left position of the selection
        bottomRight - the bottom-right position of the selection
        modifiersEx - the associated modifiers
      • processSelection

        public void processSelection​(HeatmapPanel panel,
                                     Point topLeft,
                                     Point bottomRight,
                                     int modifiersEx)
        Process the selection that occurred in the heatmap panel.
        Parameters:
        panel - the origin
        topLeft - the top-left position of the selection
        bottomRight - the bottom-right position of the selection
        modifiersEx - the associated modifiers
      • check

        protected String check​(HeatmapPanelSelectionEvent e)
        Performs a check on the event.
        Parameters:
        e - the event to check
        Returns:
        null if OK, otherwise error message
      • shallowCopy

        public AbstractSelectionProcessor shallowCopy()
        Returns a shallow copy of itself, i.e., based on the commandline options.
        Specified by:
        shallowCopy in interface adams.core.ShallowCopySupporter<AbstractSelectionProcessor>
        Returns:
        the shallow copy
      • shallowCopy

        public AbstractSelectionProcessor shallowCopy​(boolean expand)
        Returns a shallow copy of itself, i.e., based on the commandline options.
        Specified by:
        shallowCopy in interface adams.core.ShallowCopySupporter<AbstractSelectionProcessor>
        Parameters:
        expand - whether to expand variables to their current values
        Returns:
        the shallow copy