Set the disabled design

@api
@param string|CheckBoxDesign $style    Style name, image url or checkbox design
@param string                $subStyle SubStyle name
@return static
516752
public function setDisabledDesign($style, $subStyle = null)
    {
        if ($style instanceof CheckBoxDesign) {
            $this->feature->setDisabledDesign($style);
        } else {
            $checkBoxDesign = new CheckBoxDesign($style, $subStyle);
            $this->feature->setDisabledDesign($checkBoxDesign);
        }
        return $this;
    }
699910
public static function addFontStyle($styleName, $styleFont, $styleParagraph = null) {
		if(!array_key_exists($styleName, self::$_styleElements)) {
			$font = new PHPWord_Style_Font('text', $styleParagraph);
			foreach($styleFont as $key => $value) {
				if(substr($key, 0, 1) != '_') {
					$key = '_'.$key;
				}
				$font->setStyleValue($key, $value);
			}
			self::$_styleElements[$styleName] = $font;
		}
	}
49275
public function addStyle(Style $style)
    {
        if (null === $style->getId()) {
            $this->register($style->getFont(), $this->fonts);
            $this->register($style->getFill(), $this->fills);
            $this->register($style->getBorder(), $this->borders);
            $this->register($style, $this->styles);
            $style->lock();
        }
    }
30069
public function setStyles(array $styles)
    {
        $this->styles = [];

        foreach ($styles as $style) {
            $this->addStyle($style);
        }
    }
232826
public void setFatalStyle(java.lang.String fatalStyle) {
        getStateHelper().put(PropertyKeys.fatalStyle, fatalStyle);
    }
1109327
protected function _createSubHeader($subheader = '', $width = [], $level = 0) {
		if (empty($width)) {
			return;
		}

		$this->tcpdf->SetTextColor(0);
		$this->tcpdf->SetDrawColor(128, 0, 0);
		$this->tcpdf->SetLineWidth(0.3);
		if ($level > 3) {
			$level = 3;
		}
		$fontSize = 20 * (1 - $level / 4);

		$this->tcpdf->SetFont('', 'BI', $fontSize);
		$height = $this->_rowHeight['SubHeader'];
		$cells = [];
		$cells[] = [array_sum($width), $height, $subheader, 0, 'L', false, 0, '', '',
			true, 0, false, true, $height, 'M', true];
		$this->_writeMulticells($cells);
	}
718663
public function setBindingStyle($style, $transport)
    {
        $this->bindingStyle['style'] = $style;
        $this->bindingStyle['transport'] = $transport;

        return $this;
    }
725687
public function addStyles(array $styles)
    {
        if (!$this->styleSet) {
            $this->styleSet = new DefaultStyleSet();
        }

        $this->styleSet->merge($styles);

        return $this;
    }
565136
public function delete($imagestyle_id, $check = true)
    {
        $result = null;
        $this->hook->attach('image.style.delete.before', $imagestyle_id, $check, $result, $this);

        if (isset($result)) {
            return (bool) $result;
        }

        if ($check && !$this->canDelete($imagestyle_id)) {
            return false;
        }

        $imagestyles = $this->config->select('imagestyles', array());
        unset($imagestyles[$imagestyle_id]);

        $result = $this->config->set('imagestyles', $imagestyles);
        $this->hook->attach('image.style.delete.after', $imagestyle_id, $check, $result, $this);
        return (bool) $result;
    }
431024
public function applyRule($selector, $style)
    {
        if($selector) {
            $nodes = $this->_getNodesForCssSelector($selector);
            $style = $this->_styleToArray($style);

            foreach($nodes as $node) {
                $current = $node->hasAttribute("style") ?
                    $this->_styleToArray($node->getAttribute("style")) :
                    array();

                $current = $this->_mergeStyles($current, $style);

                $node->setAttribute("style", $this->_arrayToStyle($current));
            }
        }

        return $this;
    }
915010
@Override
    public void setDesignMode(boolean designMode) {
        super.setDesignMode(designMode);

        for (ElementTrigger trigger : triggers) {
            trigger.setDesignMode(designMode);
        }

        setDesignContextMenu(designMode ? DesignContextMenu.getInstance().getMenupopup() : null);
        mask.update();
    }
827601
public function applyStylesheet(\DOMDocument $stylesheet): self
    {
        $this->stylesheets[] = $stylesheet;
        $this->xsltProcessor->importStylesheet($stylesheet);
        return $this;
    }
361854
public function setLayoutDisabled($disabled = true)
    {
        $this->_layoutDisabled = ($disabled === true) ? true : false;
        return $this;
    }
346278
public function set_bottom($style) {
        if ($style == 1) {
            $this->format['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_THIN;
        } else if ($style == 2) {
            $this->format['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_THICK;
        } else {
            $this->format['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_NONE;
        }
    }
131287
public function disableSubmit(bool $disable = true)
    {
        $this->builder()->getFooter()->disableSubmit($disable);

        return $this;
    }
501090
public void setDesignMode(boolean designMode) {
        this.designMode = designMode;
        
        for (ElementBase child : children) {
            child.setDesignMode(designMode);
        }
        
        updateState();
    }
303294
public function setStyle(string $style): Bootstrap3Button
    {
        if (in_array($style, $this->supported_styles) === true) {
            $this->style = $style;
        } else {
            $this->style = 'default';
        }

        return $this;
    }