Index
All Classes and Interfaces|All Packages
A
- allMatch(Predicate<? super E>) - Method in interface com.tobiasdiez.easybind.EasyObservableList
-
Creates a new
BooleanBindingthat holdstrueif all elements of this list match the provided predicate. - and(Subscription) - Method in interface com.tobiasdiez.easybind.Subscription
-
Returns a new aggregate subscription whose
Subscription.unsubscribe()method callsunsubscribe()on both this subscription andothersubscription. - anyMatch(Predicate<? super E>) - Method in interface com.tobiasdiez.easybind.EasyObservableList
-
Creates a new
BooleanBindingthat holdstrueif any elements of this list match the provided predicate. - apply(A, B, C) - Method in interface com.tobiasdiez.easybind.EasyBind.TriFunction
- apply(A, B, C, D) - Method in interface com.tobiasdiez.easybind.EasyBind.TetraFunction
- apply(A, B, C, D, E) - Method in interface com.tobiasdiez.easybind.EasyBind.PentaFunction
- apply(A, B, C, D, E, F) - Method in interface com.tobiasdiez.easybind.EasyBind.HexaFunction
- asOrdinary() - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Converts this optional observable to an ordinary observable, holding
nullif this observable does not hold any value. - asOrdinary() - Method in class com.tobiasdiez.easybind.optional.OptionalWrapper
-
implNote overwrite to remove this wrapper from the notification chain
B
- bind(Property<T>, ObservableValue<? extends T>) - Method in class com.tobiasdiez.easybind.When
-
Sets up automatic binding and unbinding of
targetto/fromsource, based on the changing value of the encapsulated condition. - bind(ObservableValue<? extends T>, T) - Method in interface com.tobiasdiez.easybind.PropertyBinding
-
Like
Property.bind(ObservableValue), plus whenever the underlying property changes, the previous one is set to the provided value. - bindConditionally(Property<T>, ObservableValue<? extends T>, ObservableValue<Boolean>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Deprecated.
- bindContent(List<? super T>, ObservableList<? extends T>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Synchronizes the content of the
targetlist with thesourcelist. - bindContent(List<? super T>, ObservableList<? extends T>) - Method in class com.tobiasdiez.easybind.When
-
Sets up automatic binding and unbinding of
target's items to/fromsource's items, based on the changing value of the encapsulated condition.
C
- changed(ObservableValue<? extends T>, T, T) - Method in interface com.tobiasdiez.easybind.SimpleChangeListener
- changed(T, T) - Method in interface com.tobiasdiez.easybind.SimpleChangeListener
-
Called when the value of an observable changes.
- com.tobiasdiez.easybind - module com.tobiasdiez.easybind
- com.tobiasdiez.easybind - package com.tobiasdiez.easybind
- com.tobiasdiez.easybind.optional - package com.tobiasdiez.easybind.optional
- com.tobiasdiez.easybind.select - package com.tobiasdiez.easybind.select
- combine(ObservableValue<A>, ObservableValue<B>, BiFunction<A, B, R>) - Static method in class com.tobiasdiez.easybind.EasyBind
- combine(ObservableValue<A>, ObservableValue<B>, ObservableValue<C>, EasyBind.TriFunction<A, B, C, R>) - Static method in class com.tobiasdiez.easybind.EasyBind
- combine(ObservableValue<A>, ObservableValue<B>, ObservableValue<C>, ObservableValue<D>, EasyBind.TetraFunction<A, B, C, D, R>) - Static method in class com.tobiasdiez.easybind.EasyBind
- combine(ObservableValue<A>, ObservableValue<B>, ObservableValue<C>, ObservableValue<D>, ObservableValue<E>, EasyBind.PentaFunction<A, B, C, D, E, R>) - Static method in class com.tobiasdiez.easybind.EasyBind
- combine(ObservableValue<A>, ObservableValue<B>, ObservableValue<C>, ObservableValue<D>, ObservableValue<E>, ObservableValue<F>, EasyBind.HexaFunction<A, B, C, D, E, F, R>) - Static method in class com.tobiasdiez.easybind.EasyBind
- combine(ObservableList<? extends ObservableValue<? extends T>>, Function<? super Stream<T>, ? extends R>) - Static method in class com.tobiasdiez.easybind.EasyBind
- computeValue() - Method in class com.tobiasdiez.easybind.optional.OptionalWrapper
- concat(ObservableList<? extends T>...) - Static method in class com.tobiasdiez.easybind.EasyBind
D
- dependencies - Variable in class com.tobiasdiez.easybind.PreboundBinding
- dispose() - Method in class com.tobiasdiez.easybind.PreboundBinding
E
- EasyBind - Class in com.tobiasdiez.easybind
-
Methods for easy creation of bindings.
- EasyBind() - Constructor for class com.tobiasdiez.easybind.EasyBind
- EasyBind.HexaFunction<A,
B, C, D, E, F, R> - Interface in com.tobiasdiez.easybind - EasyBind.PentaFunction<A,
B, C, D, E, R> - Interface in com.tobiasdiez.easybind - EasyBind.TetraFunction<A,
B, C, D, R> - Interface in com.tobiasdiez.easybind - EasyBind.TriFunction<A,
B, C, R> - Interface in com.tobiasdiez.easybind - EasyBinding<T> - Interface in com.tobiasdiez.easybind
-
A standard
Bindingenriched by convenient helper methods to generate bindings in a fluent style. - EasyObservableList<E> - Interface in com.tobiasdiez.easybind
-
A standard
ObservableListenriched by convenient helper methods. - EasyObservableValue<T> - Interface in com.tobiasdiez.easybind
-
A standard
ObservableObjectValueenriched by convenient helper methods to generate bindings in a fluent style. - EasyPreboundBinding<T> - Class in com.tobiasdiez.easybind
-
A
PreboundBindingthat also implementsEasyBindingin order to support fluent method chains. - EasyPreboundBinding(Observable...) - Constructor for class com.tobiasdiez.easybind.EasyPreboundBinding
- EMPTY - Static variable in interface com.tobiasdiez.easybind.Subscription
F
- filter(Predicate<? super T>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Returns a new observable that holds the same value as this observable when the value is present and matches the given predicate, otherwise it holds an empty optional.
- filter(Predicate<? super T>) - Method in class com.tobiasdiez.easybind.optional.PreboundOptionalBinding
- filtered(ObservableValue<? extends Predicate<E>>) - Method in interface com.tobiasdiez.easybind.EasyObservableList
-
Creates a
FilteredListwrapper of this list using the specified predicate. - filteredWrapped(ObservableValue<? extends Predicate<E>>) - Method in interface com.tobiasdiez.easybind.EasyObservableList
- flatMapOpt(Function<T, Optional<U>>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Returns a new observable that holds the result of applying the given function to the value as this observable, if present, otherwise empty.
- flatMapOpt(Function<T, Optional<U>>) - Method in class com.tobiasdiez.easybind.optional.PreboundOptionalBinding
- flatten(ObservableList<ObservableList<? extends T>>) - Static method in class com.tobiasdiez.easybind.EasyBind
G
- getValueOrElse(T) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
If this observable holds a value, returns the value, otherwise returns
other. - getValueOrElseThrow() - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
If this observable holds a value, returns the value, otherwise throws
NoSuchElementException.
I
- ifValuePresent(Consumer<? super T>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
If this observable holds a value, invokes the given function with the value, otherwise does nothing.
- includeWhen(Collection<T>, T, ObservableValue<Boolean>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Adds
elementtocollectionwhenconditionistrueand removes it fromcollectionwhenconditionisfalse. - isEmpty() - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Returns a new observable that holds
trueif this observable does not hold value, orfalseotherwise. - isEmpty() - Method in class com.tobiasdiez.easybind.optional.PreboundOptionalBinding
- isEmptyBinding() - Method in interface com.tobiasdiez.easybind.EasyObservableList
-
Creates a new
BooleanBindingthat holdstrueif this list is empty. - isPresent() - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Returns a new observable that holds
trueif this observable holds value, orfalseotherwise. - isPresent() - Method in class com.tobiasdiez.easybind.optional.PreboundOptionalBinding
- isValueEmpty() - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Checks whether this observable has no value.
- isValuePresent() - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Checks whether this observable holds a value.
L
- listen(InvalidationListener) - Method in interface com.tobiasdiez.easybind.EasyObservableValue
- listen(ChangeListener<? super Optional<T>>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
- listen(ChangeListener<? super T>) - Method in interface com.tobiasdiez.easybind.EasyObservableValue
- listen(ObservableValue<T>, InvalidationListener) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Adds an invalidation listener and returns a Subscription that can be used to remove that listener.
- listen(ObservableValue<T>, ChangeListener<? super T>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Adds a change listener and returns a Subscription that can be used to remove that listener.
- listenToValues(SimpleChangeListener<? super T>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Adds a change listener and returns a
Subscriptionthat can be used to remove that listener.
M
- map(Function<? super T, ? extends R>) - Method in interface com.tobiasdiez.easybind.EasyObservableValue
- map(ObservableValue<T>, Function<? super T, ? extends U>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Returns an observable consisting of the result of applying the given function to the given observable value.
- map(ObservableList<? extends T>, Function<? super T, ? extends U>) - Static method in class com.tobiasdiez.easybind.EasyBind
- mapBacked(ObservableList<A>, Function<A, B>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Creates a new list in which each element is converted using the provided mapping.
- mapBacked(ObservableList<A>, Function<A, B>, boolean) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Similar to
EasyBind.mapBacked(ObservableList, Function), but allows specifying if new objects should be created on update. - mapObservable(Function<? super T, ? extends ObservableValue<R>>) - Method in interface com.tobiasdiez.easybind.EasyObservableValue
- mapObservable(Function<? super T, O>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Returns a new observable that holds the value of the observable resulting from applying the given function to the value as this observable.
- mapObservable(ObservableValue<T>, Function<? super T, R>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Returns an observable that, when the given observable value holds value
x, holds the value held by the observablef(x). - mapOpt(Function<? super T, ? extends U>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Returns an
ObservableValuethat holds the result of applying the given mapping function on this value. - mapOpt(Function<? super T, ? extends U>) - Method in class com.tobiasdiez.easybind.optional.PreboundOptionalBinding
- mapped(Function<? super E, ? extends U>) - Method in interface com.tobiasdiez.easybind.EasyObservableList
-
Creates a
MappedListwrapper of this list using the specified mapping function. - multi(Subscription...) - Static method in interface com.tobiasdiez.easybind.Subscription
-
Returns a new aggregate subscription whose
Subscription.unsubscribe()method callsunsubscribe()on all arguments to this method.
O
- ObservableOptionalValue<T> - Interface in com.tobiasdiez.easybind.optional
-
An
ObservableValuethat may or may not contain values (i.e. - OptionalBinding<T> - Interface in com.tobiasdiez.easybind.optional
- OptionalWrapper<T> - Class in com.tobiasdiez.easybind.optional
-
Provides a wrapper around the given observable to convert it to an
ObservableOptionalValue. - OptionalWrapper(ObservableValue<T>) - Constructor for class com.tobiasdiez.easybind.optional.OptionalWrapper
- orElseOpt(ObservableValue<T>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Returns a new observable that holds the value held by this observable, or the value held by
otherwhen this observable is empty. - orElseOpt(ObservableValue<T>) - Method in class com.tobiasdiez.easybind.optional.PreboundOptionalBinding
- orElseOpt(T) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Returns a new observable that holds the value held by this observable, or
otherwhen this observable is empty. - orElseOpt(T) - Method in class com.tobiasdiez.easybind.optional.PreboundOptionalBinding
P
- PreboundBinding<T> - Class in com.tobiasdiez.easybind
-
Object binding that binds to its dependencies on creation and unbinds from them on dispose.
- PreboundBinding(Observable...) - Constructor for class com.tobiasdiez.easybind.PreboundBinding
- PreboundOptionalBinding<T> - Class in com.tobiasdiez.easybind.optional
-
Object binding that binds to its dependencies on creation and unbinds from them on dispose.
- PreboundOptionalBinding(Observable...) - Constructor for class com.tobiasdiez.easybind.optional.PreboundOptionalBinding
- PropertyBinding<T> - Interface in com.tobiasdiez.easybind
R
- reduce(Function<? super Stream<? extends E>, ? extends R>) - Method in interface com.tobiasdiez.easybind.EasyObservableList
- reduce(ObservableList<? extends T>, Function<? super Stream<? extends T>, ? extends R>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Creates a new binding that performs a reduction on the elements of this list, using the provided accumulation function.
S
- select(Function<? super T, ObservableValue<U>>) - Method in interface com.tobiasdiez.easybind.EasyObservableValue
-
Starts a selection chain.
- select(Function<? super T, ObservableValue<U>>) - Method in interface com.tobiasdiez.easybind.select.SelectBuilder
- select(ObservableValue<T>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Starts a selection chain.
- SelectBuilder<T> - Interface in com.tobiasdiez.easybind.select
- selectObject(Function<? super T, ObservableValue<U>>) - Method in interface com.tobiasdiez.easybind.select.SelectBuilder
- selectProperty(Function<? super T, ? extends Property<R>>) - Method in interface com.tobiasdiez.easybind.EasyObservableValue
- selectProperty(Function<? super T, O>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
- selectProperty(ObservableValue<T>, Function<? super T, ? extends Property<U>>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Similar to
EasyBind.mapObservable(ObservableValue, Function), except the returned binding is also a property. - SimpleChangeListener<T> - Interface in com.tobiasdiez.easybind
-
Simple
ChangeListenerthat only notifies about the old and new value but not about the changed observable. - startAt(ObservableValue<T>) - Static method in interface com.tobiasdiez.easybind.select.SelectBuilder
- subscribe(Consumer<? super Optional<T>>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
- subscribe(Consumer<? super T>) - Method in interface com.tobiasdiez.easybind.EasyObservableValue
- subscribe(ObservableValue<T>, Consumer<? super T>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Invokes
subscriberfor the current and every new value ofobservable. - subscribeToValues(Consumer<? super T>) - Method in interface com.tobiasdiez.easybind.optional.ObservableOptionalValue
-
Invokes the
subscriberfor the current value, if present, and every new value. - Subscription - Interface in com.tobiasdiez.easybind
U
- unsubscribe() - Method in interface com.tobiasdiez.easybind.Subscription
V
- valueAt(int) - Method in interface com.tobiasdiez.easybind.EasyObservableList
- valueAt(ObservableList<E>, int) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Creates a new
OptionalBindingthat contains the element of anObservableListat the specified position. - valueAt(ObservableMap<K, V>, K) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Creates a new
OptionalBindingthat contains the mapping of a specific key in anObservableMap.
W
- when(ObservableValue<Boolean>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Entry point for creating conditional bindings.
- When - Class in com.tobiasdiez.easybind
-
Starting point for creation of conditional bindings.
- wrap(ObservableValue<T>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Creates a wrapper around the given observable to provide access to convenient helper methods (for fluent style)
- wrapList(ObservableList<E>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Creates a wrapper around the given observable list to provide access to convenient helper methods (for fluent style)
- wrapNullable(ObservableValue<T>) - Static method in class com.tobiasdiez.easybind.EasyBind
-
Creates a wrapper around the given observable value that provides functionality similar to an
Optional.
All Classes and Interfaces|All Packages
when(condition).bind(target, source)instead.