public class EdgeCollectionDataset extends ModelDataset
ModelDataset.DataItem
ds, model, selectionModel, selectionStroke, stroke, xFeature, yFeatures
Constructor and Description |
---|
EdgeCollectionDataset(Model model,
SelectionModel selectionModel,
DisplaySettings ds,
String xFeature,
List<String> yFeatures,
List<org.jgrapht.graph.DefaultWeightedEdge> edges) |
Modifier and Type | Method and Description |
---|---|
int |
getItemCount(int series) |
String |
getItemLabel(int item) |
XYItemRenderer |
getRenderer() |
String |
getSeriesKey(int series) |
Number |
getX(int series,
int item) |
Number |
getY(int series,
int item) |
void |
setItemLabel(int item,
String label) |
getDomainOrder, getSeriesCount, getXFeature, getXValue, getYValue, indexOf, iterator
addChangeListener, clone, fireDatasetChanged, getGroup, getNotify, hasListener, notifyListeners, removeChangeListener, setGroup, setNotify, validateObject
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChangeListener, getGroup, removeChangeListener, setGroup
forEach, spliterator
public EdgeCollectionDataset(Model model, SelectionModel selectionModel, DisplaySettings ds, String xFeature, List<String> yFeatures, List<org.jgrapht.graph.DefaultWeightedEdge> edges)
public int getItemCount(int series)
public String getSeriesKey(int series)
public Number getX(int series, int item)
public Number getY(int series, int item)
public XYItemRenderer getRenderer()
getRenderer
in class ModelDataset
public String getItemLabel(int item)
getItemLabel
in class ModelDataset
public void setItemLabel(int item, String label)
setItemLabel
in class ModelDataset
Copyright © 2015–2021 Fiji. All rights reserved.