|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.mapper.AnalogAxisScale
lt.monarch.chart.mapper.LogAxisScale
lt.monarch.chart.mapper.LogAxisScale.SubScale
public class LogAxisScale.SubScale extends LogAxisScale
The sub-scale of LogAxisScale. The scale hasn't sub-scale and labels.
| Modifier and Type | Class and Description |
|---|
| Nested classes/interfaces inherited from class lt.monarch.chart.mapper.LogAxisScale |
|---|
LogAxisScale.ExponentFormat, LogAxisScale.SubScale |
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.mapper.LogAxisScale |
|---|
range |
| Fields inherited from class lt.monarch.chart.mapper.AnalogAxisScale |
|---|
subscaleTickCount |
| Constructor and Description |
|---|
LogAxisScale.SubScale(LogMathRange r,
LogAxisScale parent)
Constructs a new LogAxisScale. |
| Modifier and Type | Method and Description |
|---|---|
int |
findNearestMark(double d)
Finds an index of scale mark nearest to the specified position on axis. |
java.lang.String |
getLabelAt(int i)
Returns null. |
java.lang.String |
getLabelAt(int i,
java.util.Locale locale)
Returns null. |
int |
getMarkCount()
Gets a number of marks in the scale. |
AxisScale |
getSubScale()
Returns null. |
double |
mapMark(int i)
Returns a position on axis of the specified scale mark. |
| Methods inherited from class lt.monarch.chart.mapper.LogAxisScale |
|---|
createSubScale, getCustomNumberFormat, getFormats, getNumberFormat, isDrawSubScale, mapMarkTicks, setCustomNumberFormat, setDrawSubScale, setNumberFormat, setPrecisionPlaces |
| Methods inherited from class lt.monarch.chart.mapper.AnalogAxisScale |
|---|
getSubscaleTickCount, setSubscaleTickCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogAxisScale.SubScale(LogMathRange r,
LogAxisScale parent)
LogAxisScale. SubScale with the specified range and parent
scale.
r - the logarithmic rangeparent - the parent scale| Method Detail |
|---|
public int getMarkCount()
getMarkCount in interface AxisScalegetMarkCount in class LogAxisScalepublic int findNearestMark(double d)
findNearestMark in interface AxisScalefindNearestMark in class LogAxisScaled - position on axis; should be in range [0;1]public double mapMark(int i)
mapMark in interface AxisScalemapMark in class LogAxisScalei - scale mark indexpublic AxisScale getSubScale()
null.
getSubScale in interface AxisScalegetSubScale in class LogAxisScalepublic java.lang.String getLabelAt(int i)
null.
getLabelAt in interface AxisScalegetLabelAt in class LogAxisScalei - label index
public java.lang.String getLabelAt(int i,
java.util.Locale locale)
null.
getLabelAt in interface AxisScalegetLabelAt in class LogAxisScalei - label indexlocale - the locale
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||