Class JFreeChartPlotLasso


  • public class JFreeChartPlotLasso
    extends Object
    Implements lasso select. USE ONLY WITH PLOT DIAGRAMS.
    • Constructor Detail

      • JFreeChartPlotLasso

        public JFreeChartPlotLasso​(double x,
                                   double y)
    • Method Detail

      • getContainedEntities

        public org.jfree.chart.entity.EntityCollection getContainedEntities​(org.jfree.chart.entity.EntityCollection entityCollection)
        Parameters:
        entityCollection - containing all ChartEntity-Objects to be searched through
        Returns:
        EntityCollection containing all ChartEntity-Object within the borders of the selection
      • getContainedEntities

        public org.jfree.chart.entity.EntityCollection getContainedEntities()
        Returns the previously calculated entities. If getContainedEntitys(EntityCollection entityCollection) hasn't been called beforehand, it'll return null
        Returns:
        EntityCollection
      • addPoint

        public void addPoint​(double x,
                             double y)
        Adds a point to the polygon
        Parameters:
        x - coordinate
        y - coordinate
      • close

        public void close()
      • getPath

        public Path2D getPath()