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