this.delegate.widgetAttached(); _delegate = null; null if (!this._delegate) this._delegate = this.QueryInterface(Components.interfaces.nsIXFormsDelegate); return this._delegate; var value = this.delegate.value; return value != null ? value : ""; return true; return true; return false; document.getAnonymousElementByAttribute(this, "anonid", "content").textContent = this.stringValue; return true; var anoncontent = document.getAnonymousElementByAttribute(this, "anonid", "anoncontent"); if (this.delegate.hasBoundNode) { anoncontent.setAttribute("style", "display:none"); } else { anoncontent.removeAttribute("style"); } document.getAnonymousElementByAttribute(this, "anonid", "content").textContent = this.stringValue; return true; null if (!this._inputField) { this._inputField = document.getAnonymousElementByAttribute(this, "anonid", "control"); } return this._inputField; if (this.getAttribute("incremental") == "true") { this.delegate.value = this.inputField.value; } return true; this.inputField.value = this.stringValue; if (this.delegate.isReadonly) { this.inputField.setAttribute("readonly", "readonly"); } else { this.inputField.removeAttribute("readonly"); } return true; this.inputField.focus(); return true; this.inputField.setAttribute("type","checkbox"); var value = this.stringValue; if (value == "true" || value == "1") { this.inputField.setAttribute("checked", "checked"); } else { this.inputField.removeAttribute("checked"); } this.inputField.value = value; if (this.delegate.isReadonly) { this.inputField.setAttribute("readonly", "readonly"); } else { this.inputField.removeAttribute("readonly"); } return true; if (this.getAttribute("incremental") != "false") { if (this.inputField.checked) { this.delegate.value = "true"; } else { this.delegate.value = "false"; } } this.inputField.setAttribute("type","password"); this.inputField.value = this.stringValue; this.inputField.readonly = this.delegate.isReadonly; return true; var control = document.getAnonymousElementByAttribute(this, "anonid", "control"); control.readonly = this.delegate.isReadonly; control.value = this.stringValue; return true; if (this.getAttribute("incremental") == "true") { this.delegate.value = this.value; } return true; document.getAnonymousElementByAttribute(this, "anonid", "control").focus(); return true; var ev = document.createEvent("UIEvents"); ev.initUIEvent("DOMActivate", true, true, window, 1); this.dispatchEvent(ev); return true; var control = document.getAnonymousElementByAttribute(this, "anonid", "thebutton"); if (aDisable) { control.setAttribute("disabled", "disabled"); } else { control.removeAttribute("disabled"); } document.getAnonymousElementByAttribute(this, "anonid", "thebutton").focus(); return true; false this._disabled = aDisable; document.getAnonymousElementByAttribute(this, "anonid", "thespan").focus(); return true;