sourceChanged(javafx.collections.ListChangeListener.Change) .
| Modifier and Type | Field and Description |
|---|---|
| private ObservableList | source
Contains the source list of this transformation list. |
| private ListChangeListener | sourceListener
This field contains the result of expression "source instanceof |
| Access | Constructor and Description |
|---|---|
| protected | TransformationList(ObservableList<? extends F>
the wrapped list source)Creates a new Transformation list wrapped around the source list. |
| Modifier and Type | Method and Description |
|---|---|
| private ListChangeListener | |
| public final ObservableList | Returns: The List that is directly wrapped by this TransformationListThe source list specified in the constructor of this transformation list. |
| public abstract int | Returns: the index of the element's origin in the source listthe index in this list index)Maps the index of this list's element to an index in the direct source list. |
| public final int | Returns: the index of the element's origin in the provided lista list from the transformation chain list, int the index of an element in this list index)Maps the index of this list's element to an index of the provided |
| public abstract int | Returns: the index of the element in this list if it is contained in this list or negative value otherwisethe index in the source list index)Maps the index of the direct source list's element to an index in this list. |
| public final boolean | Returns: true if the list is in the transformation chain as specified above.the list to check list)Checks whether the provided list is in the chain under this
|
| protected abstract void | sourceChanged(ListChangeListener.
the change cCalled when a change from the source is triggered. |
| source | back to summary |
|---|---|
| private ObservableList<? extends F> source Contains the source list of this transformation list. This is never null and should be used to directly access source list content | |
| sourceListener | back to summary |
|---|---|
| private ListChangeListener<F> sourceListener This field contains the result of expression "source instanceof | |
| TransformationList | back to summary |
|---|---|
| protected TransformationList(ObservableList<? extends F> source) Creates a new Transformation list wrapped around the source list.
| |
| getListener | back to summary |
|---|---|
| private ListChangeListener | |
| getSource | back to summary |
|---|---|
| public final ObservableList The source list specified in the constructor of this transformation list.
| |
| getSourceIndex | back to summary |
|---|---|
| public abstract int getSourceIndex(int index) Maps the index of this list's element to an index in the direct source list.
| |
| getSourceIndexFor | back to summary |
|---|---|
| public final int getSourceIndexFor(ObservableList<?> list, int index) Maps the index of this list's element to an index of the provided
| |
| getViewIndex | back to summary |
|---|---|
| public abstract int getViewIndex(int index) Maps the index of the direct source list's element to an index in this list.
| |
| isInTransformationChain | back to summary |
|---|---|
| public final boolean isInTransformationChain(ObservableList<?> list) Checks whether the provided list is in the chain under this
| |
| sourceChanged | back to summary |
|---|---|
| protected abstract void sourceChanged(ListChangeListener. Called when a change from the source is triggered.
| |