cassis.gui.plot.rotdiagram
public class AreaInformation extends java.lang.Object
| Constructor and Description |
|---|
AreaInformation()
Default constructor All values are initilalized to 0
|
AreaInformation(java.util.ArrayList<java.lang.Double> listPoint)
Complete Constructor makes a new AreaInformation
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Double val)
Add a point into the area
|
boolean |
contains(java.lang.Double val)
Check if a point is contained in the zone.
|
java.awt.Color |
getColor()
Return the color.
|
double |
getEndValue()
Return the area end value
|
double |
getStartValue()
Return the area start value
|
void |
setColor(java.awt.Color areaColor)
Change the color.
|
public AreaInformation(java.util.ArrayList<java.lang.Double> listPoint)
listPoint - Set of linespublic AreaInformation()
public double getStartValue()
public double getEndValue()
public boolean contains(java.lang.Double val)
val - X-coordinate of the pointpublic void add(java.lang.Double val)
val - x value of the pointpublic java.awt.Color getColor()
public void setColor(java.awt.Color areaColor)
areaColor - new color