Uses of Interface
org.jfree.data.flow.FlowDataset
Package | Description |
---|---|
org.jfree.chart.labels |
Generators and other classes used for the display of item labels and tooltips.
|
org.jfree.chart.plot.flow |
Classes for creating flow plots (a type of Sankey chart).
|
org.jfree.data.flow |
Data interfaces and classes for flow plots (a type of Sankey chart).
|
-
Uses of FlowDataset in org.jfree.chart.labels
Methods in org.jfree.chart.labels with parameters of type FlowDataset Modifier and Type Method Description String
FlowLabelGenerator. generateLabel(FlowDataset dataset, FlowKey key)
Returns a label for the specified flow.String
StandardFlowLabelGenerator. generateLabel(FlowDataset dataset, FlowKey key)
Returns a label for the specified flow. -
Uses of FlowDataset in org.jfree.chart.plot.flow
Methods in org.jfree.chart.plot.flow that return FlowDataset Modifier and Type Method Description FlowDataset
FlowPlot. getDataset()
Returns a reference to the dataset.Methods in org.jfree.chart.plot.flow with parameters of type FlowDataset Modifier and Type Method Description void
FlowPlot. setDataset(FlowDataset dataset)
Sets the dataset for the plot and sends a change notification to all registered listeners.Constructors in org.jfree.chart.plot.flow with parameters of type FlowDataset Constructor Description FlowPlot(FlowDataset dataset)
Creates a new instance that will source data from the specified dataset. -
Uses of FlowDataset in org.jfree.data.flow
Classes in org.jfree.data.flow that implement FlowDataset Modifier and Type Class Description class
DefaultFlowDataset<K extends Comparable<K>>
A dataset representing flows between source and destination nodes.Methods in org.jfree.data.flow with parameters of type FlowDataset Modifier and Type Method Description static <K extends Comparable<K>>
doubleFlowDatasetUtils. calculateInflow(FlowDataset<K> dataset, K node, int stage)
Returns the total inflow for the specified node (a destination node for the specified stage).static <K extends Comparable<K>>
doubleFlowDatasetUtils. calculateOutflow(FlowDataset<K> dataset, K source, int stage)
Returns the total outflow for the specified node (a source node for the specified stage).static <K extends Comparable<K>>
doubleFlowDatasetUtils. calculateTotalFlow(FlowDataset<K> dataset, int stage)
Returns the total flow from all sources to all destinations at the specified stage.static <K extends Comparable<K>>
booleanFlowDatasetUtils. hasFlowSelections(FlowDataset<K> dataset)
Returnstrue
if any of the flows in the dataset have a property 'selected' with the valueBoolean.TRUE
, andfalse
otherwise.static <K extends Comparable<K>>
booleanFlowDatasetUtils. hasNodeSelections(FlowDataset<K> dataset)
Returnstrue
if any of the nodes in the dataset have a property 'selected' with the valueBoolean.TRUE
, andfalse
otherwise.static <K extends Comparable<K>>
intFlowDatasetUtils. selectedNodeCount(FlowDataset<K> dataset)
Returns the number of selected nodes.