Class DecoratingObservableList<E>

Type Parameters:
E - the list element type
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, IDecoratingObservable, IObservable, IObservableCollection<E>, IObservableList<E>

public class DecoratingObservableList<E> extends DecoratingObservableCollection<E> implements IObservableList<E>
An observable list which decorates another observable list.
Since:
1.2
Implementation Note:
If methods are added to the interface which this class implements then implementations of those methods must be added to this class.
  • Constructor Details

    • DecoratingObservableList

      public DecoratingObservableList(IObservableList<E> decorated, boolean disposeDecoratedOnDispose)
      Constructs a DecoratingObservableList which decorates the given observable.
      Parameters:
      decorated - the observable list being decorated
      disposeDecoratedOnDispose - whether the decorated observable should be disposed when the decorator is disposed
  • Method Details