clear: function (options) {
this.setValue(false, options);
},
- /**
- @todo Document the create method.
- */
- create: function () {
- this.inherited(arguments);
- this.labelChanged();
- },
- disabledChanged: function () {
- this.inherited(arguments);
- this.$.label.addRemoveClass("disabled", this.getDisabled());
- },
- /**
- @todo Document the inputChanged method.
- */
+
inputChanged: function (inSender, inEvent) {
var input = this.$.input.getValue();
this.setValue(input);
},
/**
- @todo Document the labelChanged method.
- */
- labelChanged: function () {
- var label = (this.getLabel() || ("_" + this.attr || "").loc()) + ":";
- this.$.label.setContent(label);
- },
- /**
@todo Document the valueChanged method.
*/
valueChanged: function (value) {