From 0308bf8b7b85ead586f21db82cd370c53fac46d6 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 20 Nov 2012 14:49:52 +0200 Subject: Moved isComponentVisible to separate interface (#10303) HasComponents.isComponentVisible is now SelectiveRenderer.isRendered Change-Id: Ic3b9cd65278ffc2a38ee20c76ec771ee057268bf --- server/src/com/vaadin/ui/TabSheet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/com/vaadin/ui/TabSheet.java') diff --git a/server/src/com/vaadin/ui/TabSheet.java b/server/src/com/vaadin/ui/TabSheet.java index 227743e9f4..1a76aa88bc 100644 --- a/server/src/com/vaadin/ui/TabSheet.java +++ b/server/src/com/vaadin/ui/TabSheet.java @@ -70,7 +70,7 @@ import com.vaadin.ui.themes.Runo; * @since 3.0 */ public class TabSheet extends AbstractComponentContainer implements Focusable, - FocusNotifier, BlurNotifier, LegacyComponent { + FocusNotifier, BlurNotifier, LegacyComponent, SelectiveRenderer { /** * List of component tabs (tab contents). In addition to being on this list, @@ -1290,7 +1290,7 @@ public class TabSheet extends AbstractComponentContainer implements Focusable, } @Override - public boolean isComponentVisible(Component childComponent) { + public boolean isRendered(Component childComponent) { return childComponent == getSelectedTab(); } -- cgit v1.2.3