|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.bubble.TickLocator
public class TickLocator
Produces Tick mark locations given a range and the desired number of ticks. Uses the loose tick method from Graphics Gems.
Field Summary | |
---|---|
private double |
current
|
private double |
max
|
private double |
min
|
private int |
nfrac
|
private double |
spacing
|
Constructor Summary | |
---|---|
TickLocator(NumericRange nRange,
int numTicks)
|
Method Summary | |
---|---|
int |
getFracDigits()
|
double |
getMax()
|
double |
getMin()
|
boolean |
hasNext()
|
double |
next()
|
private double |
niceNum(double val,
boolean round)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double spacing
private double min
private double max
private int nfrac
private double current
Constructor Detail |
---|
public TickLocator(NumericRange nRange, int numTicks)
Method Detail |
---|
public double getMin()
public double getMax()
public int getFracDigits()
public boolean hasNext()
public double next()
private double niceNum(double val, boolean round)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |