Class AbstractMouseMovementTracker

    • Field Detail

      • m_Panel

        protected PaintablePanel m_Panel
        the panel this tracker is for.
    • Constructor Detail

      • AbstractMouseMovementTracker

        public AbstractMouseMovementTracker()
    • Method Detail

      • hasPanel

        public boolean hasPanel()
        Returns whether a panel has been set.
        Returns:
        true if a panel is currently set
      • getPlot

        public PlotPanel getPlot()
        Returns the plot panel of the panel, null if no panel present.
        Returns:
        the plot panel
      • shallowCopyTracker

        public MouseMovementTracker shallowCopyTracker​(boolean expand)
        Returns a shallow copy of the tracker.
        Specified by:
        shallowCopyTracker in interface MouseMovementTracker
        Parameters:
        expand - whether to expand variables to their actual value
        Returns:
        a shallow copy of the tracker
      • getMouseMovementTrackers

        public static String[] getMouseMovementTrackers()
        Returns a list with classnames of paintlets.
        Returns:
        the filter classnames
      • forName

        public static MouseMovementTracker forName​(String classname,
                                                   String[] options)
        Instantiates the paintlet with the given options.
        Parameters:
        classname - the classname of the paintlet to instantiate
        options - the options for the paintlet
        Returns:
        the instantiated paintlet or null if an error occurred
      • forCommandLine

        public static MouseMovementTracker forCommandLine​(String cmdline)
        Instantiates the paintlet from the given commandline (i.e., classname and optional options).
        Parameters:
        cmdline - the classname (and optional options) of the paintlet to instantiate
        Returns:
        the instantiated paintlet or null if an error occurred