Package tech.molecules.leet.table.chart
Class JFreeChartPlotLasso
- java.lang.Object
-
- tech.molecules.leet.table.chart.JFreeChartPlotLasso
-
public class JFreeChartPlotLasso extends Object
Implements lasso select. USE ONLY WITH PLOT DIAGRAMS.
-
-
Constructor Summary
Constructors Constructor Description JFreeChartPlotLasso(double x, double y)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPoint(double x, double y)Adds a point to the polygonvoidclose()org.jfree.chart.entity.EntityCollectiongetContainedEntities()Returns the previously calculated entities.org.jfree.chart.entity.EntityCollectiongetContainedEntities(org.jfree.chart.entity.EntityCollection entityCollection)Path2DgetPath()
-
-
-
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. IfgetContainedEntitys(EntityCollection entityCollection)hasn't been called beforehand, it'll returnnull- Returns:
- EntityCollection
-
addPoint
public void addPoint(double x, double y)Adds a point to the polygon- Parameters:
x- coordinatey- coordinate
-
close
public void close()
-
getPath
public Path2D getPath()
-
-