protected void onStaticStyleNameChange(boolean force) { if (isAttached() || force) { this.staticClass = CSSUtils.generateStaticStyleName(this, defaultClass); CSSUtils.setStyleName(staticClass, this); } }
public void setDataTheme(DataTheme dataTheme) { this.dataTheme = dataTheme; if (isAttached()) CSSUtils.setStyleName(staticClass, this); }