|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.monitorenter.gui.chart.axis.AAxis.AChart2DDataAccessor
info.monitorenter.gui.chart.axis.AAxis.XDataAccessor
info.monitorenter.gui.chart.axis.AAxisTransformation.XDataAccessor
public final class AAxisTransformation.XDataAccessor
An accessor for the x axis of a chart.
Chart2D.getAxisX(),
Serialized Form| Field Summary |
|---|
| Fields inherited from class info.monitorenter.gui.chart.axis.AAxis.AChart2DDataAccessor |
|---|
m_chart, m_rangePolicy |
| Constructor Summary | |
|---|---|
AAxisTransformation.XDataAccessor(Chart2D chart)
Creates an instance that accesses the given chart's x axis. |
|
| Method Summary | |
|---|---|
protected void |
scaleTrace(ITrace2D trace,
Range range)
Scales the given trace in the dimension represented by this axis. |
int |
translateValueToPx(double value)
Transforms the given chart data value into the corresponding awt pixel value for the chart. |
| Methods inherited from class info.monitorenter.gui.chart.axis.AAxis.XDataAccessor |
|---|
getDimension, getHeight, getMax, getMaxFromAxis, getMaximumPixelForLabel, getMin, getMinFromAxis, getMinimumValueDistanceForLabels, getPixelRange, getValueDistanceForPixel, getWidth, scale, toString, translateMousePosition, translatePxToValue |
| Methods inherited from class info.monitorenter.gui.chart.axis.AAxis.AChart2DDataAccessor |
|---|
getChart, getRangePolicy, setRangePolicy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AAxisTransformation.XDataAccessor(Chart2D chart)
chart - the chart to access.| Method Detail |
|---|
public final int translateValueToPx(double value)
AAxis.AChart2DDataAccessor
The inverse transformation to AAxis.AChart2DDataAccessor.translatePxToValue(int).
translateValueToPx in class AAxis.XDataAccessorvalue - a chart data value.
AAxis.XDataAccessor.translateValueToPx(double)
protected void scaleTrace(ITrace2D trace,
Range range)
AAxis.AChart2DDataAccessor
This method is not deadlock - safe and should be called by the
only!
Chart2D
scaleTrace in class AAxis.XDataAccessortrace - the trace to scale.range - the range to use as scaler.AAxis.XDataAccessor.scaleTrace(info.monitorenter.gui.chart.ITrace2D,
info.monitorenter.util.Range)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||