public static interface HasComponents.ComponentAttachDetachNotifier extends Serializable
HasComponents
implementations that support sending
attach and detach events for components.Modifier and Type | Method and Description |
---|---|
Registration |
addComponentAttachListener(HasComponents.ComponentAttachListener listener)
Listens the component attach events.
|
Registration |
addComponentDetachListener(HasComponents.ComponentDetachListener listener)
Listens the component detach events.
|
void |
removeComponentAttachListener(HasComponents.ComponentAttachListener listener)
Deprecated.
As of 8.0, replaced by
Registration.remove() in
the registration object returned from
#addComponentAttachListener(ComponentAttachListener)
. |
void |
removeComponentDetachListener(HasComponents.ComponentDetachListener listener)
Deprecated.
|
Registration addComponentAttachListener(HasComponents.ComponentAttachListener listener)
listener
- the listener to add, not nullRegistration
@Deprecated void removeComponentAttachListener(HasComponents.ComponentAttachListener listener)
Registration.remove()
in
the registration object returned from
#addComponentAttachListener(ComponentAttachListener)
.listener
- the listener to removed.Registration addComponentDetachListener(HasComponents.ComponentDetachListener listener)
@Deprecated void removeComponentDetachListener(HasComponents.ComponentDetachListener listener)
Copyright © 2017 Vaadin Ltd. All rights reserved.