public void setMold(String mold) { if (mold != null && (DEFAULT.equals(mold) || mold.length() == 0)) mold = null; if (!Objects.equals(_auxinf != null ? _auxinf.mold : DEFAULT, mold)) { if (!_def.hasMold(mold != null ? mold : DEFAULT)) throw new UiException("Unknown mold: " + mold + "; allowed: " + _def.getMoldNames()); final String oldtype = getWidgetClass(); initAuxInfo().mold = mold; if (Objects.equals(oldtype, getWidgetClass())) smartUpdate("mold", getMold()); else invalidate(); } }
final String wgtcls = getWidgetClass(); if (wgtcls == null) throw new UiException("Widget class required for " + this + " with " + getMold());
if ((flags & CE_IMPORTANT) != 0) { if (shallHandleImportant == null) shallHandleImportant = Boolean.valueOf(Utils.markClientInfoPerDesktop(desktop, getWidgetClass())); if (shallHandleImportant.booleanValue()) renderer.render("$$" + evtnm, (flags & CE_NON_DEFERRABLE) != 0);