rem: var font; if (focusState) { font = this.component.getRenderProperty("focusedFont"); } if (!font) { font = this.component.getRenderProperty("font"); } if (font) { EchoRender.Property.Font.render(font, this._divElement); } else { EchoRender.Property.Font.clear(this._divElement); } EchoRender.Property.Color.renderComponentProperty(this.component, bgProperty, null, this._divElement, "background"); EchoRender.Property.Color.renderComponentProperty(this.component, fgProperty, null, this._divElement, "color");  
add: EchoRender.Property.Color.renderClear(foreground, this._divElement, "color"); EchoRender.Property.Color.renderClear(background, this._divElement, "backgroundColor"); EchoRender.Property.FillImage.renderClear(backgroundImage, this._divElement, "backgroundColor"); EchoRender.Property.Font.renderClear(font, this._divElement); EchoRender.Property.Border.renderClear(border, this._divElement);  
context: EchoRender.ComponentSync.Button.prototype._setFocusState = function(focusState) {    if (!this.component.getRenderProperty("focusedEnabled")) {    	return;    }    var bgProperty = focusState ? "focusedBackground" : "background";    var fgProperty = focusState ? "focusedForeground" : "foreground";        var font;    if (focusState) {    	font = this.component.getRenderProperty("focusedFont");    }    if (!font) {    	font = this.component.getRenderProperty("font");    }    if (font) {	    EchoRender.Property.Font.render(font, this._divElement);    } else {	    EchoRender.Property.Font.clear(this._divElement);    }    EchoRender.Property.Color.renderComponentProperty(this.component, bgProperty, null, this._divElement, "background");    EchoRender.Property.Color.renderComponentProperty(this.component, fgProperty, null, this._divElement, "color");        if (this._iconElement) {	    var icon = this.component.getRenderProperty(focusState ? "focusedIcon" : "icon");	    if (icon) {		    this._iconElement.src = icon.url;	    }    }};
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/ca87f586b9cc0319b28ef13052df9f0f18ef74cd/Render.Button.js/buggy/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/Render.Button.js