T
- item type.public interface ValueContext<T> extends UiComponentContext
Modifier and Type | Method and Description |
---|---|
default void |
clear() |
ContextProperty<Set<T>> |
current() |
default Stream<T> |
get() |
default Optional<T> |
getSingle() |
default T |
getSingleOrThrow() |
default io.reactivex.disposables.Disposable |
observe(Consumer<Set<T>> action) |
default io.reactivex.disposables.Disposable |
observeNullable(Consumer<Set<T>> action) |
default void |
set(Set<T> value) |
default void |
set(T value) |
ContextProperty<Set<T>> current()
default T getSingleOrThrow()
default void set(T value)
default void clear()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.