var control = this.ownerDocument.
getAnonymousElementByAttribute(this, 'anonid', 'control');
return {
control: control,
__proto__: control.inputField,
set readonly(val) {
if (val)
this.control.setAttribute("readonly", val);
else
this.control.removeAttribute("readonly");
}
};
if (event.originalTarget == this.control) {
this.dispatchDOMUIEvent("DOMFocusIn");
}
if (event.originalTarget == this.control) {
this.updateInstanceData();
this.dispatchDOMUIEvent("DOMFocusOut");
}
if (event.originalTarget == this.control) {
this.updateInstanceData(true);
}
if (event.originalTarget == this.control) {
this.dispatchDOMUIEvent("DOMActivate");
}
return {
__proto__: this.ownerDocument.
getAnonymousElementByAttribute(this, 'anonid', 'control'),
get value() {
return this.checked;
},
set value(val) {
this.checked = val;
},
set readonly(val) {
this.disabled = val;
}
};
if (event.originalTarget == this.control)
this.updateInstanceData(true);
if (event.originalTarget == this.control) {
this.dispatchDOMUIEvent("DOMFocusIn");
}
if (event.originalTarget == this.control) {
this.updateInstanceData();
this.dispatchDOMUIEvent("DOMFocusOut");
}
return this._isPickerVisible;
if (val)
this.showPicker();
else
this.hidePicker();
return Components.interfaces.nsIAccessibleProvider.XFormsInputDate;
return this.ownerDocument.
getAnonymousElementByAttribute(this, 'anonid', 'control');
var pickerChangeHandler = {
inputControl: this,
handleEvent: function(aEvent) {
if (aEvent.originalTarget == this.inputControl.picker) {
this.inputControl.control.value = this.inputControl.picker.value;
this.inputControl.hidePicker();
}
}
};
this.picker.addEventListener("change", pickerChangeHandler, false);
this.popup.showPopup(this.dropmarker, -1, -1, "popup",
"bottomleft", "topleft");
this._isPickerVisible = true;
this.popup.hidePopup();
this._isPickerVisible = false;
this.ownerDocument.defaultView.setTimeout(
function(control) { control.focus(); }, 0, this.control);
if (!this._isPickerVisible)
this.showPicker();
else
this.hidePicker();
if (!this._dropmarker)
this._dropmarker = this.ownerDocument.
getAnonymousElementByAttribute(this, "anonid", "dropmarker");
return this._dropmarker;
null
if (!this._picker)
this._picker = this.ownerDocument.
getAnonymousElementByAttribute(this, "anonid", "picker");
return this._picker;
null
if (!this._popup)
this._popup = this.ownerDocument.
getAnonymousElementByAttribute(this, "anonid", "popup");
return this._popup;
null
false
if (event.originalTarget == this.dropmarker)
this.showPicker();
this.picker.value = this.control.value;
this.ownerDocument.defaultView.setTimeout(
function(picker) { picker.focus();} , 0, this.picker);
return this.ownerDocument.
getAnonymousElementByAttribute(this, "anonid", "control");
var changeHandler = {
inputControl: this,
handleEvent: function() {
this.inputControl.updateInstanceData(false);
}
};
this.addEventListener("change", changeHandler, false);
if (event.originalTarget == this.control) {
this.dispatchDOMUIEvent("DOMActivate");
}