Package com.vaadin.ui
Interface HasComponents.ComponentAttachDetachNotifier
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ComponentContainer,Layout,SingleComponentContainer
- 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:
- HasComponents
public static interface HasComponents.ComponentAttachDetachNotifier extends Serializable
Interface forHasComponentsimplementations that support sending attach and detach events for components.- Since:
- 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddComponentAttachListener(HasComponents.ComponentAttachListener listener)Listens the component attach events.voidaddComponentDetachListener(HasComponents.ComponentDetachListener listener)Listens the component detach events.voidremoveComponentAttachListener(HasComponents.ComponentAttachListener listener)Stops the listening component attach events.voidremoveComponentDetachListener(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.
-
-