/**
* Copyright 2010-2014 Jingjing Li.
*
* This file is part of jplot2d.
*
* jplot2d 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 3 of the
* License, or any later version.
*
* jplot2d 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 General Lesser Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with jplot2d. If not, see .
*/
package org.jplot2d.element.impl;
import java.util.Map;
import org.jplot2d.element.AxisRangeLockGroup;
import org.jplot2d.transform.NormalTransform;
import org.jplot2d.util.Range;
/**
* @author Jingjing Li
*
*/
public interface AxisRangeLockGroupEx extends AxisRangeLockGroup, ElementEx, Joinable {
public AxisTransformEx getParent();
public AxisTransformEx[] getRangeManagers();
public int indexOfRangeManager(AxisTransformEx rangeManager);
public void addRangeManager(AxisTransformEx rangeManager);
public void removeRangeManager(AxisTransformEx rangeManager);
public AxisTransformEx getPrimaryAxis();
/**
* Force re-autorange this axis group. This method is called when layer data set changes, layer attach/detach to an
* axis of this group, or axis type change
*/
public void reAutoRange();
/**
* Calculate auto range when necessary.
*
* @return true if auto range is calculated for this group
*/
public boolean calcAutoRange();
public void zoomVirtualRange(Range range, Map vtMap);
/**
* Validate axes range after axis type or axis transform type changed.
*/
public void validateAxesRange();
/**
* Zoom the given normalized range to entire axis. All axes in this lock group are changed. If the orthogonal axes
* are autoRange, they need to be re-autoRange.
*
* @param pRange
* the normalized range which has been validated
*/
public void zoomNormalRange(Range npRange);
}
Ads help maintain this website.