Class AggregatedListProperty<E>

  • Type Parameters:
    E - the type of the List elements

    public class AggregatedListProperty<E>
    extends java.lang.Object
    An AggregatedListPropert provides functionality to bundle many source lists into one. Each time a source list is updated, the change is reflected in the aggregated list. Changes on the aggregated list are forwarded to a root list.
    • Constructor Summary

      Constructors 
      Constructor Description
      AggregatedListProperty​(javafx.beans.property.ListProperty<E> rootList)
      Create a new AggregatedListProperty and set the rootList (read the class description for further details).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSourceList​(javafx.beans.property.ListProperty<E> sourceList)
      Add a source list.
      javafx.beans.property.ListProperty<E> getAggregatedList()
      Get the aggregatedList.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AggregatedListProperty

        public AggregatedListProperty​(javafx.beans.property.ListProperty<E> rootList)
        Create a new AggregatedListProperty and set the rootList (read the class description for further details).
        Parameters:
        rootList - the rootList
    • Method Detail

      • addSourceList

        public void addSourceList​(javafx.beans.property.ListProperty<E> sourceList)
        Add a source list. The contents of the sourceList will be added to the aggregatedList. A Listener is registered to handle further changes on the source list.
        Parameters:
        sourceList - the source list
      • getAggregatedList

        public javafx.beans.property.ListProperty<E> getAggregatedList()
        Get the aggregatedList.
        Returns:
        the aggregatedList