Sets the clear button as ``visible``

        :param visible: Visible state (True = visible, False = hidden).
969455
def set_button_visible(self, visible):
        
        self.button.setVisible(visible)
        left, top, right, bottom = self.getTextMargins()
        if visible:
            right = self._margin + self._spacing
        else:
            right = 0
        self.setTextMargins(left, top, right, bottom)
1131339
def setVisible( self, state ):
        
        self._visible = state
        
        super(XNode, self).setVisible(self.isVisible())
        
        self.dispatch.visibilityChanged.emit(state)
        self.setDirty()
645452
protected void setDirectEditButtonsVisible(boolean visible) {

        m_editButtonsVisibility.setValue(
            visible
            ? I_CmsLayoutBundle.INSTANCE.directEditCss().showButtons()
            : I_CmsLayoutBundle.INSTANCE.directEditCss().hideButtons());
        getHandler().showToolbar(visible);
    }
1010307
@Api
	public void setVisible(boolean visible) {
		if (visible != this.visible) {
			this.visible = visible;
			updateShowing(false);
			handlerManager.fireEvent(new LayerShownEvent(this));
		}
	}
646794
def setVisible(self, state):
        
        super(XDockToolbar, self).setVisible(state)
        
        if state:
            self.rebuild()
            self.setCurrentAction(None)
901367
public void setAverageVisible(final boolean VISIBLE) {
        if (null == averageVisible) {
            _averageVisible = VISIBLE;
            fireUpdateEvent(VISIBILITY_EVENT);
        } else {
            averageVisible.set(VISIBLE);
        }
    }
989603
public void setAlarmsVisible(final boolean VISIBLE) {
        if (null == alarmsVisible) {
            _alarmsVisible = VISIBLE;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            alarmsVisible.set(VISIBLE);
        }
    }
417379
protected void setGalleriesVisible(boolean visible) {

        if (visible) {
            m_noGalleriesLabel.getElement().getStyle().clearDisplay();
            m_galleryTree.getElement().getStyle().clearDisplay();
        } else {
            m_galleryTree.getElement().getStyle().setDisplay(Display.NONE);
            m_noGalleriesLabel.getElement().getStyle().setDisplay(Display.NONE);

        }
    }
399738
public void setValueVisible(final boolean VISIBLE) {
        if (null == valueVisible) {
            _valueVisible = VISIBLE;
            fireUpdateEvent(VISIBILITY_EVENT);
        } else {
            valueVisible.set(VISIBLE);
        }
    }
801818
private void setUpClearAllAction() {
		/* if one or fewer of the filter menus are visible then we don't need the clear all menus button */
		int visibleMenus = 0;
		if (firstNameFilterMenu.isVisible()) {
			visibleMenus++;
		}
		if (lastNameFilterMenu.isVisible()) {
			visibleMenus++;
		}
		if (dobFilterMenu.isVisible()) {
			visibleMenus++;
		}
		clearAllFiltersButton.setVisible(visibleMenus > 1);

		/* enable/disable the clear all filters action:
* if we have not initialised the lists then we do not need the button (though in this case it will not be visible);
 * otherwise if the size of the full list is the same as the size of the filtered list then we have not filtered the
 *  list so we do not need to clear the filters and the button can be disabled;
 * otherwise enable the button because we have applied at least one filter.
		 */
		if (clearAllFiltersButton.isVisible()) {
			List<?> fullList = getFilterableTableModel().getFullBeanList();
			List<?> filteredList = getFilterableTableModel().getBeanList();
			clearAllFiltersButton.setDisabled(fullList == null || filteredList == null || fullList.
					size() == filteredList.size());
		}
	}
1108818
public void setVisibleData(final VisibleData VISIBLE_DATA) {
        if (null == visibleData) {
            _visibleData = VISIBLE_DATA;
            redraw();
        } else {
            visibleData.set(VISIBLE_DATA);
        }
    }
1278952
def setVisible(self, visible):
        
        _logger().log(5, '%s visibility changed', self.name)
        super(Panel, self).setVisible(visible)
        if self.editor:
            self.editor.panels.refresh()
548650
private void adaptButtonBarVisibility() {
        if (buttonBarParent != null) {
            buttonBarParent.setVisibility(showRestoreDefaultsButton ? View.VISIBLE : View.GONE);
        }
    }
1178680
public void setLcdVisible(final boolean LCD_VISIBLE) {
        getModel().setLcdVisible(LCD_VISIBLE);
        init(getInnerBounds().width, getInnerBounds().height);
        repaint(getInnerBounds());
    }
658026
def setVisible(self, state):
        
        self._visible = state

        super(XNodeConnection, self).setVisible(self.isVisible())
1166456
protected void setLatLngVisible(boolean visible) {

        Style styleLat = m_latitudeLabel.getElement().getParentElement().getStyle();
        Style styleLng = m_longitudeLabel.getElement().getParentElement().getStyle();
        if (visible) {
            styleLat.clearDisplay();
            styleLng.clearDisplay();
        } else {
            styleLat.setDisplay(Display.NONE);
            styleLng.setDisplay(Display.NONE);
        }
    }
96132
public void setTextVisible(final boolean VISIBLE) {
        if (null == textVisible) {
            _textVisible = VISIBLE;
            fireUpdateEvent(VISIBILITY_EVENT);
        } else {
            textVisible.set(VISIBLE);
        }
    }