@ Override protected void updateVisibility ( boolean visible , boolean activated ) { super . updateVisibility ( visible , activated ) ; if ( registeredComponents != null ) { for ( BaseUIComponent component : registeredComponents ) { if ( ! visible ) { component . setAttribute ( Constants . ATTR_VISIBLE , component . isVisible ( ) ) ; component . setVisible ( false ) ; } else { component . setVisible ( ( Boolean ) component . getAttribute ( Constants . ATTR_VISIBLE ) ) ; } } } if ( visible ) { checkBusy ( ) ; } }
Sets the visibility of the contained resource and any registered components .