public abstract class ModelDataset extends AbstractDataset implements XYDataset, Iterable<ModelDataset.DataItem>
| Modifier and Type | Class and Description |
|---|---|
class |
ModelDataset.DataItem |
| Modifier and Type | Field and Description |
|---|---|
protected DisplaySettings |
ds |
protected Model |
model |
protected SelectionModel |
selectionModel |
protected BasicStroke |
selectionStroke |
protected BasicStroke |
stroke |
protected String |
xFeature |
protected List<String> |
yFeatures |
| Constructor and Description |
|---|
ModelDataset(Model model,
SelectionModel selectionModel,
DisplaySettings ds,
String xFeature,
List<String> yFeatures) |
| Modifier and Type | Method and Description |
|---|---|
DomainOrder |
getDomainOrder() |
abstract String |
getItemLabel(int item) |
abstract XYItemRenderer |
getRenderer() |
int |
getSeriesCount() |
String |
getXFeature() |
double |
getXValue(int series,
int item) |
double |
getYValue(int series,
int item) |
int |
indexOf(Comparable seriesKey) |
Iterator<ModelDataset.DataItem> |
iterator() |
abstract void |
setItemLabel(int item,
String label) |
addChangeListener, clone, fireDatasetChanged, getGroup, getNotify, hasListener, notifyListeners, removeChangeListener, setGroup, setNotify, validateObjectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItemCount, getX, getYgetSeriesKeyaddChangeListener, getGroup, removeChangeListener, setGroupforEach, spliteratorprotected final Model model
protected final String xFeature
protected final DisplaySettings ds
protected final SelectionModel selectionModel
protected final BasicStroke stroke
protected final BasicStroke selectionStroke
public ModelDataset(Model model, SelectionModel selectionModel, DisplaySettings ds, String xFeature, List<String> yFeatures)
public String getXFeature()
public int getSeriesCount()
getSeriesCount in interface SeriesDatasetpublic int indexOf(Comparable seriesKey)
indexOf in interface SeriesDatasetpublic DomainOrder getDomainOrder()
getDomainOrder in interface XYDatasetpublic double getXValue(int series,
int item)
public double getYValue(int series,
int item)
public abstract String getItemLabel(int item)
public abstract void setItemLabel(int item,
String label)
public abstract XYItemRenderer getRenderer()
public Iterator<ModelDataset.DataItem> iterator()
iterator in interface Iterable<ModelDataset.DataItem>Copyright © 2015–2021 Fiji. All rights reserved.