diff options
author | Artur Signell <artur@vaadin.com> | 2012-03-13 11:29:43 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-03-14 16:00:37 +0200 |
commit | 751d60aaf6b5dec813f5f7fe3d46717a0b1ca2ef (patch) | |
tree | 1e95a9de64853687c2f441a14f5e877ca9503e7b /src/com/vaadin/ui/ComponentContainer.java | |
parent | e248adc283ccc79ef89f3f752cd0f516e09f8a2c (diff) | |
download | vaadin-framework-751d60aaf6b5dec813f5f7fe3d46717a0b1ca2ef.tar.gz vaadin-framework-751d60aaf6b5dec813f5f7fe3d46717a0b1ca2ef.zip |
#8500, #3557 Added HasComponents (Iterable<Component>) that must be
implemented by all components containing components.
This might still change when #2924/#2527 is fixed
Diffstat (limited to 'src/com/vaadin/ui/ComponentContainer.java')
-rw-r--r-- | src/com/vaadin/ui/ComponentContainer.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/com/vaadin/ui/ComponentContainer.java b/src/com/vaadin/ui/ComponentContainer.java index f2bfc723a5..c9bd7f5d8f 100644 --- a/src/com/vaadin/ui/ComponentContainer.java +++ b/src/com/vaadin/ui/ComponentContainer.java @@ -5,7 +5,6 @@ package com.vaadin.ui; import java.io.Serializable; -import java.util.Iterator; /** * Extension to the {@link Component} interface which adds to it the capacity to @@ -17,7 +16,7 @@ import java.util.Iterator; * @VERSION@ * @since 3.0 */ -public interface ComponentContainer extends Component { +public interface ComponentContainer extends HasComponents { /** * Adds the component into this container. @@ -61,15 +60,6 @@ public interface ComponentContainer extends Component { public void replaceComponent(Component oldComponent, Component newComponent); /** - * Gets an iterator to the collection of contained components. Using this - * iterator it is possible to step through all components contained in this - * container. - * - * @return the component iterator. - */ - public Iterator<Component> getComponentIterator(); - - /** * Gets the number of children this {@link ComponentContainer} has. This * must be symmetric with what {@link #getComponentIterator()} returns. * |