|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.renderer.Outlier
public class Outlier
Represents one outlier in the box and whisker plot.
All the coordinates in this class are in Java2D space.
Constructor Summary | |
---|---|
Outlier(double xCoord,
double yCoord,
double radius)
Constructs an outlier item consisting of a point and the radius of the outlier ellipse |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order, based on the outlier's point. |
boolean |
equals(java.lang.Object obj)
Tests this outlier for equality with an arbitrary object. |
java.awt.geom.Point2D |
getPoint()
Returns the xy coordinates of the bounding box containing the outlier ellipse. |
double |
getRadius()
Returns the radius of the outlier ellipse. |
double |
getX()
Returns the x coordinate of the bounding box containing the outlier ellipse. |
double |
getY()
Returns the y coordinate of the bounding box containing the outlier ellipse. |
boolean |
overlaps(Outlier other)
Returns a true if outlier is overlapped and false if it is not. |
void |
setPoint(java.awt.geom.Point2D point)
Sets the xy coordinates of the bounding box containing the outlier ellipse. |
void |
setRadius(double radius)
Sets the radius of the outlier ellipse. |
java.lang.String |
toString()
Returns a textual representation of the outlier. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Outlier(double xCoord, double yCoord, double radius)
xCoord
- the x coordinate of the point.yCoord
- the y coordinate of the point.radius
- the radius of the ellipse.Method Detail |
---|
public java.awt.geom.Point2D getPoint()
public void setPoint(java.awt.geom.Point2D point)
point
- the location.public double getX()
public double getY()
public double getRadius()
public void setRadius(double radius)
radius
- the new radius.public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- the Object to be compared.
public boolean overlaps(Outlier other)
other
- the other outlier.
boolean
indicating whether or not an overlap has
occurred.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null
permitted).
public java.lang.String toString()
toString
in class java.lang.Object
String
representing the outlier.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |