Package org.jfree.data

Examples of org.jfree.data.DomainInfo


        ParamChecks.nullNotPermitted(dataset, "dataset");

        Range result;
        // if the dataset implements DomainInfo, life is easier
        if (dataset instanceof DomainInfo) {
            DomainInfo info = (DomainInfo) dataset;
            result = info.getDomainBounds(includeInterval);
        }
        else {
            result = iterateDomainBounds(dataset, includeInterval);
        }
        return result;
View Full Code Here


        }

        Range result = null;
        // if the dataset implements DomainInfo, life is easier
        if (dataset instanceof DomainInfo) {
            DomainInfo info = (DomainInfo) dataset;
            result = info.getDomainBounds(includeInterval);
        }
        else {
            result = iterateDomainBounds(dataset, includeInterval);
        }
        return result;
View Full Code Here

    public static Number findMinimumDomainValue(XYDataset dataset) {
        ParamChecks.nullNotPermitted(dataset, "dataset");
        Number result;
        // if the dataset implements DomainInfo, life is easy
        if (dataset instanceof DomainInfo) {
            DomainInfo info = (DomainInfo) dataset;
            return new Double(info.getDomainLowerBound(true));
        }
        else {
            double minimum = Double.POSITIVE_INFINITY;
            int seriesCount = dataset.getSeriesCount();
            for (int series = 0; series < seriesCount; series++) {
View Full Code Here

            throw new IllegalArgumentException("Null 'dataset' argument.");
        }
        Number result = null;
        // if the dataset implements DomainInfo, life is easy
        if (dataset instanceof DomainInfo) {
            DomainInfo info = (DomainInfo) dataset;
            return new Double(info.getDomainLowerBound(true));
        }
        else {
            double minimum = Double.POSITIVE_INFINITY;
            int seriesCount = dataset.getSeriesCount();
            for (int series = 0; series < seriesCount; series++) {
View Full Code Here

    public static Number findMaximumDomainValue(XYDataset dataset) {
        ParamChecks.nullNotPermitted(dataset, "dataset");
        Number result;
        // if the dataset implements DomainInfo, life is easy
        if (dataset instanceof DomainInfo) {
            DomainInfo info = (DomainInfo) dataset;
            return new Double(info.getDomainUpperBound(true));
        }

        // hasn't implemented DomainInfo, so iterate...
        else {
            double maximum = Double.NEGATIVE_INFINITY;
View Full Code Here

            throw new IllegalArgumentException("Null 'dataset' argument.");
        }
        Number result = null;
        // if the dataset implements DomainInfo, life is easy
        if (dataset instanceof DomainInfo) {
            DomainInfo info = (DomainInfo) dataset;
            return new Double(info.getDomainUpperBound(true));
        }

        // hasn't implemented DomainInfo, so iterate...
        else {
            double maximum = Double.NEGATIVE_INFINITY;
View Full Code Here

      Range result = null;
      // if the dataset implements DomainInfo, life is easier
      if (dataset instanceof DomainInfo)
      {
         DomainInfo info = (DomainInfo) dataset;
         result = info.getDomainBounds(includeInterval);
      }
      else
      {
         result = iterateDomainBounds(dataset, includeInterval);
      }
View Full Code Here

      }
      Number result = null;
      // if the dataset implements DomainInfo, life is easy
      if (dataset instanceof DomainInfo)
      {
         DomainInfo info = (DomainInfo) dataset;
         return new Double(info.getDomainLowerBound(true));
      }
      else
      {
         double minimum = Double.POSITIVE_INFINITY;
         int seriesCount = dataset.getSeriesCount();
View Full Code Here

      }
      Number result = null;
      // if the dataset implements DomainInfo, life is easy
      if (dataset instanceof DomainInfo)
      {
         DomainInfo info = (DomainInfo) dataset;
         return new Double(info.getDomainUpperBound(true));
      }
      // hasn't implemented DomainInfo, so iterate...
      else
      {
         double maximum = Double.NEGATIVE_INFINITY;
View Full Code Here

        }

        Range result = null;
        // if the dataset implements DomainInfo, life is easier
        if (dataset instanceof DomainInfo) {
            DomainInfo info = (DomainInfo) dataset;
            result = info.getDomainBounds(includeInterval);
        }
        else {
            result = iterateDomainBounds(dataset, includeInterval);
        }
        return result;
View Full Code Here

TOP

Related Classes of org.jfree.data.DomainInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.