Sets the style, which should be used to display the bottom sheet's items.

@param style
The style, which should be set, as a value of the enum {@link Style}. The style may
either be <code>LIST</code>, <code>LIST_COLUMNS</code> or <code>GRID</code>
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();
    }
916492
def set_style(self, style):
        
        if style is not None:
            try:
                self.style.update(style)
            except ValueError:
                for s in style.split(';'):
                    k, v = s.split(':', 1)
                    self.style[k.strip()] = v.strip()
552736
@Override
	public void setStyleName(String styleName) {
		super.setStyleName(styleName);
		for (RibbonGroup group : groups) {
			group.asWidget().setStyleName(getStyleName() + "Group");
		}
	}
445619
public void setText (int row, int column, Object text, int colSpan, String... styles)
    {
        setText(row, column, String.valueOf(text));
        if (colSpan > 0) {
            getFlexCellFormatter().setColSpan(row, column, colSpan);
        }
        setStyleNames(row, column, styles);
    }
832237
public void styleChannel(String channel, Style style){
    if(this.channelStyles == null){
      this.channelStyles = new HashMap<String,Style>();
    }
    this.channelStyles.put(channel.toLowerCase(),style);
  }
624791
public void addChildCellStyle(final TableCellStyle style, final TableCell.Type type) {
        this.contentElement.addChildCellStyle(style, type);
    }
1215936
public void setStyleClass(java.lang.String styleClass) {
        getStateHelper().put(PropertyKeys.styleClass, styleClass);
    }
917588
public void add(T style)
    {
        Integer cnt = styles.get(style);
        if (cnt == null)
            styles.put(style, 1);
        else
            styles.put(style, cnt+1);
    }
1166560
private void setSeriesStyles() {

    SeriesColorMarkerLineStyleCycler seriesColorMarkerLineStyleCycler =
        new SeriesColorMarkerLineStyleCycler(
            getStyler().getSeriesColors(),
            getStyler().getSeriesMarkers(),
            getStyler().getSeriesLines());
    for (OHLCSeries series : getSeriesMap().values()) {

      SeriesColorMarkerLineStyle seriesColorMarkerLineStyle =
          seriesColorMarkerLineStyleCycler.getNextSeriesColorMarkerLineStyle();

      if (series.getLineStyle() == null) { // wasn't set manually
        series.setLineStyle(seriesColorMarkerLineStyle.getStroke());
      }
      if (series.getLineColor() == null) { // wasn't set manually
        series.setLineColor(seriesColorMarkerLineStyle.getColor());
      }
      if (series.getFillColor() == null) { // wasn't set manually
        series.setFillColor(seriesColorMarkerLineStyle.getColor());
      }
      if (series.getUpColor() == null) { // wasn't set manually
        series.setUpColor(Color.GREEN);
      }
      if (series.getDownColor() == null) { // wasn't set manually
        series.setDownColor(Color.RED);
      }
    }
  }
125160
def SetFillStyle(self, style):
        
        self._fillstyle = FillStyle(style)
        if isinstance(self, ROOT.TAttFill):
            ROOT.TAttFill.SetFillStyle(self, self._fillstyle('root'))
465287
public void add(SeqPattern style) {
    style.setGenerator(this);
    patterns.put(style.getLevel(), style);
  }
1139034
public void setOutputStyle(final String outputStyle) {
        if (outputStyle == null && this.outputStyle == null) {
            return;
        } else if (outputStyle == null) {
            removeChild(this.outputStyle);
            this.outputStyle = null;
        } else if (this.outputStyle == null) {
            this.outputStyle = new KeyValueNode<String>(CSConstants.OUTPUT_STYLE_TITLE, outputStyle);
            appendChild(this.outputStyle, false);
        } else {
            this.outputStyle.setValue(outputStyle);
        }
    }
471739
public JFreeChartRender setStyle(int style) {
        switch (style) {
            case JFreeChartRender.STYLE_THESIS:
                return this.setBaseShapesVisible(true).
                        setBaseShapesFilled(false).
                        setBaseLinesVisible(false).
                        setLegendItemFont(new Font("Dialog", Font.PLAIN, 9)).
                        setBackgroundPaint(Color.white).
                        setGridPaint(Color.gray).
                        setInsertLast(false).
                        removeLegend();
            case JFreeChartRender.STYLE_THESIS_LEGEND:
                return this.setBaseShapesVisible(true).
                        setBaseShapesFilled(false).
                        setBaseLinesVisible(false).
                        setLegendItemFont(new Font("Dialog", Font.PLAIN, 9)).
                        setBackgroundPaint(Color.white).
                        setGridPaint(Color.gray).
                        setInsertLast(false);
            default:
                return this;
        }
    }
109450
public void setLeafStyle(boolean isLeaf) {

        if (isLeaf) {
            m_leafStyleVar.setValue(CSS.listTreeItemLeaf());
        } else {
            m_leafStyleVar.setValue(CSS.listTreeItemInternal());
        }
    }
608166
public void setValue(String newStyle) {

        for (UIObject ui : m_uis) {
            if (m_style != null) {
                ui.removeStyleName(m_style);
            }
            if (newStyle != null) {
                ui.addStyleName(newStyle);
            }
        }
        m_style = newStyle;
    }
310582
public static boolean setStyle(MarkerOptions markerOptions, StyleRow style) {

        boolean styleSet = false;

        if (style != null) {
            Color color = style.getColorOrDefault();
            float hue = color.getHue();
            markerOptions.icon(BitmapDescriptorFactory.defaultMarker(hue));
            styleSet = true;
        }

        return styleSet;
    }
1270095
public void setStylesheet(FileResource stylesheet) {
        this.log("Setting custom stylesheet " + stylesheet.toString(), LogLevel.DEBUG.getLevel());
        this.stylesheet = stylesheet;
    }