com.vaadin.ui
Interface HasComponents.ComponentAttachDetachNotifier

All Superinterfaces:
java.io.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, Navigator.EmptyView, Panel, TabSheet, UI, VerticalLayout, VerticalSplitPanel, Window
Enclosing interface:
HasComponents

public static interface HasComponents.ComponentAttachDetachNotifier
extends java.io.Serializable

Interface for HasComponents implementations that support sending attach and detach events for components.

Since:
7.0

Method Summary
 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.



Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.