Class ConstrainedSnapshotList<T>

  • Type Parameters:
    T - Type of element in list.
    All Implemented Interfaces:
    Iterable<T>, Collection<T>, List<T>, javafx.beans.Observable, javafx.collections.ObservableList<T>

    public class ConstrainedSnapshotList<T>
    extends javafx.collections.ObservableListBase<T>
    Filters out 'expired' snapshots.
    See Also:
    ObservableValueSnapshotList
    • Constructor Detail

      • ConstrainedSnapshotList

        public ConstrainedSnapshotList​(javafx.beans.value.ObservableValue<T> pObservableValue,
                                       Function<T,​Long> pValToTimeFunction)
    • Method Detail

      • getMaxDuration

        public Duration getMaxDuration()
        Maximum amount of time between first and last items in list.
      • setMaxDuration

        public void setMaxDuration​(Duration pMaxDuration)
      • maxDurationProperty

        public javafx.beans.property.ObjectProperty<Duration> maxDurationProperty()