com.vaadin.ui.
Interface HasComponents.ComponentAttachDetachNotifier
-
All Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
AbsoluteLayout
,AbstractComponentContainer
,AbstractLayout
,AbstractOrderedLayout
,AbstractSingleComponentContainer
,AbstractSplitPanel
,Accordion
,ColorPickerPopup
,ColorPickerPreview
,CssLayout
,CustomLayout
,FormLayout
,GridLayout
,HorizontalLayout
,HorizontalSplitPanel
,LegacyWindow
,LoginForm
,Navigator.EmptyView
,Panel
,TabSheet
,UI
,VerticalLayout
,VerticalSplitPanel
,Window
Enclosing interface:
public static interface HasComponents.ComponentAttachDetachNotifier extends Serializable
Interface for
HasComponents
implementations that support sending attach and detach events for components.Since:
7.0
-
-
Method Summary
All Methods Modifier and Type Method Description void
addComponentAttachListener(HasComponents.ComponentAttachListener listener)
Listens the component attach events.
void
addComponentDetachListener(HasComponents.ComponentDetachListener listener)
Listens the component detach events.
void
removeComponentAttachListener(HasComponents.ComponentAttachListener listener)
Stops the listening component attach events.
void
removeComponentDetachListener(HasComponents.ComponentDetachListener listener)
Stops the listening component detach events.
-
-
-
Method Detail
-
addComponentAttachListener
void addComponentAttachListener(HasComponents.ComponentAttachListener listener)
Listens the component attach events.
Parameters:
listener
- the listener to add.
-
removeComponentAttachListener
void removeComponentAttachListener(HasComponents.ComponentAttachListener listener)
Stops the listening component attach events.
Parameters:
listener
- the listener to removed.
-
addComponentDetachListener
void addComponentDetachListener(HasComponents.ComponentDetachListener listener)
Listens the component detach events.
-
removeComponentDetachListener
void removeComponentDetachListener(HasComponents.ComponentDetachListener listener)
Stops the listening component detach events.
-
-