- java.lang.Object
-
- javafx.collections.ListChangeListener.Change<F>
-
- impl.org.controlsfx.collections.MappingChange<E,F>
-
public final class MappingChange<E,F> extends ListChangeListener.Change<F>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MappingChange.Map<E,F>
-
Field Summary
Fields Modifier and Type Field Description static MappingChange.Map
NOOP_MAP
-
Constructor Summary
Constructors Constructor Description MappingChange(ListChangeListener.Change<? extends E> original, MappingChange.Map<E,F> map, ObservableList<F> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFrom()
protected int[]
getPermutation()
int
getPermutation(int i)
List<F>
getRemoved()
int
getTo()
boolean
next()
void
reset()
String
toString()
boolean
wasPermutated()
boolean
wasUpdated()
-
Methods inherited from class javafx.collections.ListChangeListener.Change
getAddedSize, getAddedSubList, getList, getRemovedSize, wasAdded, wasRemoved, wasReplaced
-
-
-
-
Field Detail
-
NOOP_MAP
public static final MappingChange.Map NOOP_MAP
-
-
Constructor Detail
-
MappingChange
public MappingChange(ListChangeListener.Change<? extends E> original, MappingChange.Map<E,F> map, ObservableList<F> list)
-
-
Method Detail
-
next
public boolean next()
- Specified by:
next
in classListChangeListener.Change<F>
-
reset
public void reset()
- Specified by:
reset
in classListChangeListener.Change<F>
-
getFrom
public int getFrom()
- Specified by:
getFrom
in classListChangeListener.Change<F>
-
getTo
public int getTo()
- Specified by:
getTo
in classListChangeListener.Change<F>
-
getRemoved
public List<F> getRemoved()
- Specified by:
getRemoved
in classListChangeListener.Change<F>
-
getPermutation
protected int[] getPermutation()
- Specified by:
getPermutation
in classListChangeListener.Change<F>
-
wasPermutated
public boolean wasPermutated()
- Overrides:
wasPermutated
in classListChangeListener.Change<F>
-
wasUpdated
public boolean wasUpdated()
- Overrides:
wasUpdated
in classListChangeListener.Change<F>
-
getPermutation
public int getPermutation(int i)
- Overrides:
getPermutation
in classListChangeListener.Change<F>
-
-