org.jfree.data.general

Interface CombinationDataset

public interface CombinationDataset

Interface that describes the new methods that any combined dataset needs to implement. A combined dataset object will combine one or more datasets and expose a sub-set or union of the combined datasets.
Method Summary
int[]getMap()
Returns a map or indirect indexing form our series into parent's series.
SeriesDatasetgetParent()
Returns the parent Dataset of this combination.

Method Detail

getMap

public int[] getMap()
Returns a map or indirect indexing form our series into parent's series.

Returns: A map or indirect indexing form our series into parent's series.

getParent

public SeriesDataset getParent()
Returns the parent Dataset of this combination. If there is more than one parent, or a child is found that is not a combination, then returns null.

Returns: The parent Dataset of this combination.