Interface MouseMovementTracker

    • Method Detail

      • setPanel

        void setPanel​(PaintablePanel value)
        Sets the spectrum panel to use, null to disable painting.
        Parameters:
        value - the panel to paint on
      • getPanel

        PaintablePanel getPanel()
        Returns the spectrum panel currently in use.
        Returns:
        the panel in use
      • mouseMovementTracked

        void mouseMovementTracked​(MouseEvent e)
        Gets triggered when the mouse moved.
        Parameters:
        e - the mouse event that triggered the event
      • shallowCopyTracker

        MouseMovementTracker shallowCopyTracker()
        Returns a shallow copy of the tracker. Doesn't expand variables in case of OptionHandler objects.
        Returns:
        a shallow copy of the tracker
      • shallowCopyTracker

        MouseMovementTracker shallowCopyTracker​(boolean expand)
        Returns a shallow copy of the tracker.
        Parameters:
        expand - whether to expand variables to their actual value
        Returns:
        a shallow copy of the tracker