Java 类org.jfree.data.xy.XYRangeInfo 实例源码

项目:PI    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    if (dataset == null) {
        throw new IllegalArgumentException("Null 'dataset' argument.");
    }
    Range result = null;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:astor    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 *
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    if (dataset == null) {
        throw new IllegalArgumentException("Null 'dataset' argument.");
    }
    Range result = null;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:ccu-historian    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:jfreechart    文件:DatasetUtils.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset ({@code null} not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     ({@code null} not permitted).
 * @param xRange  the x-range ({@code null} not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    Args.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:aya-lang    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:populus    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:ECG-Viewer    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:group-five    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:manydesigns.cn    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:buffer_bci    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:buffer_bci    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:proyecto-teoria-control-utn-frro    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}
项目:Memetic-Algorithm-for-TSP    文件:DatasetUtilities.java   
/**
 * Finds the bounds of the y-values in the specified dataset, including
 * only those series that are listed in visibleSeriesKeys, and those items
 * whose x-values fall within the specified range.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param visibleSeriesKeys  the keys for the visible series
 *     (<code>null</code> not permitted).
 * @param xRange  the x-range (<code>null</code> not permitted).
 * @param includeInterval  include the y-interval (if the dataset has a
 *     y-interval).
 *
 * @return The data bounds.
 * 
 * @since 1.0.13
 */
public static Range findRangeBounds(XYDataset dataset,
        List visibleSeriesKeys, Range xRange, boolean includeInterval) {
    ParamChecks.nullNotPermitted(dataset, "dataset");
    Range result;
    if (dataset instanceof XYRangeInfo) {
        XYRangeInfo info = (XYRangeInfo) dataset;
        result = info.getRangeBounds(visibleSeriesKeys, xRange,
                includeInterval);
    }
    else {
        result = iterateToFindRangeBounds(dataset, visibleSeriesKeys,
                xRange, includeInterval);
    }
    return result;
}