Creates a new style set which does not contain the specified style.

@param style the style to add
@return a new copy of the style set containing the given style
430134
public WikiFormat removeStyle(WikiStyle style)
    {
        if (!fStyles.contains(style)) {
            return this;
        }
        WikiFormat clone = getClone();
        clone.fStyles.remove(style);
        return clone;
    }
166306
public final void setStyle(@NonNull final Style style) {
        Condition.INSTANCE.ensureNotNull(style, "The style may not be null");
        adapter.setStyle(style);
        adaptRootView();
        adaptTitleView();
        adaptContentView();
        adaptGridViewHeight();
    }
536030
def setStyle(self, style):
        
        self._style = style
        self.setDirty()
        self.update()
343457
public function setStyle($property, $style = null)
    {
        $this->template->del('style');
        $this->addStyle($property, $style);

        return $this;
    }
1327665
def style(self, style):
        
        if style is None:
            self._remove_rStyle()
        elif self.rStyle is None:
            self._add_rStyle(val=style)
        else:
            self.rStyle.val = style
990788
public static MarkerOptions createMarkerOptions(StyleRow style) {

        MarkerOptions markerOptions = new MarkerOptions();
        setStyle(markerOptions, style);

        return markerOptions;
    }
484026
public void setStyle(final TableRowStyle rowStyle) {
        this.stylesContainer.addContentFontFaceContainerStyle(rowStyle);
        this.stylesContainer.addContentStyle(rowStyle);
        this.rowStyle = rowStyle;
    }
1053624
public boolean addContentStyle(final ObjectStyle objectStyle) {
        if (objectStyle.isHidden()) {
            return this.objectStylesContainer
                    .add(objectStyle.getKey(), Dest.CONTENT_AUTOMATIC_STYLES, objectStyle);
        } else {
            return this.objectStylesContainer
                    .add(objectStyle.getKey(), Dest.STYLES_COMMON_STYLES, objectStyle);
        }
    }
566114
public function setStyle($style)
    {
        if (!is_string($style)) {
            $style = json_encode($style);
        }
        $this->entity->setStyle($style);

        return $this;
    }
137806
public ContentChecker newInstance(ValidationContext context, String value, int line,
      boolean isStyleAttribute)
  {
    return new CSSChecker(context, value, line, isStyleAttribute);
  }
1354352
public final T setStyle(String styleAttribute, String styleValue) {

    // Add style to style map
    Map<String, String> styleMap = getStyles();
    styleMap.put(styleAttribute, styleValue);

    // Serialize style string
    StringBuilder styleString = new StringBuilder();
    for (Map.Entry style : styleMap.entrySet()) {
      styleString.append(style.getKey());
      styleString.append(':');
      styleString.append(style.getValue());
      styleString.append(';');
    }
    setStyleString(styleString.toString());
    return (T)this;
  }
1248921
def set_style(self, style):
        
        style = SolarizedStyle  # get_style_by_name(style)
        self._style = style
        self._clear_caches()
748224
public void setStyle(final TableStyle style) {
        this.stylesContainer.addPageStyle(style.getPageStyle());
        this.stylesContainer.addContentStyle(style);
        this.style = style;
    }
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();
        }
    }
616282
public function add(Style $style)
    {
        if (!$style->getTag()) {
            throw new LogicException('The tag of a style added to the style set must be set.');
        }

        $this->styles[$style->getTag()] = $style;
    }
694700
public int getStyle(int styleId, int theme){
        int[] styles = getStyleList(styleId);
        return styles == null ? 0 : styles[theme];
    }
1283646
public void addStyles(HtmlStyle style, StringBuilder vars) {
        vars.append("var ").append(style).append(" = \"").append(style)
                .append("\";").append(DocletConstants.NL);
    }