Class AAxis.YDataAccessor

java.lang.Object
AAxis<T>.AChart2DDataAccessor
info.monitorenter.gui.chart.axis.AAxis.YDataAccessor
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AAxisTransformation.YDataAccessor, AxisInverse.YDataInverseAccessor
Enclosing class:
AAxis<T extends IAxisScalePolicy>

protected class AAxis.YDataAccessor extends AAxis<T>.AChart2DDataAccessor
Accesses the y axis of the Chart2D.

See Also:
  • Field Summary

    Fields inherited from class info.monitorenter.gui.chart.axis.AAxis.AChart2DDataAccessor

    m_chart
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance that accesses the y axis of the given chart.
  • Method Summary

    Modifier and Type
    Method
    Description
    final int
    Returns the constant for the dimension that is accessed on the chart.
    final int
    Returns the height in pixel the corresponding axis needs to paint itself.
    protected final double
    Returns the maximum pixels that will be needed to paint a label.
    protected double
    Returns the max value of the given trace according to the dimension the outer axis belongs to.
    final double
    Returns the minimum amount of increase in the value that will be needed to display all labels without overwriting each others.
    protected double
    Returns the min value of the given trace according to the dimension the outer axis belongs to.
    protected final int
    Returns the amount of pixel available for displaying the values on the chart in the dimension this accessor stands for.
    protected double
    Returns the value of the given point according to the dimension the outer axis belongs to.
    protected final double
    Returns the value distance on the current chart that exists for the given amount of pixel distance in the given direction of this AAxis.
    final int
    Returns the width in pixel the corresponding axis needs to paint itself.
    protected void
    scaleTrace(ITrace2D trace, Range range)
    Scales the given trace in the dimension represented by this axis.
    Returns "Y".
    double
    Returns the translation of the mouse event coordinates of the given mouse event to the value within the chart for the dimension (x,y) covered by this axis.
    double
    translatePxToValue(int pixel)
    Transforms the given pixel value (which has to be a awt value like MouseEvent.getX() into the chart value.
    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.AChart2DDataAccessor

    getChart

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait