|
|||||||||
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.
Calculate the tick unit for number data and all values is long integer.Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
LongTickUnit()
A default constructor. |
|
LongTickUnit(long step)
A constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of the object. |
boolean |
equals(java.lang.Object obj)
Tests the axis for equality with an arbitrary object. |
java.lang.String[] |
getTickUnits(double minValue,
double maxValue,
int maxCount,
boolean includeZero)
According to the minimum and maximum data and the largest number of coordinates to determine the scale of axis,all values are long. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LongTickUnit()
public LongTickUnit(long step)
step
- long
The step.Method Detail |
---|
public java.lang.String[] getTickUnits(double minValue, double maxValue, int maxCount, boolean includeZero)
getTickUnits
in interface INumberTickUnit
minValue
- double
The minimum value.maxValue
- double
The max value.maxCount
- int
The maximum count of tick units (must great than 0).includeZero
- boolean
A boolean flag indicates whether or not include zero value.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null permitted).
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if some component of the axis does
not support cloning.public int hashCode()
hashCode
in class java.lang.Object
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 |