public class GeometryDataset
extends AbstractXYDataset
Geometry g1 = ... Geometry g2 = ... GeometryDataset data = new GeometryDataset(g1,g2); GeometryRenderer renderer = new GeometryRenderer(); XYPlot plot = new XYPlot(dataset, dataset.getDomain(), dataset.getRange(), renderer); ...
Constructor and Description |
---|
GeometryDataset(Geometry... geometries) |
Modifier and Type | Method and Description |
---|---|
ValueAxis |
getDomain() |
List<Geometry> |
getGeometries() |
int |
getItemCount(int series) |
ValueAxis |
getRange() |
int |
getSeriesCount() |
Comparable |
getSeriesKey(int series) |
Number |
getX(int series,
int item) |
Number |
getY(int series,
int item) |
void |
setBuffer(double buffer) |
addChangeListener, clone, fireDatasetChanged, getGroup, hasListener, notifyListeners, removeChangeListener, setGroup, validateObject
public List<Geometry> getGeometries()
public void setBuffer(double buffer)
public int getSeriesCount()
getSeriesCount
in interface SeriesDataset
getSeriesCount
in class AbstractSeriesDataset
public Comparable getSeriesKey(int series)
getSeriesKey
in interface SeriesDataset
getSeriesKey
in class AbstractSeriesDataset
public int getItemCount(int series)
public Number getX(int series, int item)
public Number getY(int series, int item)
public ValueAxis getDomain()
public ValueAxis getRange()
Copyright © 1996–2019 Geotools. All rights reserved.