@ Override public Layer setVisible ( final boolean visible ) { super . setVisible ( visible ) ; getElement ( ) . getStyle ( ) . setVisibility ( visible ? Visibility . VISIBLE : Visibility . HIDDEN ) ; return this ; }
Sets whether this object is visible .