public class MappingObservableList<T,S>
extends javafx.collections.transformation.TransformationList<T,S>
Constructor and Description |
---|
MappingObservableList(javafx.collections.ObservableList<? extends S> source,
java.util.function.Function<S,T> mapper) |
MappingObservableList(javafx.collections.ObservableList<? extends S> source,
javafx.beans.value.ObservableValue<java.util.function.Function<S,T>> mapper) |
Modifier and Type | Method and Description |
---|---|
T |
get(int index) |
int |
getSourceIndex(int index) |
protected java.util.function.Function<S,T> |
resolveMapper() |
int |
size() |
protected void |
sourceChanged(javafx.collections.ListChangeListener.Change<? extends S> c) |
getSource, getSourceIndexFor, isInTransformationChain
addAll, addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, remove, removeAll, removeListener, removeListener, retainAll, setAll, setAll
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, addListener, filtered, remove, removeAll, removeListener, retainAll, setAll, setAll, sorted, sorted
public MappingObservableList(@Nonnull javafx.collections.ObservableList<? extends S> source, @Nonnull java.util.function.Function<S,T> mapper)
public int getSourceIndex(int index)
public T get(int index)
public int size()