Lines Matching refs:command_
27 CommandButton.prototype.command_ = null;
46 return this.command_;
55 if (this.command_) {
56 this.command_.removeEventListener('labelChange', this);
57 this.command_.removeEventListener('disabledChange', this);
58 this.command_.removeEventListener('hiddenChange', this);
66 this.command_ = command;
75 this.command_.addEventListener('labelChange', this);
76 this.command_.addEventListener('disabledChange', this);
77 this.command_.addEventListener('hiddenChange', this);
103 if (!this.disabled && this.command_)
104 this.command_.execute(this);
113 if (!this.command_) return;
118 this.command_.execute(this);
130 this.disabled = this.command_.disabled;
133 this.hidden = this.command_.hidden;
136 this.setLabel(this.command_.label);