public class IFXContentBinding extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E,R> void |
bind(List<R> list1,
ObservableList<? extends E> list2,
Function<E,R> mapper)
Bind the content of
list2 in list1 using mapper to convert each element. |
static <E,R> void |
unbind(List<R> list1,
ObservableList<? extends E> list2)
Un-bind
list1 of list2. |
public static <E,R> void bind(List<R> list1, ObservableList<? extends E> list2, Function<E,R> mapper)
list2 in list1 using mapper to convert each element.E - type of elements to bind in the source listR - type of elements binded in the destination listlist1 - destination listlist2 - source observable listmapper - list elements mapper from type E to the type Rpublic static <E,R> void unbind(List<R> list1, ObservableList<? extends E> list2)
list1 of list2.list1 - destination listlist2 - source observable listCopyright © 2018. All rights reserved.