Class RemoveOutliersClickAction

    • Constructor Detail

      • RemoveOutliersClickAction

        public RemoveOutliersClickAction()
    • Method Detail

      • hitDetectorTipText

        public String hitDetectorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setRemoveDataListener

        public void setRemoveDataListener​(RemoveDataListener l)
        Sets the listener.
        Parameters:
        l - the listener, null to unset
      • getRemoveDataListener

        public RemoveDataListener getRemoveDataListener()
        Returns the listener, if any.
        Returns:
        the listener, null if none set
      • toggleHits

        protected void toggleHits​(SequencePlotterPanel panel,
                                  List<XYSequencePoint> hits)
        Sets or toggles the outlier state of the specified points.
        Parameters:
        panel - the panel the points belong to
        hits - the points to process
      • togglePolygonPoints

        protected void togglePolygonPoints​(SequencePlotterPanel panel)
        Displays the points that were surrounded by the polygon.
        Parameters:
        panel - the associated panel
      • showData

        protected void showData​(SequencePlotterPanel panel,
                                SpreadSheet sheet)
        Displays the data.
        Parameters:
        panel - the associated panel
        sheet - the data to display
      • showOutliers

        protected void showOutliers​(SequencePlotterPanel panel)
        Displays the points that were flagged as outliers.
        Parameters:
        panel - the associated panel
      • clearOutliers

        protected void clearOutliers​(SequencePlotterPanel panel)
        Resets the outlier status of all points.
      • remove

        protected void remove​(SpreadSheet data)
        Removes the data points from the current dataset.
        Parameters:
        data - the data points of the instances to remove
      • showHits

        protected void showHits​(SequencePlotterPanel panel,
                                List<XYSequencePoint> hits)
        Displays the points that were determined by the hit detector.
        Parameters:
        panel - the associated panel
        hits - the hits
      • mouseClickOccurred

        public void mouseClickOccurred​(SequencePlotterPanel panel,
                                       MouseEvent e)
        Gets triggered if the user clicks on the canvas.
        Parameters:
        panel - the associated panel
        e - the mouse event