Extjs 4.0 Window

时间:2022-06-25 02:27:41

1、JSON代码

Ext.MyWindow=Ext.extend(Ext.Window ,{
xtype:"window",
	title:"我的窗口",
	width:710,
	height:401,
	autoHeight:false,
	autoScroll:true,
	disabled:false,
	hidden:true,
	stateful:true,
	autoDestroy:true,
	hideBorders:true,
	bodyBorder:true,
	border:true,
	collapsible:true,
	footer:true,
	hideCollapseTool:true,
	titleCollapse:true,
	constrain:true,
	constrainHeader:true,
	maximizable:true,
	minimizable:true,
	modal:true,
	plain:false,
	initComponent: function(){
		Ext.MyWindow.superclass.initComponent.call(this);
	}
})

2、结果

Extjs 4.0 Window