Class ValAsList<T>

    • Field Detail

      • underlying

        private final javafx.beans.value.ObservableValue<T> underlying
    • Constructor Detail

      • ValAsList

        ValAsList​(javafx.beans.value.ObservableValue<T> underlying)
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<T>
        Specified by:
        size in interface java.util.List<T>
      • get

        public T get​(int index)
        Specified by:
        get in interface java.util.List<T>
      • observeInputs

        protected Subscription observeInputs()
        Description copied from class: ObservableBase
        Starts observing this observable's input(s), if any. This method is called when the number of observers goes from 0 to 1. This method is called before ObservableBase.newObserver(Object) is called for the first observer.
        Specified by:
        observeInputs in class ObservableBase<LiveList.Observer<? super T,​?>,​QuasiListChange<? extends T>>
        Returns:
        subscription used to stop observing inputs. The subscription is unsubscribed (i.e. input observation stops) when the number of observers goes down to 0.