Class XYtoCategoryAdapterDataset

java.lang.Object
org.jfree.data.general.AbstractDataset
org.jfree.data.category.DefaultCategoryDataset
ca.spatial.reportwriter.XYtoCategoryAdapterDataset
All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, org.jfree.data.category.CategoryDataset, org.jfree.data.general.Dataset, org.jfree.data.KeyedValues2D, org.jfree.data.RangeInfo, org.jfree.data.Values2D, org.jfree.util.PublicCloneable

public class XYtoCategoryAdapterDataset extends org.jfree.data.category.DefaultCategoryDataset implements org.jfree.data.RangeInfo
A CategoryDataset that supports XY data series in the cells. This dataset can be provided to the XYtoCategoryAdapterRenderer, allowing XY series to be plotted on a category plot.
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new (empty) dataset.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addXYDataset​(org.jfree.data.xy.XYDataset dataset, Comparable columnKey)
    Add an XYDataset for a column (category) in the parent dataset.
    org.jfree.data.Range
    getRangeBounds​(boolean includeInterval)
     
    double
    getRangeLowerBound​(boolean includeInterval)
     
    double
    getRangeUpperBound​(boolean includeInterval)
     
    org.jfree.data.xy.XYDataset
    getXYDataset​(int column)
    Retrieve an XYDataset for a column (category) in the parent dataset.

    Methods inherited from class org.jfree.data.category.DefaultCategoryDataset

    addValue, addValue, clear, clone, equals, getColumnCount, getColumnIndex, getColumnKey, getColumnKeys, getRowCount, getRowIndex, getRowKey, getRowKeys, getValue, getValue, hashCode, incrementValue, removeColumn, removeColumn, removeRow, removeRow, removeValue, setValue, setValue

    Methods inherited from class org.jfree.data.general.AbstractDataset

    addChangeListener, getGroup, getNotify, hasListener, removeChangeListener, setGroup, setNotify, validateObject

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jfree.data.general.Dataset

    addChangeListener, getGroup, removeChangeListener, setGroup
  • Constructor Details

    • XYtoCategoryAdapterDataset

      public XYtoCategoryAdapterDataset()
      Creates a new (empty) dataset.
  • Method Details

    • addXYDataset

      public void addXYDataset(org.jfree.data.xy.XYDataset dataset, Comparable columnKey)
      Add an XYDataset for a column (category) in the parent dataset. All series must be in the same order in each dataset that is added.
    • getXYDataset

      public org.jfree.data.xy.XYDataset getXYDataset(int column)
      Retrieve an XYDataset for a column (category) in the parent dataset.
    • getRangeBounds

      public org.jfree.data.Range getRangeBounds(boolean includeInterval)
      Specified by:
      getRangeBounds in interface org.jfree.data.RangeInfo
    • getRangeLowerBound

      public double getRangeLowerBound(boolean includeInterval)
      Specified by:
      getRangeLowerBound in interface org.jfree.data.RangeInfo
    • getRangeUpperBound

      public double getRangeUpperBound(boolean includeInterval)
      Specified by:
      getRangeUpperBound in interface org.jfree.data.RangeInfo