|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.gui.components.range2.LogarithmicTickCalculator
public class LogarithmicTickCalculator
Uses Range to find optimal tick distribution for LogarithmicRange.
Constructor Summary | |
---|---|
LogarithmicTickCalculator(int tickSpacing,
boolean boundTicksVisible)
Creates a new TickCollector object. |
Method Summary | |
---|---|
Tick[] |
calculateTicks(int length,
Range range,
RangedValue rangedValue)
Calculates ticks using some default TickParameters. |
Tick[] |
calculateTicks(int length,
TickParameters measurer,
Range range,
RangedValue rangedValue)
Calculates ticks using the given TickParameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogarithmicTickCalculator(int tickSpacing, boolean boundTicksVisible)
range
- Definition of range.tickSpacing
- Minimum space between minor ticks.length
- Available space in pixels.Method Detail |
---|
public Tick[] calculateTicks(int length, Range range, RangedValue rangedValue)
TickCalculator
calculateTicks
in interface TickCalculator
length
- the available space for ticks in the displayerrange
- range which provides transformation to absolute/relative valuesrangedValue
- the value bounds
public Tick[] calculateTicks(int length, TickParameters measurer, Range range, RangedValue rangedValue)
TickCalculator
calculateTicks
in interface TickCalculator
length
- the available space for ticks in the displayermeasurer
- TickParameters used to measure ticksrange
- range which provides transformation to absolute/relative valuesrangedValue
- the value bounds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |