Package com.vaadin.classic.v8.ui
Interface HasComponents
- All Superinterfaces:
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
Interface that must be implemented by all legacy framework
AbstractComponents that contain other AbstractComponents and
Flow's Components.- Author:
- Vaadin Ltd
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInterface forHasComponentsimplementations that support sending attach and detach events for components.static classComponent attach event sent when a component is attached to container.static interfaceComponent attach listener interface.static classComponent detach event sent when a component is detached from container.static interfaceComponent detach listener interface. -
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
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.
-