Set all checkbox to a specific value
@param enabled true if all the checkbox should be enabled, false otherwise
@see #setReasonVariantsDisabled(String)
17201
public void setAllInjectableAndRPC(boolean enabled) {
        
        this.getChkInjectableQueryString().setEnabled(enabled);
        this.getChkAddQueryParam().setEnabled(enabled && getChkInjectableQueryString().isSelected());
        this.getChkInjectableUrlPath().setEnabled(enabled);
        this.getChkInjectablePostData().setEnabled(enabled);
        this.getChkInjectableHeaders().setEnabled(enabled);
        this.getChkInjectableHeadersAllRequests().setEnabled(enabled && getChkInjectableHeaders().isSelected());
        this.getChkInjectableCookie().setEnabled(enabled);
         
        this.getChkRPCMultipart().setEnabled(enabled);
        this.getChkRPCXML().setEnabled(enabled);
        this.getChkRPCJSON().setEnabled(enabled);
        this.getChkRPCGWT().setEnabled(enabled);
        this.getChkRPCoData().setEnabled(enabled);
        this.getChkRPCDWR().setEnabled(enabled);
        this.getChkRPCCustom().setEnabled(enabled && isExtensionScriptEnabled());

        if (!reasonVariantsDisabled.isEmpty()) {
            labelReasonVariantsDisabled.setVisible(!enabled);
        }
    }
723850
public void enableCheckboxesForNotInstalledModules(boolean enable) {

        for (Map.Entry<String, CheckBox> entry : m_moduleCheckboxes.entrySet()) {
            String moduleName = entry.getKey();
            CheckBox checkbox = entry.getValue();
            if (!OpenCms.getModuleManager().hasModule(moduleName)) {
                checkbox.setEnabled(enable);
                if (!enable) {
                    checkbox.setValue(Boolean.FALSE);
                }
            }
        }
    }
474461
public void setEnabledToolConfig(int tool, boolean enabled) {
        switch (tool) {
            case IBurpExtenderCallbacks.TOOL_PROXY:
                jCheckBoxProxy.setEnabled(enabled);
                break;
            case IBurpExtenderCallbacks.TOOL_REPEATER:
                jCheckBoxRepeater.setEnabled(enabled);
                break;
            case IBurpExtenderCallbacks.TOOL_SCANNER:
                jCheckBoxScanner.setEnabled(enabled);
                break;
            case IBurpExtenderCallbacks.TOOL_INTRUDER:
                jCheckBoxIntruder.setEnabled(enabled);
                break;
            case IBurpExtenderCallbacks.TOOL_SEQUENCER:
                jCheckBoxSequencer.setEnabled(enabled);
                break;
            case IBurpExtenderCallbacks.TOOL_SPIDER:
                jCheckBoxSpider.setEnabled(enabled);
                break;
            case IBurpExtenderCallbacks.TOOL_EXTENDER:
                jCheckBoxExtender.setEnabled(enabled);
                break;
            default:
                break;
        }
    }
518323
@Override
    public void setEnabled(boolean enabled) {
        if (this.enabled != enabled) {
            this.enabled = enabled;
            setProperty("enabled", Boolean.toString(enabled));
            if (enabled && getAlertThreshold() == AlertThreshold.OFF) {
                setAlertThreshold(AlertThreshold.DEFAULT);
            }
        }
    }
81995
public void setArduinoEnabled(boolean enable) {
        Buffer buffer = new Buffer();
        buffer.writeByte(enable ? 1 : 0);
        sendMessage(BeanMessageID.CC_POWER_ARDUINO, buffer);
    }
838148
public void setDisabled(boolean disabled) {
		this.disabled = disabled;
		if (disabled) {
			handlerManager.fireEvent(new ToolbarActionDisabledEvent());
		} else {
			handlerManager.fireEvent(new ToolbarActionEnabledEvent());
		}
	}
16426
public void setAlarmsEnabled(final boolean CHECK) {
        if (null == alarmsEnabled) {
            _alarmsEnabled = CHECK;
            fireUpdateEvent(VISIBILITY_EVENT);
        } else {
            alarmsEnabled.set(CHECK);
        }
    }
519089
public void setClearButtonEnabled(boolean enabled) {

        if (enabled) {
            m_clearButton.enable();
        } else {
            m_clearButton.disable(Messages.get().key(Messages.GUI_DISABLE_CLEAR_LIST_0));
        }
    }
211438
@Transactional
    protected void _setServiceEnabled(boolean enabled) {
        synchronized (_serviceManagementRecordService) {
            ServiceManagementRecord record = _serviceManagementRecordService.findServiceManagementRecord(Service.SCHEDULING);

            if (record == null) {
                record = new ServiceManagementRecord(_userService.findAdminUser(), Service.SCHEDULING, enabled);
            }
            record.setEnabled(enabled);
            _serviceManagementRecordService.updateServiceManagementRecord(record);
        }
    }
658250
public void setEnabled(boolean enabled) {
        setEnabled(enabled, ENABLED_MASK);
        if (enabled) {
            Log parent;
            if ((parent = mParent) != null) {
                parent.setEnabled(true);
            }
        }
    }
614191
public void setEnabled(boolean enable, String disableMessage) {

        if (m_enabled && !enable) {
            Iterator<Widget> it = iterator();
            while (it.hasNext()) {
                Widget w = it.next();
                if (w instanceof CmsPushButton) {
                    ((CmsPushButton)w).disable(disableMessage);
                }
            }
        } else if (!m_enabled && enable) {
            Iterator<Widget> it = iterator();
            while (it.hasNext()) {
                Widget w = it.next();
                if (w instanceof CmsPushButton) {
                    ((CmsPushButton)w).enable();
                }
            }
        }
    }
1373878
private void setListEnabled(CmsList<? extends I_CmsListItem> list, boolean enabled, String disabledReason) {

        for (Widget child : list) {
            CmsTreeItem treeItem = (CmsTreeItem)child;
            if (enabled) {
                treeItem.getCheckBox().enable();
            } else {
                treeItem.getCheckBox().disable(disabledReason);
            }
            setListEnabled(treeItem.getChildren(), enabled, disabledReason);
        }
    }
706913
public void setEnabled(boolean isEnabled) {
        mCardNumberEditText.setEnabled(isEnabled);
        mExpiryDateEditText.setEnabled(isEnabled);
        mCvcNumberEditText.setEnabled(isEnabled);
    }
1101638
public void setScalebarEnabled(boolean enabled) {
		scaleBarEnabled = enabled;
		final String scaleBarId = "scalebar";

		if (scaleBarEnabled) {
			if (!getMapAddons().containsKey(scaleBarId)) {
				ScaleBar scalebar = new ScaleBar(scaleBarId, this);
				scalebar.setVerticalAlignment(VerticalAlignment.BOTTOM);
				scalebar.setHorizontalMargin(2);
				scalebar.setVerticalMargin(2);
				scalebar.initialize(getMapModel().getMapInfo().getDisplayUnitType(), unitLength, new Coordinate(20,
						graphics.getHeight() - 25));
				registerMapAddon(scalebar);
			}
		} else {
			unregisterMapAddon(addons.get(scaleBarId));
		}
	}
1108887
public void setAveragingEnabled(final boolean ENABLED) {
        if (null == averagingEnabled) {
            _averagingEnabled = ENABLED;
            fireTileEvent(REDRAW_EVENT);
        } else {
            averagingEnabled.set(ENABLED);
        }
    }
167525
public void setEnabled(boolean enabled) {
		this.enabled = enabled;
		if (enabled) {
			DOM.setElementProperty(lineElement, "className", SLIDER_LINE);
		} else {
			DOM.setElementProperty(lineElement, "className", SLIDER_LINE + " "
					+ SLIDER_LINE_DISABLED);
		}
		redraw();
	}
863457
public void setGhostStyleEnabled(boolean enabled) {

        if (enabled) {
            m_textbox.addStyleName(CSS.textboxGhostMode());
        } else {
            m_textbox.removeStyleName(CSS.textboxGhostMode());
        }
    }