| java.lang.Object org.jfree.chart.renderer.Outlier
Outlier | public class Outlier implements Comparable(Code) | | Represents one outlier in the box and whisker plot.
All the coordinates in this class are in Java2D space.
|
Constructor Summary | |
public | Outlier(double xCoord, double yCoord, double radius) |
Method Summary | |
public int | compareTo(Object o) Compares this object with the specified object for order, based on
the outlier's point.
Parameters: o - the Object to be compared. | public Point2D | getPoint() Returns the xy coordinates of the bounding box containing the outlier
ellipse. | public double | getRadius() Returns the radius of the outlier ellipse. | public double | getX() Returns the x coordinate of the bounding box containing the outlier
ellipse. | public double | getY() Returns the y coordinate of the bounding box containing the outlier
ellipse. | public boolean | overlaps(Outlier other) Returns a true if outlier is overlapped and false if it is not.
Overlapping is determined by the respective bounding boxes plus
a small margin.
Parameters: other - the other outlier. | public void | setPoint(Point2D point) Sets the xy coordinates of the bounding box containing the outlier
ellipse. | public void | setRadius(double radius) Sets the radius of the outlier ellipse. | public String | toString() Returns a textual representation of the outlier. |
Outlier | public Outlier(double xCoord, double yCoord, double radius)(Code) | | Constructs an outlier item consisting of a point and the radius of the
outlier ellipse
Parameters: xCoord - the x coordinate of the point. Parameters: yCoord - the y coordinate of the point. Parameters: radius - the radius of the ellipse. |
compareTo | public int compareTo(Object o)(Code) | | Compares this object with the specified object for order, based on
the outlier's point.
Parameters: o - the Object to be compared. A negative integer, zero, or a positive integer as this objectis less than, equal to, or greater than the specified object. |
getPoint | public Point2D getPoint()(Code) | | Returns the xy coordinates of the bounding box containing the outlier
ellipse.
The location of the outlier ellipse. |
getRadius | public double getRadius()(Code) | | Returns the radius of the outlier ellipse.
The radius. |
getX | public double getX()(Code) | | Returns the x coordinate of the bounding box containing the outlier
ellipse.
The x coordinate. |
getY | public double getY()(Code) | | Returns the y coordinate of the bounding box containing the outlier
ellipse.
The y coordinate. |
overlaps | public boolean overlaps(Outlier other)(Code) | | Returns a true if outlier is overlapped and false if it is not.
Overlapping is determined by the respective bounding boxes plus
a small margin.
Parameters: other - the other outlier. A boolean indicating whether or not an overlap has occurred. |
setPoint | public void setPoint(Point2D point)(Code) | | Sets the xy coordinates of the bounding box containing the outlier
ellipse.
Parameters: point - the location. |
setRadius | public void setRadius(double radius)(Code) | | Sets the radius of the outlier ellipse.
Parameters: radius - the new radius. |
toString | public String toString()(Code) | | Returns a textual representation of the outlier.
A String representing the outlier. |
|
|