Package com.vaadin.classic.v8.ui
Interface HasComponents
-
- All Superinterfaces:
java.lang.Iterable<com.vaadin.flow.component.Component>
- All Known Subinterfaces:
ComponentContainer,Layout,SingleComponentContainer
- All Known Implementing Classes:
AbsoluteLayout,AbstractComponentContainer,AbstractLayout,AbstractOrderedLayout,AbstractSingleComponentContainer,FormLayout,GridLayout,HorizontalLayout,Panel,VerticalLayout
public interface HasComponents extends java.lang.Iterable<com.vaadin.flow.component.Component>Interface that must be implemented by all legacy frameworkAbstractComponents that contain otherAbstractComponents and Flow'sComponents.- Author:
- Vaadin Ltd
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceHasComponents.ComponentAttachDetachNotifierInterface forHasComponentsimplementations that support sending attach and detach events for components.static classHasComponents.ComponentAttachEventComponent attach event sent when a component is attached to container.static interfaceHasComponents.ComponentAttachListenerComponent attach listener interface.static classHasComponents.ComponentDetachEventComponent detach event sent when a component is detached from container.static interfaceHasComponents.ComponentDetachListenerComponent detach listener interface.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<com.vaadin.flow.component.Component>iterator()Gets an iterator to the collection of contained components.
-
-
-
Method Detail
-
iterator
java.util.Iterator<com.vaadin.flow.component.Component> iterator()
Gets an iterator to the collection of contained components. Using this iterator it is possible to step through all components contained in this container.The iterator is typically unmodifiable, and calls to
Iterator.remove()throw an exception.- Specified by:
iteratorin interfacejava.lang.Iterable<com.vaadin.flow.component.Component>- Returns:
- the component iterator.
-
-