|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ijchart.xychart.tickunit.LongTickUnit
public class LongTickUnit
Title: IJChart
Description: a chart library for the Java(tm) platform.
用于计算数字类型的数据的坐标轴刻度值,刻度值都为长整数.Copyright: Copyright (c) 2013
Company:
| Constructor Summary | |
|---|---|
LongTickUnit()
缺省构造器. |
|
LongTickUnit(long step)
构造器. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of the object. |
boolean |
equals(java.lang.Object obj)
测试本对象是否和另一个对象相等. |
java.lang.String[] |
getTickUnits(double minValue,
double maxValue,
int maxCount,
boolean includeZero)
根据最小值和最大值及数据的最大个数来确定坐标轴上的刻度值,刻度值都是长整数. |
int |
hashCode()
覆盖hashCode方法. |
java.lang.String |
toString()
覆盖toString方法. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LongTickUnit()
public LongTickUnit(long step)
step - long 步长.
| Method Detail |
|---|
public java.lang.String[] getTickUnits(double minValue,
double maxValue,
int maxCount,
boolean includeZero)
getTickUnits in interface INumberTickUnitminValue - double 最小值.
maxValue - double 最大值.
maxCount - int 刻度值的最大个数,必须大于0.
includeZero - boolean 布尔值,是否包含0值.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - if some component of the axis does
not support cloning.public int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||||