Class MappedObservableList.ChangeProxy<B,A>

java.lang.Object
javafx.collections.ListChangeListener.Change<A>
org.jhotdraw8.fxcollection.mapped.MappedObservableList.ChangeProxy<B,A>
Type Parameters:
B - the original element type
A - the new element type
Enclosing class:
MappedObservableList<A,B>

public static class MappedObservableList.ChangeProxy<B,A> extends javafx.collections.ListChangeListener.Change<A>
Maps a ListChangeListener.Change in a ListChangeListener.Change of a different element type.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChangeProxy(javafx.collections.ObservableList<A> list, javafx.collections.ListChangeListener.Change<? extends B> change, Function<B,A> toA)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    protected int @Nullable []
     
     
    int
     
    boolean
     
    void
     
    boolean
     

    Methods inherited from class javafx.collections.ListChangeListener.Change

    getAddedSize, getAddedSubList, getList, getPermutation, getRemovedSize, wasAdded, wasPermutated, wasRemoved, wasReplaced

    Methods inherited from class java.lang.Object

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

    • ChangeProxy

      public ChangeProxy(javafx.collections.ObservableList<A> list, javafx.collections.ListChangeListener.Change<? extends B> change, Function<B,A> toA)
  • Method Details

    • next

      public boolean next()
      Specified by:
      next in class javafx.collections.ListChangeListener.Change<A>
    • reset

      public void reset()
      Specified by:
      reset in class javafx.collections.ListChangeListener.Change<A>
    • getTo

      public int getTo()
      Specified by:
      getTo in class javafx.collections.ListChangeListener.Change<A>
    • getRemoved

      public List<A> getRemoved()
      Specified by:
      getRemoved in class javafx.collections.ListChangeListener.Change<A>
    • getFrom

      public int getFrom()
      Specified by:
      getFrom in class javafx.collections.ListChangeListener.Change<A>
    • wasUpdated

      public boolean wasUpdated()
      Overrides:
      wasUpdated in class javafx.collections.ListChangeListener.Change<A>
    • getPermutation

      protected int @Nullable [] getPermutation()
      Specified by:
      getPermutation in class javafx.collections.ListChangeListener.Change<A>