diff options
author | Artur Signell <artur@vaadin.com> | 2012-11-20 14:49:52 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-11-20 13:15:35 +0000 |
commit | 0308bf8b7b85ead586f21db82cd370c53fac46d6 (patch) | |
tree | 0b550ad3b68134b599c7a146723923f67e1d04cb /server/src/com/vaadin/ui/TabSheet.java | |
parent | 40e7287b82df23e9105f51b7ca086e93fb8903c5 (diff) | |
download | vaadin-framework-0308bf8b7b85ead586f21db82cd370c53fac46d6.tar.gz vaadin-framework-0308bf8b7b85ead586f21db82cd370c53fac46d6.zip |
Moved isComponentVisible to separate interface (#10303)
HasComponents.isComponentVisible is now SelectiveRenderer.isRendered
Change-Id: Ic3b9cd65278ffc2a38ee20c76ec771ee057268bf
Diffstat (limited to 'server/src/com/vaadin/ui/TabSheet.java')
-rw-r--r-- | server/src/com/vaadin/ui/TabSheet.java | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |