| Package | Description |
|---|---|
| de.flapdoodle.transition.initlike |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableStateListener<T>
Immutable implementation of
InitListener.StateListener. |
| Modifier and Type | Method and Description |
|---|---|
static <T> InitListener.StateListener<T> |
InitListener.StateListener.of(NamedType<T> type,
Consumer<T> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected List<InitListener.StateListener<?>> |
ImmutableTypedListener.stateReachedListener() |
protected abstract List<InitListener.StateListener<?>> |
InitListener.TypedListener.stateReachedListener() |
protected List<InitListener.StateListener<?>> |
ImmutableTypedListener.stateTearDownListener() |
protected abstract List<InitListener.StateListener<?>> |
InitListener.TypedListener.stateTearDownListener() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableTypedListener.Builder |
ImmutableTypedListener.Builder.addStateReachedListener(InitListener.StateListener<?>... elements)
Adds elements to
stateReachedListener list. |
ImmutableTypedListener.Builder |
ImmutableTypedListener.Builder.addStateReachedListener(InitListener.StateListener<?> element)
Adds one element to
stateReachedListener list. |
ImmutableTypedListener.Builder |
ImmutableTypedListener.Builder.addStateTearDownListener(InitListener.StateListener<?>... elements)
Adds elements to
stateTearDownListener list. |
ImmutableTypedListener.Builder |
ImmutableTypedListener.Builder.addStateTearDownListener(InitListener.StateListener<?> element)
Adds one element to
stateTearDownListener list. |
static <T> ImmutableStateListener<T> |
ImmutableStateListener.copyOf(InitListener.StateListener<T> instance)
Creates an immutable copy of a
InitListener.StateListener value. |
ImmutableStateListener.Builder<T> |
ImmutableStateListener.Builder.from(InitListener.StateListener<T> instance)
Fill a builder with attribute values from the provided
StateListener instance. |
ImmutableTypedListener |
ImmutableTypedListener.withStateReachedListener(InitListener.StateListener<?>... elements)
Copy the current immutable object with elements that replace the content of
stateReachedListener. |
ImmutableTypedListener |
ImmutableTypedListener.withStateTearDownListener(InitListener.StateListener<?>... elements)
Copy the current immutable object with elements that replace the content of
stateTearDownListener. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableTypedListener.Builder |
ImmutableTypedListener.Builder.addAllStateReachedListener(Iterable<? extends InitListener.StateListener<?>> elements)
Adds elements to
stateReachedListener list. |
ImmutableTypedListener.Builder |
ImmutableTypedListener.Builder.addAllStateTearDownListener(Iterable<? extends InitListener.StateListener<?>> elements)
Adds elements to
stateTearDownListener list. |
ImmutableTypedListener.Builder |
ImmutableTypedListener.Builder.stateReachedListener(Iterable<? extends InitListener.StateListener<?>> elements)
Sets or replaces all elements for
stateReachedListener list. |
ImmutableTypedListener.Builder |
ImmutableTypedListener.Builder.stateTearDownListener(Iterable<? extends InitListener.StateListener<?>> elements)
Sets or replaces all elements for
stateTearDownListener list. |
ImmutableTypedListener |
ImmutableTypedListener.withStateReachedListener(Iterable<? extends InitListener.StateListener<?>> elements)
Copy the current immutable object with elements that replace the content of
stateReachedListener. |
ImmutableTypedListener |
ImmutableTypedListener.withStateTearDownListener(Iterable<? extends InitListener.StateListener<?>> elements)
Copy the current immutable object with elements that replace the content of
stateTearDownListener. |
Copyright © 2017. All rights reserved.