Module com.iamsoft.util.ui
Package com.iamsoft.util.ui.javafx
Class TimeSeriesList<K,Y extends Number>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- javafx.collections.ObservableListBase<javafx.scene.chart.XYChart.Series<Long,Y>>
-
- com.iamsoft.util.ui.javafx.TimeSeriesList<K,Y>
-
- Type Parameters:
K
- Item from which data is extracted.Y
- Value type.
- All Implemented Interfaces:
Iterable<javafx.scene.chart.XYChart.Series<Long,Y>>
,Collection<javafx.scene.chart.XYChart.Series<Long,Y>>
,List<javafx.scene.chart.XYChart.Series<Long,Y>>
,javafx.beans.Observable
,javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<Long,Y>>
public class TimeSeriesList<K,Y extends Number> extends javafx.collections.ObservableListBase<javafx.scene.chart.XYChart.Series<Long,Y>>
List of data series derived from mutating observable values.
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description TimeSeriesList(javafx.collections.ObservableList<K> pItems, Function<? super K,? extends javafx.beans.value.ObservableValue<String>> pNameFunction, Function<? super K,? extends javafx.beans.value.ObservableValue<? extends Y>> pValFunction)
TimeSeriesList(javafx.collections.ObservableList<K> pItems, Function<? super K,? extends javafx.beans.value.ObservableValue<String>> pNameFunction, Function<? super K,? extends javafx.beans.value.ObservableValue<? extends Y>> pValFunction, UnaryOperator<javafx.collections.ObservableList<javafx.scene.chart.XYChart.Data<Long,Y>>> pConflationFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.chart.XYChart.Series<Long,Y>
get(int pIdx)
javafx.scene.chart.XYChart.Series<Long,Y>
get(K pItem)
int
size()
-
Methods inherited from class javafx.collections.ObservableListBase
addAll, addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, remove, removeAll, removeListener, removeListener, retainAll, setAll, setAll
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
-
-
-
-
Constructor Detail
-
TimeSeriesList
public TimeSeriesList(javafx.collections.ObservableList<K> pItems, Function<? super K,? extends javafx.beans.value.ObservableValue<String>> pNameFunction, Function<? super K,? extends javafx.beans.value.ObservableValue<? extends Y>> pValFunction)
-
TimeSeriesList
public TimeSeriesList(javafx.collections.ObservableList<K> pItems, Function<? super K,? extends javafx.beans.value.ObservableValue<String>> pNameFunction, Function<? super K,? extends javafx.beans.value.ObservableValue<? extends Y>> pValFunction, UnaryOperator<javafx.collections.ObservableList<javafx.scene.chart.XYChart.Data<Long,Y>>> pConflationFunction)
-
-