(function(){JUI.Class("Win",{OPTS:{contentId:null,url:null,remote:false,lazyLoad:true,title:"",closable:true,draggable:true,modal:true,shadow:true,autoHide:true,maximizable:true,position:"fixed",buttons:[]},init:function(a){this._super(a)},setTitle:function(a){this.view.setTitle(a)},setUrl:function(a){this.view.setUrl(a)},getViewClass:function(){return JUI.WinView},hasBtns:function(){return this.opts.buttons&&this.opts.buttons.length>0},move:function(b,a){this.view.move(b,a)},hide:function(){var a=this.fire("Close");if(a===false){return}this.view.hide();this.fire("AfterClose")},close:function(){this.hide()},max:function(){this.view.max()},normal:function(){this.view.normal()},hideBtn:function(a){this.view.hideBtn(a)},showBtn:function(a){this.view.showBtn(a)}},JUI.Component)})();