// super// protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws java.io.IOException { super.renderProperties(renderer); render(renderer, "repeats", _repeats); if (_delay != 0) renderer.render("delay", _delay); if (!_running) renderer.render("running", false); }
protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws java.io.IOException { super.renderProperties(renderer); if (!_btnVisible) renderer.render("buttonVisible", false); if (!_lenient) renderer.render("lenient", false); if (_dtzonesReadonly) renderer.render("timeZonesReadonly", true); if (_dtzones != null) { StringBuffer sb = new StringBuffer(); for (int i = 0; i < _dtzones.size(); i++) { if (i != 0) sb.append(','); TimeZone tz = _dtzones.get(i); sb.append(tz.getID()); } renderer.render("displayedTimeZones", sb.toString()); } render(renderer, "weekOfYear", _weekOfYear); if (_tzone != null) renderer.render("timeZone", _tzone.getID()); renderer.render("localizedFormat", getLocalizedFormat()); String unformater = getUnformater(); if (!Strings.isBlank(unformater)) renderer.render("unformater", unformater); if (_locale != null) renderer.render("localizedSymbols", getRealSymbols(_locale, this)); }
protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws java.io.IOException { super.renderProperties(renderer); if (_panelSpacing != null) render(renderer, "panelSpacing", _panelSpacing); if (!"horizontal".equals(_orient)) render(renderer, "orient", _orient); if (!_tabscroll) renderer.render("tabscroll", _tabscroll); }
// super protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws java.io.IOException { super.renderProperties(renderer); render(renderer, "title", _title); render(renderer, "maximized", _maximized); render(renderer, "maximizable", _maximizable); render(renderer, "minimized", _minimized); render(renderer, "minimizable", _minimizable); render(renderer, "closable", _closable); render(renderer, "sizable", _sizable); render(renderer, "position", _pos); render(renderer, "contentStyle", _cntStyle); render(renderer, "contentSclass", _cntSclass); if (_minheight != 100) renderer.render("minheight", _minheight); if (_minwidth != 200) renderer.render("minwidth", _minwidth); if (!"none".equals(_border)) renderer.render("border", _border); if (!isShadow()) renderer.render("shadow", false); if (_mode != EMBEDDED) renderer.render("mode", modeToString(_mode)); // render mode as the last property }
// super// protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws IOException { super.renderProperties(renderer); int v = getMaxlength(); if (v > 0) renderer.render("maxlength", v); render(renderer, "multiline", isMultiline()); render(renderer, "pre", isPre()); final String val = getValue(); // allow deriving to override getValue() render(renderer, "value", val); org.zkoss.zul.impl.Utils.renderCrawlableText(val); }
// super protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws java.io.IOException { super.renderProperties(renderer); if (!"none".equals(_sortDscNm)) render(renderer, "sortDescending", _sortDscNm); if (!"none".equals(_sortAscNm)) render(renderer, "sortAscending", _sortAscNm); if (!"natural".equals(_sortDir)) render(renderer, "sortDirection", _sortDir); if (_maxlength > 0) renderer.render("maxlength", _maxlength); org.zkoss.zul.impl.Utils.renderCrawlableText(getLabel()); }
// -- super --// protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws java.io.IOException { super.renderProperties(renderer); if (_tabindex != 0) renderer.render("tabindex", _tabindex); if (!"normal".equals(_dir)) render(renderer, "dir", _dir); render(renderer, "disabled", _disabled); final String href; render(renderer, "href", href = getEncodedHref()); render(renderer, "target", _target); org.zkoss.zul.impl.Utils.renderCrawlableA(href, getLabel()); }
protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws IOException { super.renderProperties(renderer); if (_step != 1) renderer.render("step", _step); if (_btnVisible != true) renderer.render("buttonVisible", _btnVisible); }