public class NestedChangeListenerBuilder.Buildable extends NestedChangeListenerBuilder<T,O>
NestedChangeListenerBuilder
which can actually build a listener with
buildAttached()
.NestedChangeListenerBuilder.Buildable
Modifier and Type | Method and Description |
---|---|
NestedChangeListenerHandle<T> |
buildAttached()
Builds and
attaches a nested change listener and returns the
handle for it. |
NestedChangeListenerHandle<T> |
buildDetached()
Builds a nested change listener and returns the handle for it.
|
forNesting, withListener
public NestedChangeListenerHandle<T> buildAttached()
attaches
a nested change listener and returns the
handle for it.
This method can only be called once as the same ChangeListener
should not be added more than once to
the same Nesting
.
NestedChangeListenerHandle
; initially attachedbuildDetached()
public NestedChangeListenerHandle<T> buildDetached()
Note that the listener is not yet attached
!
This method can only be called once as the same ChangeListener
should not be added more than once to
the same Nesting
.
NestedChangeListenerHandle
; initially detachedbuildAttached()
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.