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