/*
* AAxisTransformation.java of project jchart2d,
* base class for Axis implementations that transform the scale
* for changed display.
* Copyright (C) 2007 -2011 Achim Westermann, created on 20:33:13.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* If you modify or optimize the code in a useful way please let me know.
* Achim.Westermann@gmx.de
*
*/
package info.monitorenter.gui.chart.axis;
import info.monitorenter.gui.chart.Chart2D;
import info.monitorenter.gui.chart.IAxisLabelFormatter;
import info.monitorenter.gui.chart.IAxisScalePolicy;
import info.monitorenter.gui.chart.ITrace2D;
import info.monitorenter.gui.chart.ITracePoint2D;
import info.monitorenter.gui.chart.axis.scalepolicy.AxisScalePolicyTransformation;
import info.monitorenter.util.Range;
import info.monitorenter.util.math.MathUtil;
import java.awt.event.MouseEvent;
import java.util.Iterator;
/**
* Base class for Axis implementations that transform the scale for changed
* display.
*
*
* Note that instances of this implementations will only accept subtypes of
* {@link AxisScalePolicyTransformation} for the method
* {@link #setAxisScalePolicy(IAxisScalePolicy)}.
*
*
*
* @param
* Used to enforce that this instance only accepts
* {@link AxisScalePolicyTransformation} and subtypes.
*
* @author Achim Westermann
*
* @version $Revision: 1.32 $
*/
public abstract class AAxisTransformation extends AAxis {
/**
* An accessor for the x axis of a chart.
*
Ads help maintain this website.