|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.monitorenter.gui.chart.axis.AAxis
info.monitorenter.gui.chart.axis.AxisLinear
public class AxisLinear
An with linear display of values.
AAxis
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class info.monitorenter.gui.chart.axis.AAxis |
|---|
AAxis.AChart2DDataAccessor, AAxis.XDataAccessor, AAxis.YDataAccessor |
| Field Summary |
|---|
| Fields inherited from class info.monitorenter.gui.chart.axis.AAxis |
|---|
m_accessor, m_formatter, m_majorTickSpacing, m_minorTickSpacing, m_power |
| Fields inherited from interface info.monitorenter.gui.chart.IAxis |
|---|
PROPERTY_LABELFORMATTER, PROPERTY_PAINTGRID, PROPERTY_RANGEPOLICY, PROPERTY_TITLE, PROPERTY_TITLEFONT, PROPERTY_TITLEPAINTER |
| Constructor Summary | |
|---|---|
AxisLinear()
Defcon. |
|
AxisLinear(IAxisLabelFormatter formatter)
Constructor that uses the given label formatter for formatting labels. |
|
| Method Summary | |
|---|---|
protected AAxis.AChart2DDataAccessor |
createAccessor(Chart2D chart,
int dimension)
Template method to create the proper
implementation. |
double |
getScaledValue(double absolute)
Scales the given absolute value into a value between 0 and 1.0 (if it is in the range of the data). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AxisLinear()
public AxisLinear(IAxisLabelFormatter formatter)
formatter - needed for formatting labels of this axis.| Method Detail |
|---|
protected AAxis.AChart2DDataAccessor createAccessor(Chart2D chart,
int dimension)
AAxisAAxis.AChart2DDataAccessor
implementation.
createAccessor in class AAxischart - the chart to access.dimension - Chart2D.X or Chart2D.Y.
AAxis.AChart2DDataAccessor implementation.AAxis.createAccessor(info.monitorenter.gui.chart.Chart2D,
int)public double getScaledValue(double absolute)
IAxis
If the given absolute value is not in the display- range of the
Chart2D, negative values or values greater than 1.0 may
result.
absolute - a value in the real value range of the corresponding chart.
IAxis.getScaledValue(double)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||