(function(){JUI.Class("Component",{OPTS:{renderId:null,autoRender:true,autoHide:false,position:"static",zindex:0},init:function(a){this._super(a);this.id=JUI.getId();if(this.opts.autoRender){this.render()}},render:function(){this.beforeRender();var a=this.getViewClass();this.view=new a(this);this.view.render();this.afterRender()},beforeRender:function(){},afterRender:function(){},setNextDo:function(a){a.call(this)},getViewClass:function(){alert("类"+this.getClassName()+"必须重写Component.getViewClass()")},getView:function(){return this.view},show:function(){this.view.show()},hide:function(){this.view.hide()}},JUI.Common)})();