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