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