|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.render.category.outlier.Outlier
public class Outlier
Title: IJChart
表示BoxAndWhisker(盒须图)的Outlier对象.Description: a chart library for the Java(tm) platform.
Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
Outlier(double xCoord,
double yCoord,
double radius)
由(x,y)坐标和半径长度构造对象. |
Method Summary | |
---|---|
java.lang.Object |
clone()
返回克隆的对象. |
int |
compareTo(java.lang.Object o)
比较两个对象的大小. |
boolean |
equals(java.lang.Object obj)
测试两个对象是否相等. |
java.awt.geom.Point2D |
getPoint()
返回包含outlier圆形的矩形的坐标. |
double |
getRadius()
返回圆形的半径. |
double |
getX()
返回包含outlier圆形的矩形的x坐标. |
double |
getY()
返回包含outlier圆形的矩形的y坐标. |
int |
hashCode()
计算对象的hashcode值. |
boolean |
overlaps(Outlier other)
判断两个对象是否有重叠. |
void |
setRadius(double radius)
设置圆形的半径. |
java.lang.String |
toString()
覆盖toString方法. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Outlier(double xCoord, double yCoord, double radius)
xCoord
- double x坐标.
yCoord
- double y坐标.
radius
- double 半径的长度.
Method Detail |
---|
public java.awt.geom.Point2D getPoint()
public void setPoint(java.awt.geom.Point2D point)
point
- Point2D 坐标.
public double getX()
public double getY()
public double getRadius()
public void setRadius(double radius)
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.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null permitted).
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |