Toggles the visibility of the section.

@param {boolean} isVisible True if the section should be visible (default: false).
963849
function(isVisible) {
                    var self = this,
                        $textEl = self.$el.find(self.options.toggleTextSelector);

                    if (isVisible) {
                        $textEl.text(self.$el.data('expanded-text'));
                    } else {
                        $textEl.text(self.$el.data('collapsed-text'));
                    }
                    $textEl.attr('aria-expanded', isVisible);
                    self.$el.toggleClass(self.options.isCollapsedClass, !isVisible);
                }
831722
public void setOldValueVisible(final boolean VISIBLE) {
        if (null == oldValueVisible) {
            _oldValueVisible = VISIBLE;
            fireTileEvent(VISIBILITY_EVENT);
        } else {
            oldValueVisible.set(VISIBLE);
        }
    }
1236645
def isVisible( self ):
        
        layer = self.layer()
        if layer and not layer.isVisible():
            return False
        
        return self._visible
663842
public void setSecondsVisible(boolean VISIBLE) { 
        if (null == secondsVisible) {
            _secondsVisible = VISIBLE;
            fireUpdateEvent(VISIBILITY_EVENT);
        } else {
            secondsVisible.set(VISIBLE);
        }
    }
446575
@Override
    void setVisibility(boolean visibility) {
        if (isVisible && !visibility) {
            // make the X cursor invisible
            xLib.XDefineCursor(xdisplay, xwindow, transparentCursor);
            MonocleWindowManager.getInstance().repaintAll();
        } else if (!isVisible && visibility) {
            // make the cursor visible
            xLib.XUndefineCursor(xdisplay, xwindow);
            MonocleWindowManager.getInstance().repaintAll();
        }
        isVisible = visibility;
    }
467203
public void setSection3DEffectVisible(final boolean SECTION_3D_EFFECT_VISIBLE) {
        this.section3DEffectVisible = SECTION_3D_EFFECT_VISIBLE;
        init(getInnerBounds().width, getInnerBounds().height);
        repaint(getInnerBounds());
    }
683077
public void setTopbarVisible(boolean visible) {
    topbar.setVisibility(visible ? View.VISIBLE : View.GONE);
    requestLayout();
  }
901367
public void setAverageVisible(final boolean VISIBLE) {
        if (null == averageVisible) {
            _averageVisible = VISIBLE;
            fireUpdateEvent(VISIBILITY_EVENT);
        } else {
            averageVisible.set(VISIBLE);
        }
    }
553021
public void setAlarmsVisible(final boolean VISIBLE) {
        if (null == alarmsVisible) {
            _alarmsVisible = VISIBLE;
            fireTileEvent(REDRAW_EVENT);
        } else {
            alarmsVisible.set(VISIBLE);
        }
    }
1361300
public void setSecondsVisible(boolean VISIBLE) {
        if (null == secondsVisible) {
            _secondsVisible = VISIBLE;
            fireTileEvent(REDRAW_EVENT);
        } else {
            secondsVisible.set(VISIBLE);
        }
    }
1090489
public void setOldValueVisible(final boolean VISIBLE) {
        if (null == oldValueVisible) {
            _oldValueVisible = VISIBLE;
            fireUpdateEvent(VISIBILITY_EVENT);
        } else {
            oldValueVisible.set(VISIBLE);
        }
    }
399738
public void setValueVisible(final boolean VISIBLE) {
        if (null == valueVisible) {
            _valueVisible = VISIBLE;
            fireUpdateEvent(VISIBILITY_EVENT);
        } else {
            valueVisible.set(VISIBLE);
        }
    }
426137
def isVisible(self, field, mode="view", default="visible"):
        
        if mode != "edit":
            return default

        # If this is a Secondary Analysis Request, this field is not editable
        if IAnalysisRequestSecondary.providedBy(self.context):
            return "invisible"

        return self.context.isOpen() and "visible" or "invisible"
1135878
public void setYellowVisible(final boolean YELLOW_VISIBLE) {
        yellowVisible = YELLOW_VISIBLE;
        calcInnerBounds();
        init(getInnerBounds().width, getInnerBounds().height);
        repaint(getInnerBounds());
    }
34014
function toggleVisibility(dom, show) {
  dom.style.display = show ? '' : 'none';
  dom['hidden'] = show ? false : true;
}
728121
public void setContentHighlightingVisible(boolean visible) {

        if (visible) {
            if (m_highlighting == null) {
                m_highlighting = new CmsHighlightingBorder(
                    CmsPositionBean.getBoundingClientRect(m_referenceElement),
                    CmsHighlightingBorder.BorderColor.red);
                RootPanel.get().add(m_highlighting);
            } else {
                m_highlighting.setPosition(CmsPositionBean.getBoundingClientRect(m_referenceElement));
            }
        } else {
            if (m_highlighting != null) {
                m_highlighting.removeFromParent();
                m_highlighting = null;
            }
        }
    }
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);
        }
    }