Ext.data.JsonP.Ext_container_Viewport({"mixins":[],"code_type":"ext_define","inheritable":false,"component":true,"meta":{},"mixedInto":[],"uses":[],"aliases":{"widget":["viewport"]},"parentMixins":["Ext.util.Floating","Ext.util.Observable","Ext.util.Animate","Ext.util.ElementContainer","Ext.util.Renderable","Ext.state.Stateful"],"superclasses":["Ext.Base","Ext.AbstractComponent","Ext.Component","Ext.container.AbstractContainer","Ext.container.Container"],"members":{"event":[{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"activate","id":"event-activate"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"add","id":"event-add"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"added","id":"event-added"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"afterlayout","id":"event-afterlayout"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"afterrender","id":"event-afterrender"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforeactivate","id":"event-beforeactivate"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"beforeadd","id":"event-beforeadd"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforedeactivate","id":"event-beforedeactivate"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforedestroy","id":"event-beforedestroy"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforehide","id":"event-beforehide"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"beforeremove","id":"event-beforeremove"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforerender","id":"event-beforerender"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforeshow","id":"event-beforeshow"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"beforestaterestore","id":"event-beforestaterestore"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"beforestatesave","id":"event-beforestatesave"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"blur","id":"event-blur"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"boxready","id":"event-boxready"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"deactivate","id":"event-deactivate"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"destroy","id":"event-destroy"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"disable","id":"event-disable"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"enable","id":"event-enable"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"focus","id":"event-focus"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"hide","id":"event-hide"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"move","id":"event-move"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"remove","id":"event-remove"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"removed","id":"event-removed"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"render","id":"event-render"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"resize","id":"event-resize"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"show","id":"event-show"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"staterestore","id":"event-staterestore"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"statesave","id":"event-statesave"}],"property":[{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"$className","id":"property-S-className"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"_isLayoutRoot","id":"property-_isLayoutRoot"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"autoGenId","id":"property-autoGenId"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"componentLayoutCounter","id":"property-componentLayoutCounter"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"configMap","id":"property-configMap"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"draggable","id":"property-draggable"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"property","name":"eventsSuspended","id":"property-eventsSuspended"},{"meta":{"readonly":true},"owner":"Ext.Component","tagname":"property","name":"floatParent","id":"property-floatParent"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"frameSize","id":"property-frameSize"},{"meta":{"readonly":true},"owner":"Ext.util.Observable","tagname":"property","name":"hasListeners","id":"property-hasListeners"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"initConfigList","id":"property-initConfigList"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"initConfigMap","id":"property-initConfigMap"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"property","name":"isComponent","id":"property-isComponent"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"isInstance","id":"property-isInstance"},{"meta":{},"owner":"Ext.util.Observable","tagname":"property","name":"isObservable","id":"property-isObservable"},{"meta":{},"owner":"Ext.container.Viewport","tagname":"property","name":"isViewport","id":"property-isViewport"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"property","name":"items","id":"property-items"},{"meta":{"private":true},"owner":"Ext.container.AbstractContainer","tagname":"property","name":"layoutCounter","id":"property-layoutCounter"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"property","name":"maskOnDisable","id":"property-maskOnDisable"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"ownerCt","id":"property-ownerCt"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"rendered","id":"property-rendered"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"property","name":"self","id":"property-self"},{"meta":{"readonly":true},"owner":"Ext.Component","tagname":"property","name":"zIndexManager","id":"property-zIndexManager"},{"meta":{"readonly":true},"owner":"Ext.Component","tagname":"property","name":"zIndexParent","id":"property-zIndexParent"}],"css_var":[],"method":[{"meta":{},"owner":"Ext.Component","tagname":"method","name":"constructor","id":"method-constructor"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"add","id":"method-add"},{"meta":{},"owner":"Ext.util.ElementContainer","tagname":"method","name":"addChildEls","id":"method-addChildEls"},{"meta":{"deprecated":{"text":"Use {@link #addCls} instead.","version":"4.1"}},"owner":"Ext.AbstractComponent","tagname":"method","name":"addClass","id":"method-addClass"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"addCls","id":"method-addCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"addClsWithUI","id":"method-addClsWithUI"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"addEvents","id":"method-addEvents"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"addFocusListener","id":"method-addFocusListener"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"addListener","id":"method-addListener"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"addManagedListener","id":"method-addManagedListener"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"addPropertyToState","id":"method-addPropertyToState"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"addStateEvents","id":"method-addStateEvents"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"addUIClsToElement","id":"method-addUIClsToElement"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"addUIToElement","id":"method-addUIToElement"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"afterComponentLayout","id":"method-afterComponentLayout"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"afterHide","id":"method-afterHide"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"afterLayout","id":"method-afterLayout"},{"meta":{"protected":true,"template":true},"owner":"Ext.util.Renderable","tagname":"method","name":"afterRender","id":"method-afterRender"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"afterSetPosition","id":"method-afterSetPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"afterShow","id":"method-afterShow"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"alignTo","id":"method-alignTo"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"animate","id":"method-animate"},{"meta":{"private":true},"owner":"Ext.util.ElementContainer","tagname":"method","name":"applyChildEls","id":"method-applyChildEls"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"applyRenderSelectors","id":"method-applyRenderSelectors"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"applyState","id":"method-applyState"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeComponentLayout","id":"method-beforeComponentLayout"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeDestroy","id":"method-beforeDestroy"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"beforeLayout","id":"method-beforeLayout"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeSetPosition","id":"method-beforeSetPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"beforeShow","id":"method-beforeShow"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"bubble","id":"method-bubble"},{"meta":{"deprecated":{"text":"as of 4.1. Use {@link #callParent} instead."},"protected":true},"owner":"Ext.Base","tagname":"method","name":"callOverridden","id":"method-callOverridden"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"callParent","id":"method-callParent"},{"meta":{"protected":true},"owner":"Ext.Component","tagname":"method","name":"cancelFocus","id":"method-cancelFocus"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"cancelLayout","id":"method-cancelLayout"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"cascade","id":"method-cascade"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"center","id":"method-center"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"child","id":"method-child"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"clearListeners","id":"method-clearListeners"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"clearManagedListeners","id":"method-clearManagedListeners"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"cloneConfig","id":"method-cloneConfig"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"configClass","id":"method-configClass"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"constructPlugins","id":"method-constructPlugins"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"continueFireEvent","id":"method-continueFireEvent"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"convertPosition","id":"method-convertPosition"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"createRelayer","id":"method-createRelayer"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"destroy","id":"method-destroy"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"disable","id":"method-disable"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"doApplyRenderTpl","id":"method-doApplyRenderTpl"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"doAutoRender","id":"method-doAutoRender"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"doComponentLayout","id":"method-doComponentLayout"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"doConstrain","id":"method-doConstrain"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"doLayout","id":"method-doLayout"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"down","id":"method-down"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"enable","id":"method-enable"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"enableBubble","id":"method-enableBubble"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"ensureAttachedToBody","id":"method-ensureAttachedToBody"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"findParentBy","id":"method-findParentBy"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"findParentByType","id":"method-findParentByType"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"finishRender","id":"method-finishRender"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"fireEvent","id":"method-fireEvent"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"focus","id":"method-focus"},{"meta":{"deprecated":{"text":"Use {@link #updateLayout} instead.","version":"4.1.0"}},"owner":"Ext.AbstractComponent","tagname":"method","name":"forceComponentLayout","id":"method-forceComponentLayout"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"getActiveAnimation","id":"method-getActiveAnimation"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getAutoId","id":"method-getAutoId"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getBox","id":"method-getBox"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"getBubbleParent","id":"method-getBubbleParent"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getBubbleTarget","id":"method-getBubbleTarget"},{"meta":{},"owner":"Ext.container.Container","tagname":"method","name":"getChildByElement","id":"method-getChildByElement"},{"meta":{"private":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"getChildItemsToDisable","id":"method-getChildItemsToDisable"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"getComponent","id":"method-getComponent"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"getConfig","id":"method-getConfig"},{"meta":{"private":true},"owner":"Ext.util.Floating","tagname":"method","name":"getConstrainVector","id":"method-getConstrainVector"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getEl","id":"method-getEl"},{"meta":{"private":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"getFocusEl","id":"method-getFocusEl"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getFrameInfo","id":"method-getFrameInfo"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getFrameTpl","id":"method-getFrameTpl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getHeight","id":"method-getHeight"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getId","id":"method-getId"},{"meta":{},"owner":"Ext.Base","tagname":"method","name":"getInitialConfig","id":"method-getInitialConfig"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"getInsertPosition","id":"method-getInsertPosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getItemId","id":"method-getItemId"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"getLayout","id":"method-getLayout"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getLoader","id":"method-getLoader"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getOverflowStyle","id":"method-getOverflowStyle"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getPlugin","id":"method-getPlugin"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getPosition","id":"method-getPosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getSize","id":"method-getSize"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getSizeModel","id":"method-getSizeModel"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getState","id":"method-getState"},{"meta":{"private":true},"owner":"Ext.state.Stateful","tagname":"method","name":"getStateId","id":"method-getStateId"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getStyleProxy","id":"method-getStyleProxy"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getTargetEl","id":"method-getTargetEl"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getTpl","id":"method-getTpl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getWidth","id":"method-getWidth"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getXType","id":"method-getXType"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getXTypes","id":"method-getXTypes"},{"meta":{"deprecated":{"text":"Replaced by {@link #getActiveAnimation}","version":"4.0"}},"owner":"Ext.util.Animate","tagname":"method","name":"hasActiveFx","id":"method-hasActiveFx"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"hasCls","id":"method-hasCls"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"hasConfig","id":"method-hasConfig"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"hasListener","id":"method-hasListener"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"hasUICls","id":"method-hasUICls"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"hide","id":"method-hide"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"initComponent","id":"method-initComponent"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"initConfig","id":"method-initConfig"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"initFrame","id":"method-initFrame"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"initRenderData","id":"method-initRenderData"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"initRenderTpl","id":"method-initRenderTpl"},{"meta":{"private":true},"owner":"Ext.state.Stateful","tagname":"method","name":"initState","id":"method-initState"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"initStyles","id":"method-initStyles"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"insert","id":"method-insert"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"is","id":"method-is"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"isAncestor","id":"method-isAncestor"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDescendantOf","id":"method-isDescendantOf"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDisabled","id":"method-isDisabled"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDraggable","id":"method-isDraggable"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDroppable","id":"method-isDroppable"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isFloating","id":"method-isFloating"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isHidden","id":"method-isHidden"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"isLayoutRoot","id":"method-isLayoutRoot"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isLayoutSuspended","id":"method-isLayoutSuspended"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isVisible","id":"method-isVisible"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isXType","id":"method-isXType"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"mon","id":"method-mon"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"move","id":"method-move"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"mun","id":"method-mun"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"nextNode","id":"method-nextNode"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"nextSibling","id":"method-nextSibling"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"on","id":"method-on"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"onAdd","id":"method-onAdd"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onAdded","id":"method-onAdded"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"onBeforeAdd","id":"method-onBeforeAdd"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"onConfigUpdate","id":"method-onConfigUpdate"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onDestroy","id":"method-onDestroy"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onDisable","id":"method-onDisable"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onEnable","id":"method-onEnable"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onHide","id":"method-onHide"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onPosition","id":"method-onPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"onRemove","id":"method-onRemove"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onRemoved","id":"method-onRemoved"},{"meta":{"protected":true,"template":true},"owner":"Ext.util.Renderable","tagname":"method","name":"onRender","id":"method-onRender"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onResize","id":"method-onResize"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onShow","id":"method-onShow"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onShowComplete","id":"method-onShowComplete"},{"meta":{"private":true},"owner":"Ext.state.Stateful","tagname":"method","name":"onStateChange","id":"method-onStateChange"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"prepareClass","id":"method-prepareClass"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"previousNode","id":"method-previousNode"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"previousSibling","id":"method-previousSibling"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"query","id":"method-query"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"queryBy","id":"method-queryBy"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"queryById","id":"method-queryById"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"registerFloatingItem","id":"method-registerFloatingItem"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"relayEvents","id":"method-relayEvents"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"remove","id":"method-remove"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"removeAll","id":"method-removeAll"},{"meta":{},"owner":"Ext.util.ElementContainer","tagname":"method","name":"removeChildEls","id":"method-removeChildEls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeCls","id":"method-removeCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeClsWithUI","id":"method-removeClsWithUI"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"removeListener","id":"method-removeListener"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"removeManagedListener","id":"method-removeManagedListener"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"removeManagedListenerItem","id":"method-removeManagedListenerItem"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeUIClsFromElement","id":"method-removeUIClsFromElement"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeUIFromElement","id":"method-removeUIFromElement"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"render","id":"method-render"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"resumeEvents","id":"method-resumeEvents"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"savePropToState","id":"method-savePropToState"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"savePropsToState","id":"method-savePropsToState"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"saveState","id":"method-saveState"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"scrollBy","id":"method-scrollBy"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"sequenceFx","id":"method-sequenceFx"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"setActive","id":"method-setActive"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setAutoScroll","id":"method-setAutoScroll"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setBorder","id":"method-setBorder"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"setConfig","id":"method-setConfig"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setDisabled","id":"method-setDisabled"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setDocked","id":"method-setDocked"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setHeight","id":"method-setHeight"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setLoading","id":"method-setLoading"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setOverflowXY","id":"method-setOverflowXY"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setPagePosition","id":"method-setPagePosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setPosition","id":"method-setPosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setSize","id":"method-setSize"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setUI","id":"method-setUI"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setVisible","id":"method-setVisible"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setWidth","id":"method-setWidth"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"setupFramingTpl","id":"method-setupFramingTpl"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"show","id":"method-show"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"showAt","id":"method-showAt"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"statics","id":"method-statics"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"stopAnimation","id":"method-stopAnimation"},{"meta":{"deprecated":{"text":"Replaced by {@link #stopAnimation}","version":"4.0"}},"owner":"Ext.util.Animate","tagname":"method","name":"stopFx","id":"method-stopFx"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"suspendEvents","id":"method-suspendEvents"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"syncFx","id":"method-syncFx"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"toBack","id":"method-toBack"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"toFront","id":"method-toFront"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"un","id":"method-un"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"up","id":"method-up"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"update","id":"method-update"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"updateAria","id":"method-updateAria"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"updateBox","id":"method-updateBox"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"updateLayout","id":"method-updateLayout"}],"css_mixin":[{"meta":{},"owner":"Ext.container.Viewport","tagname":"css_mixin","name":"extjs-viewport","id":"css_mixin-extjs-viewport"}],"cfg":[{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"activeItem","id":"cfg-activeItem"},{"meta":{"private":true},"owner":"Ext.container.Viewport","tagname":"cfg","name":"allowDomMove","id":"cfg-allowDomMove"},{"meta":{},"owner":"Ext.container.Container","tagname":"cfg","name":"anchorSize","id":"cfg-anchorSize"},{"meta":{"private":true},"owner":"Ext.container.Viewport","tagname":"cfg","name":"applyTo","id":"cfg-applyTo"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"autoDestroy","id":"cfg-autoDestroy"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoEl","id":"cfg-autoEl"},{"meta":{"deprecated":{"text":"Use {@link #loader} config instead.","version":"4.1.1"}},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoLoad","id":"cfg-autoLoad"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoRender","id":"cfg-autoRender"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"autoScroll","id":"cfg-autoScroll"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoShow","id":"cfg-autoShow"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"baseCls","id":"cfg-baseCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"border","id":"cfg-border"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"bubbleEvents","id":"cfg-bubbleEvents"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"childEls","id":"cfg-childEls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"cls","id":"cfg-cls"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"columnWidth","id":"cfg-columnWidth"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"componentCls","id":"cfg-componentCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"componentLayout","id":"cfg-componentLayout"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"contentEl","id":"cfg-contentEl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"data","id":"cfg-data"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"defaultType","id":"cfg-defaultType"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"defaults","id":"cfg-defaults"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"detachOnRemove","id":"cfg-detachOnRemove"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"disabled","id":"cfg-disabled"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"disabledCls","id":"cfg-disabledCls"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"draggable","id":"cfg-draggable"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"floating","id":"cfg-floating"},{"meta":{},"owner":"Ext.util.Floating","tagname":"cfg","name":"focusOnToFront","id":"cfg-focusOnToFront"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"formBind","id":"cfg-formBind"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"frame","id":"cfg-frame"},{"meta":{"private":true},"owner":"Ext.container.Viewport","tagname":"cfg","name":"height","id":"cfg-height"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"hidden","id":"cfg-hidden"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"hideMode","id":"cfg-hideMode"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"html","id":"cfg-html"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"id","id":"cfg-id"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"itemId","id":"cfg-itemId"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"items","id":"cfg-items"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"layout","id":"cfg-layout"},{"meta":{},"owner":"Ext.util.Observable","tagname":"cfg","name":"listeners","id":"cfg-listeners"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"loader","id":"cfg-loader"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"margin","id":"cfg-margin"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"maxHeight","id":"cfg-maxHeight"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"maxWidth","id":"cfg-maxWidth"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"minHeight","id":"cfg-minHeight"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"minWidth","id":"cfg-minWidth"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"overCls","id":"cfg-overCls"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"overflowX","id":"cfg-overflowX"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"overflowY","id":"cfg-overflowY"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"padding","id":"cfg-padding"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"plugins","id":"cfg-plugins"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"region","id":"cfg-region"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"renderData","id":"cfg-renderData"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"renderSelectors","id":"cfg-renderSelectors"},{"meta":{"private":true},"owner":"Ext.container.Viewport","tagname":"cfg","name":"renderTo","id":"cfg-renderTo"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"renderTpl","id":"cfg-renderTpl"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"resizable","id":"cfg-resizable"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"resizeHandles","id":"cfg-resizeHandles"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"saveDelay","id":"cfg-saveDelay"},{"meta":{},"owner":"Ext.util.Floating","tagname":"cfg","name":"shadow","id":"cfg-shadow"},{"meta":{},"owner":"Ext.util.Floating","tagname":"cfg","name":"shadowOffset","id":"cfg-shadowOffset"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"shrinkWrap","id":"cfg-shrinkWrap"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateEvents","id":"cfg-stateEvents"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateId","id":"cfg-stateId"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateful","id":"cfg-stateful"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"style","id":"cfg-style"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"styleHtmlCls","id":"cfg-styleHtmlCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"styleHtmlContent","id":"cfg-styleHtmlContent"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"suspendLayout","id":"cfg-suspendLayout"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"toFrontOnShow","id":"cfg-toFrontOnShow"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"tpl","id":"cfg-tpl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"tplWriteMode","id":"cfg-tplWriteMode"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"ui","id":"cfg-ui"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"uiCls","id":"cfg-uiCls"},{"meta":{"private":true},"owner":"Ext.container.Viewport","tagname":"cfg","name":"width","id":"cfg-width"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"xtype","id":"cfg-xtype"}]},"tagname":"class","extends":"Ext.container.Container","html":"

Alternate names

Ext.Viewport

Hierarchy

Inherited mixins

Requires

Files

A specialized container representing the viewable application area (the browser viewport).

\n\n

The Viewport renders itself to the document body, and automatically sizes itself to the size of\nthe browser viewport and manages window resizing. There may only be one Viewport created\nin a page.

\n\n

Like any Container, a Viewport will only perform sizing and positioning\non its child Components if you configure it with a layout.

\n\n

A Common layout used with Viewports is border layout, but if the\nrequired layout is simpler, a different layout should be chosen.

\n\n

For example, to simply make a single child item occupy all available space, use\nfit layout.

\n\n

To display one \"active\" item at full size from a choice of several child items, use\ncard layout.

\n\n

Inner layouts are available because all Panels\nadded to the Viewport, either through its items, or the add\nmethod of any of its child Panels may themselves have a layout.

\n\n

The Viewport does not provide scrolling, so child Panels within the Viewport should provide\nfor scrolling if needed using the autoScroll config.

\n\n

An example showing a classic application border layout:

\n\n
Ext.create('Ext.container.Viewport', {\n    layout: 'border',\n    items: [{\n        region: 'north',\n        html: '<h1 class=\"x-panel-header\">Page Title</h1>',\n        border: false,\n        margins: '0 0 5 0'\n    }, {\n        region: 'west',\n        collapsible: true,\n        title: 'Navigation',\n        width: 150\n        // could use a TreePanel or AccordionLayout for navigational items\n    }, {\n        region: 'south',\n        title: 'South Panel',\n        collapsible: true,\n        html: 'Information goes here',\n        split: true,\n        height: 100,\n        minHeight: 100\n    }, {\n        region: 'east',\n        title: 'East Panel',\n        collapsible: true,\n        split: true,\n        width: 150\n    }, {\n        region: 'center',\n        xtype: 'tabpanel', // TabPanel itself has no title\n        activeTab: 0,      // First tab active by default\n        items: {\n            title: 'Default Tab',\n            html: 'The first tab\\'s content. Others may be added dynamically'\n        }\n    }]\n});\n
\n
Defined By

Config options

A string component id or the numeric index of the component that should be\ninitially activated within the container's...

A string component id or the numeric index of the component that should be\ninitially activated within the container's layout on render. For example,\nactiveItem: 'item-1' or activeItem: 0 (index 0 = the first item in the\ncontainer's collection). activeItem only applies to layout styles that can\ndisplay items one at a time (like Ext.layout.container.Card and\nExt.layout.container.Fit).

\n
Ext.container.Viewport
view source
allowDomMove : Booleanprivate
\n
\n
Defines the anchoring size of container. ...

Defines the anchoring size of container.\nEither a number to define the width of the container or an object with width and height fields.

\n
Ext.container.Viewport
view source
applyTo : String/HTMLElement/Ext.Elementprivate
\n
\n
If true the container will automatically destroy any contained component that is removed\nfrom it, else destruction mu...

If true the container will automatically destroy any contained component that is removed\nfrom it, else destruction must be handled manually.

\n

Defaults to: true

A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component. ...

A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component.

\n\n

You do not normally need to specify this. For the base classes Ext.Component and\nExt.container.Container, this defaults to 'div'. The more complex Sencha classes use a more\ncomplex DOM structure specified by their own renderTpls.

\n\n

This is intended to allow the developer to create application-specific utility Components encapsulated by\ndifferent DOM elements. Example usage:

\n\n
{\n    xtype: 'component',\n    autoEl: {\n        tag: 'img',\n        src: 'http://www.example.com/example.jpg'\n    }\n}, {\n    xtype: 'component',\n    autoEl: {\n        tag: 'blockquote',\n        html: 'autoEl is cool!'\n    }\n}, {\n    xtype: 'container',\n    autoEl: 'ul',\n    cls: 'ux-unordered-list',\n    items: {\n        xtype: 'component',\n        autoEl: 'li',\n        html: 'First list item'\n    }\n}\n
\n
An alias for loader config which also allows to specify just a string which will be\nused as the url that's automatica...

An alias for loader config which also allows to specify just a string which will be\nused as the url that's automatically loaded:

\n\n
Ext.create('Ext.Component', {\n    autoLoad: 'content.html',\n    renderTo: Ext.getBody()\n});\n
\n\n

The above is the same as:

\n\n
Ext.create('Ext.Component', {\n    loader: {\n        url: 'content.html',\n        autoLoad: true\n    },\n    renderTo: Ext.getBody()\n});\n
\n\n

Don't use it together with loader config.

\n
\n

This cfg has been deprecated since 4.1.1

\n

Use loader config instead.

\n\n
\n
This config is intended mainly for non-floating Components which may or may not be shown. ...

This config is intended mainly for non-floating Components which may or may not be shown. Instead of using\nrenderTo in the configuration, and rendering upon construction, this allows a Component to render itself\nupon first show. If floating is true, the value of this config is omited as if it is true.

\n\n

Specify as true to have this Component render to the document body upon first show.

\n\n

Specify as an element, or the ID of an element to have this Component render to a specific element upon first\nshow.

\n

Defaults to: false

true to use overflow:'auto' on the components layout element and show scroll bars automatically when necessary,\nfalse...

true to use overflow:'auto' on the components layout element and show scroll bars automatically when necessary,\nfalse to clip any overflowing content.\nThis should not be combined with overflowX or overflowY.

\n

Defaults to: false

True to automatically show the component upon creation. ...

True to automatically show the component upon creation. This config option may only be used for\nfloating components or components that use autoRender. Defaults to false.

\n

Defaults to: false

The base CSS class to apply to this components's element. ...

The base CSS class to apply to this components's element. This will also be prepended to elements within this\ncomponent like Panel's body will get a class x-panel-body. This means that if you create a subclass of Panel, and\nyou want it to get all the Panels styling for the element and the body, you leave the baseCls x-panel and use\ncomponentCls to add specific styling for this component.

\n

Defaults to: "x-component"

Specifies the border size for this component. ...

Specifies the border size for this component. The border can be a single numeric value to apply to all sides or it can\nbe a CSS style specification for each style, for example: '10 5 3 10'.

\n\n

For components that have no border by default, setting this won't make the border appear by itself.\nYou also need to specify border color and style:

\n\n
border: 5,\nstyle: {\n    borderColor: 'red',\n    borderStyle: 'solid'\n}\n
\n\n

To turn off the border, use border: false.

\n
An array of events that, when fired, should be bubbled to any parent container. ...

An array of events that, when fired, should be bubbled to any parent container.\nSee Ext.util.Observable.enableBubble.

\n

Defaults to: ["add", "remove"]

An array describing the child elements of the Component. ...

An array describing the child elements of the Component. Each member of the array\nis an object with these properties:

\n\n
    \n
  • name - The property name on the Component for the child element.
  • \n
  • itemId - The id to combine with the Component's id that is the id of the child element.
  • \n
  • id - The id of the child element.
  • \n
\n\n\n

If the array member is a string, it is equivalent to { name: m, itemId: m }.

\n\n

For example, a Component which renders a title and body text:

\n\n
Ext.create('Ext.Component', {\n    renderTo: Ext.getBody(),\n    renderTpl: [\n        '<h1 id=\"{id}-title\">{title}</h1>',\n        '<p>{msg}</p>',\n    ],\n    renderData: {\n        title: \"Error\",\n        msg: \"Something went wrong\"\n    },\n    childEls: [\"title\"],\n    listeners: {\n        afterrender: function(cmp){\n            // After rendering the component will have a title property\n            cmp.title.setStyle({color: \"red\"});\n        }\n    }\n});\n
\n\n

A more flexible, but somewhat slower, approach is renderSelectors.

\n
An optional extra CSS class that will be added to this component's Element. ...

An optional extra CSS class that will be added to this component's Element. This can be useful\nfor adding customized styles to the component or any of its children using standard CSS rules.

\n

Defaults to: ""

Defines the column width inside column layout. ...

Defines the column width inside column layout.

\n\n

Can be specified as a number or as a percentage.

\n

CSS Class to be added to a components root level element to give distinction to it via styling.

\n

CSS Class to be added to a components root level element to give distinction to it via styling.

\n
The sizing and positioning of a Component's internal Elements is the responsibility of the Component's layout\nmanager...

The sizing and positioning of a Component's internal Elements is the responsibility of the Component's layout\nmanager which sizes a Component's internal structure in response to the Component being sized.

\n\n

Generally, developers will not use this configuration as all provided Components which need their internal\nelements sizing (Such as input fields) come with their own componentLayout managers.

\n\n

The default layout manager will be used on instances of the base Ext.Component\nclass which simply sizes the Component's encapsulating element to the height and width specified in the\nsetSize method.

\n
Specify an existing HTML element, or the id of an existing HTML element to use as the content for this component. ...

Specify an existing HTML element, or the id of an existing HTML element to use as the content for this component.

\n\n

This config option is used to take an existing HTML element and place it in the layout element of a new component\n(it simply moves the specified DOM element after the Component is rendered to use as the content.

\n\n

Notes:

\n\n

The specified HTML element is appended to the layout element of the component after any configured\nHTML has been inserted, and so the document will not contain this element at the time\nthe render event is fired.

\n\n

The specified HTML element used will not participate in any layout\nscheme that the Component may use. It is just HTML. Layouts operate on child\nitems.

\n\n

Add either the x-hidden or the x-hide-display CSS class to prevent a brief flicker of the content before it\nis rendered to the panel.

\n

The initial set of data to apply to the tpl to update the content area of the Component.

\n

The initial set of data to apply to the tpl to update the content area of the Component.

\n
The default xtype of child Components to create in this Container when\na child item is specified as a raw configurati...

The default xtype of child Components to create in this Container when\na child item is specified as a raw configuration object, rather than as an instantiated Component.

\n

Defaults to: "panel"

This option is a means of applying default settings to all added items whether added\nthrough the items config or via ...

This option is a means of applying default settings to all added items whether added\nthrough the items config or via the add or insert methods.

\n\n

Defaults are applied to both config objects and instantiated components conditionally\nso as not to override existing properties in the item (see Ext.applyIf).

\n\n

If the defaults option is specified as a function, then the function will be called\nusing this Container as the scope (this reference) and passing the added item as\nthe first parameter. Any resulting object from that call is then applied to the item\nas default properties.

\n\n

For example, to automatically apply padding to the body of each of a set of\ncontained Ext.panel.Panel items, you could pass:\ndefaults: {bodyStyle:'padding:15px'}.

\n\n

Usage:

\n\n
defaults: { // defaults are applied to items, not the container\n    autoScroll: true\n},\nitems: [\n    // default will not be applied here, panel1 will be autoScroll: false\n    {\n        xtype: 'panel',\n        id: 'panel1',\n        autoScroll: false\n    },\n    // this component will have autoScroll: true\n    new Ext.panel.Panel({\n        id: 'panel2'\n    })\n]\n
\n
True to move any component to the detachedBody when the component is\nremoved from this container. ...

True to move any component to the detachedBody when the component is\nremoved from this container. This option is only applicable when the component is not destroyed while\nbeing removed, see autoDestroy and remove. If this option is set to false, the DOM\nof the component will remain in the current place until it is explicitly moved.

\n

Defaults to: true

True to disable the component. ...

True to disable the component.

\n

Defaults to: false

CSS class to add when the Component is disabled. ...

CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.

\n

Defaults to: "x-item-disabled"

Specify as true to make a floating Component draggable using the Component's encapsulating element as\nthe drag handle. ...

Specify as true to make a floating Component draggable using the Component's encapsulating element as\nthe drag handle.

\n\n

This may also be specified as a config object for the ComponentDragger which is\ninstantiated to perform dragging.

\n\n

For example to create a Component which may only be dragged around using a certain internal element as the drag\nhandle, use the delegate option:

\n\n
new Ext.Component({\n    constrain: true,\n    floating: true,\n    style: {\n        backgroundColor: '#fff',\n        border: '1px solid black'\n    },\n    html: '<h1 style=\"cursor:move\">The title</h1><p>The content</p>',\n    draggable: {\n        delegate: 'h1'\n    }\n}).show();\n
\n

Defaults to: false

Overrides: Ext.AbstractComponent.draggable

Specify as true to float the Component outside of the document flow using CSS absolute positioning. ...

Specify as true to float the Component outside of the document flow using CSS absolute positioning.

\n\n

Components such as Windows and Menus are floating by default.

\n\n

Floating Components that are programatically rendered will register\nthemselves with the global ZIndexManager

\n\n

Floating Components as child items of a Container

\n\n

A floating Component may be used as a child item of a Container. This just allows the floating Component to seek\na ZIndexManager by examining the ownerCt chain.

\n\n

When configured as floating, Components acquire, at render time, a ZIndexManager which\nmanages a stack of related floating Components. The ZIndexManager brings a single floating Component to the top\nof its stack when the Component's toFront method is called.

\n\n

The ZIndexManager is found by traversing up the ownerCt chain to find an ancestor which itself is\nfloating. This is so that descendant floating Components of floating Containers (Such as a ComboBox dropdown\nwithin a Window) can have its zIndex managed relative to any siblings, but always above that floating\nancestor Container.

\n\n

If no floating ancestor is found, a floating Component registers itself with the default ZIndexManager.

\n\n

Floating components do not participate in the Container's layout. Because of this, they are not rendered until\nyou explicitly show them.

\n\n

After rendering, the ownerCt reference is deleted, and the floatParent property is set to the found\nfloating ancestor Container. If no floating ancestor Container was found the floatParent property will\nnot be set.

\n

Defaults to: false

Overrides: Ext.AbstractComponent.floating

Specifies whether the floated component should be automatically focused when\nit is brought to the front. ...

Specifies whether the floated component should be automatically focused when\nit is brought to the front.

\n

Defaults to: true

When inside FormPanel, any component configured with formBind: true will\nbe enabled/disabled depending on the validit...

When inside FormPanel, any component configured with formBind: true will\nbe enabled/disabled depending on the validity state of the form.\nSee Ext.form.Panel for more information and example.

\n

Defaults to: false

Specify as true to have the Component inject framing elements within the Component at render time to provide a\ngraphi...

Specify as true to have the Component inject framing elements within the Component at render time to provide a\ngraphical rounded frame around the Component content.

\n\n

This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet\nExplorer prior to version 9 which do not support rounded corners natively.

\n\n

The extra space taken up by this framing is available from the read only property frameSize.

\n
Ext.container.Viewport
view source
height : Numberprivate

Sets itself to viewport width.

\n

Sets itself to viewport width.

\n

Overrides: Ext.AbstractComponent.height

True to hide the component. ...

True to hide the component.

\n

Defaults to: false

A String which specifies how this Component's encapsulating DOM element will be hidden. ...

A String which specifies how this Component's encapsulating DOM element will be hidden. Values may be:

\n\n
    \n
  • 'display' : The Component will be hidden using the display: none style.
  • \n
  • 'visibility' : The Component will be hidden using the visibility: hidden style.
  • \n
  • 'offsets' : The Component will be hidden by absolutely positioning it out of the visible area of the document.\nThis is useful when a hidden Component must maintain measurable dimensions. Hiding using display results in a\nComponent having zero dimensions.
  • \n
\n\n

Defaults to: "display"

An HTML fragment, or a DomHelper specification to use as the layout element content. ...

An HTML fragment, or a DomHelper specification to use as the layout element content.\nThe HTML content is added after the component is rendered, so the document will not contain this HTML at the time\nthe render event is fired. This content is inserted into the body before any configured contentEl\nis appended.

\n

Defaults to: ""

The unique id of this component instance. ...

The unique id of this component instance.

\n\n

It should not be necessary to use this configuration except for singleton objects in your application. Components\ncreated with an id may be accessed globally using Ext.getCmp.

\n\n

Instead of using assigned ids, use the itemId config, and ComponentQuery\nwhich provides selector-based searching for Sencha Components analogous to DOM querying. The Container class contains shortcut methods to query\nits descendant Components by selector.

\n\n

Note that this id will also be used as the element id for the containing HTML element that is rendered to the\npage for this component. This allows you to write id-based CSS rules to style the specific instance of this\ncomponent uniquely, and also to select sub-elements using this component's id as the parent.

\n\n

Note: to avoid complications imposed by a unique id also see itemId.

\n\n

Note: to access the container of a Component see ownerCt.

\n\n

Defaults to an auto-assigned id.

\n
An itemId can be used as an alternative way to get a reference to a component when no object reference is\navailable. ...

An itemId can be used as an alternative way to get a reference to a component when no object reference is\navailable. Instead of using an id with Ext.getCmp, use itemId with\nExt.container.Container.getComponent which will retrieve\nitemId's or id's. Since itemId's are an index to the container's internal MixedCollection, the\nitemId is scoped locally to the container -- avoiding potential conflicts with Ext.ComponentManager\nwhich requires a unique id.

\n\n
var c = new Ext.panel.Panel({ //\n    height: 300,\n    renderTo: document.body,\n    layout: 'auto',\n    items: [\n        {\n            itemId: 'p1',\n            title: 'Panel 1',\n            height: 150\n        },\n        {\n            itemId: 'p2',\n            title: 'Panel 2',\n            height: 150\n        }\n    ]\n})\np1 = c.getComponent('p1'); // not the same as Ext.getCmp()\np2 = p1.ownerCt.getComponent('p2'); // reference via a sibling\n
\n\n

Also see id, Ext.container.Container.query, Ext.container.Container.down and\nExt.container.Container.child.

\n\n

Note: to access the container of an item see ownerCt.

\n
A single item, or an array of child Components to be added to this container\n\nUnless configured with a layout, a Cont...

A single item, or an array of child Components to be added to this container

\n\n

Unless configured with a layout, a Container simply renders child\nComponents serially into its encapsulating element and performs no sizing or\npositioning upon them.

\n\n

Example:

\n\n
// specifying a single item\nitems: {...},\nlayout: 'fit',    // The single items is sized to fit\n\n// specifying multiple items\nitems: [{...}, {...}],\nlayout: 'hbox', // The items are arranged horizontally\n
\n\n

Each item may be:

\n\n
    \n
  • A Component
  • \n
  • A Component configuration object
  • \n
\n\n\n

If a configuration object is specified, the actual type of Component to be\ninstantiated my be indicated by using the xtype option.

\n\n

Every Component class has its own xtype.

\n\n

If an xtype is not explicitly specified, the\ndefaultType for the Container is used, which by default is usually panel.

\n\n

Notes:

\n\n

Ext uses lazy rendering. Child Components will only be rendered\nshould it become necessary. Items are automatically laid out when they are first\nshown (no sizing is done while hidden), or in response to a doLayout call.

\n\n

Do not specify contentEl or\nhtml with items.

\n
Important: In order for child items to be correctly sized and\npositioned, typically a layout manager must be specifie...

Important: In order for child items to be correctly sized and\npositioned, typically a layout manager must be specified through\nthe layout configuration option.

\n\n

The sizing and positioning of child items is the responsibility of\nthe Container's layout manager which creates and manages the type of layout\nyou have in mind. For example:

\n\n

If the layout configuration is not explicitly specified for\na general purpose container (e.g. Container or Panel) the\ndefault layout manager will be used\nwhich does nothing but render child components sequentially into the\nContainer (no sizing or positioning will be performed in this situation).

\n\n

layout may be specified as either as an Object or as a String:

\n\n

Specify as an Object

\n\n

Example usage:

\n\n
layout: {\n    type: 'vbox',\n    align: 'left'\n}\n
\n\n
    \n
  • type

    \n\n

    The layout type to be used for this container. If not specified,\na default Ext.layout.container.Auto will be created and used.

    \n\n

    Valid layout type values are:

    \n\n\n
  • \n
  • Layout specific configuration properties

    \n\n

    Additional layout specific configuration properties may also be\nspecified. For complete details regarding the valid config options for\neach layout type, see the layout class corresponding to the type\nspecified.

  • \n
\n\n\n

Specify as a String

\n\n

Example usage:

\n\n
layout: 'vbox'\n
\n\n
    \n
  • layout

    \n\n

    The layout type to be used for this container (see list\nof valid layout type values above).

    \n\n

    Additional layout specific configuration properties. For complete\ndetails regarding the valid config options for each layout type, see the\nlayout class corresponding to the layout specified.

  • \n
\n\n\n

Configuring the default layout type

\n\n
If a certain Container class has a default layout (For example a Toolbar\nwith a default `Box` layout), then to simply configure the default layout,\nuse an object, but without the `type` property:\n\n\nxtype: 'toolbar',\nlayout: {\n    pack: 'center'\n}\n
\n
A config object containing one or more event handlers to be added to this object during initialization. ...

A config object containing one or more event handlers to be added to this object during initialization. This\nshould be a valid listeners config object as specified in the addListener example for attaching multiple\nhandlers at once.

\n\n

DOM events from Ext JS Components

\n\n

While some Ext JS Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this is usually\nonly done when extra value can be added. For example the DataView's itemclick event passing the node clicked on. To access DOM events directly from a\nchild element of a Component, we need to specify the element option to identify the Component property to add a\nDOM listener to:

\n\n
new Ext.panel.Panel({\n    width: 400,\n    height: 200,\n    dockedItems: [{\n        xtype: 'toolbar'\n    }],\n    listeners: {\n        click: {\n            element: 'el', //bind to the underlying el property on the panel\n            fn: function(){ console.log('click el'); }\n        },\n        dblclick: {\n            element: 'body', //bind to the underlying body property on the panel\n            fn: function(){ console.log('dblclick body'); }\n        }\n    }\n});\n
\n
A configuration object or an instance of a Ext.ComponentLoader to load remote content\nfor this Component. ...

A configuration object or an instance of a Ext.ComponentLoader to load remote content\nfor this Component.

\n\n
Ext.create('Ext.Component', {\n    loader: {\n        url: 'content.html',\n        autoLoad: true\n    },\n    renderTo: Ext.getBody()\n});\n
\n
Specifies the margin for this component. ...

Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or it can\nbe a CSS style specification for each style, for example: '10 5 3 10'.

\n
The maximum value in pixels which this Component will set its height to. ...

The maximum value in pixels which this Component will set its height to.

\n\n

Warning: This will override any size management applied by layout managers.

\n
The maximum value in pixels which this Component will set its width to. ...

The maximum value in pixels which this Component will set its width to.

\n\n

Warning: This will override any size management applied by layout managers.

\n
The minimum value in pixels which this Component will set its height to. ...

The minimum value in pixels which this Component will set its height to.

\n\n

Warning: This will override any size management applied by layout managers.

\n
The minimum value in pixels which this Component will set its width to. ...

The minimum value in pixels which this Component will set its width to.

\n\n

Warning: This will override any size management applied by layout managers.

\n
An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element,\nand...

An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element,\nand removed when the mouse moves out. This can be useful for adding customized 'active' or 'hover' styles to the\ncomponent or any of its children using standard CSS rules.

\n

Defaults to: ""

Possible values are:\n * 'auto' to enable automatic horizontal scrollbar (overflow-x: 'auto'). ...

Possible values are:\n * 'auto' to enable automatic horizontal scrollbar (overflow-x: 'auto').\n * 'scroll' to always enable horizontal scrollbar (overflow-x: 'scroll').\nThe default is overflow-x: 'hidden'. This should not be combined with autoScroll.

\n
Possible values are:\n * 'auto' to enable automatic vertical scrollbar (overflow-y: 'auto'). ...

Possible values are:\n * 'auto' to enable automatic vertical scrollbar (overflow-y: 'auto').\n * 'scroll' to always enable vertical scrollbar (overflow-y: 'scroll').\nThe default is overflow-y: 'hidden'. This should not be combined with autoScroll.

\n
Specifies the padding for this component. ...

Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or it\ncan be a CSS style specification for each style, for example: '10 5 3 10'.

\n
An object or array of objects that will provide custom functionality for this component. ...

An object or array of objects that will provide custom functionality for this component. The only requirement for\na valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component\nis created, if any plugins are available, the component will call the init method on each plugin, passing a\nreference to itself. Each plugin can then call methods or respond to events on the component as needed to provide\nits functionality.

\n
Defines the region inside border layout. ...

Defines the region inside border layout.

\n\n

Possible values:

\n\n
    \n
  • center
  • \n
  • north
  • \n
  • south
  • \n
  • east
  • \n
  • west
  • \n
\n\n
The data used by renderTpl in addition to the following property values of the component:\n\n\nid\nui\nuiCls\nbaseCls\ncompo...

The data used by renderTpl in addition to the following property values of the component:

\n\n
    \n
  • id
  • \n
  • ui
  • \n
  • uiCls
  • \n
  • baseCls
  • \n
  • componentCls
  • \n
  • frame
  • \n
\n\n\n

See renderSelectors and childEls for usage examples.

\n
An object containing properties specifying DomQuery selectors which identify child elements\ncreated by the render pro...

An object containing properties specifying DomQuery selectors which identify child elements\ncreated by the render process.

\n\n

After the Component's internal structure is rendered according to the renderTpl, this object is iterated through,\nand the found Elements are added as properties to the Component using the renderSelector property name.

\n\n

For example, a Component which renderes a title and description into its element:

\n\n
Ext.create('Ext.Component', {\n    renderTo: Ext.getBody(),\n    renderTpl: [\n        '<h1 class=\"title\">{title}</h1>',\n        '<p>{desc}</p>'\n    ],\n    renderData: {\n        title: \"Error\",\n        desc: \"Something went wrong\"\n    },\n    renderSelectors: {\n        titleEl: 'h1.title',\n        descEl: 'p'\n    },\n    listeners: {\n        afterrender: function(cmp){\n            // After rendering the component will have a titleEl and descEl properties\n            cmp.titleEl.setStyle({color: \"red\"});\n        }\n    }\n});\n
\n\n

For a faster, but less flexible, alternative that achieves the same end result (properties for child elements on the\nComponent after render), see childEls and addChildEls.

\n
Ext.container.Viewport
view source
renderTo : String/HTMLElement/Ext.Elementprivate

Always renders to document body.

\n

Always renders to document body.

\n

Overrides: Ext.AbstractComponent.renderTo

An XTemplate used to create the internal structure inside this Component's encapsulating\nElement. ...

An XTemplate used to create the internal structure inside this Component's encapsulating\nElement.

\n\n

You do not normally need to specify this. For the base classes Ext.Component and\nExt.container.Container, this defaults to null which means that they will be initially rendered\nwith no internal structure; they render their Element empty. The more specialized ExtJS and Touch\nclasses which use a more complex DOM structure, provide their own template definitions.

\n\n

This is intended to allow the developer to create application-specific utility Components with customized\ninternal structure.

\n\n

Upon rendering, any created child elements may be automatically imported into object properties using the\nrenderSelectors and childEls options.

\n

Defaults to: "{%this.renderContent(out,values)%}"

Specify as true to apply a Resizer to this Component after rendering. ...

Specify as true to apply a Resizer to this Component after rendering.

\n\n

May also be specified as a config object to be passed to the constructor of Resizer\nto override any defaults. By default the Component passes its minimum and maximum size, and uses\nExt.resizer.Resizer.dynamic: false

\n
A valid Ext.resizer.Resizer handles config string. ...

A valid Ext.resizer.Resizer handles config string. Only applies when resizable = true.

\n

Defaults to: "all"

A buffer to be applied if many state events are fired within a short period. ...

A buffer to be applied if many state events are fired within a short period.

\n

Defaults to: 100

Specifies whether the floating component should be given a shadow. ...

Specifies whether the floating component should be given a shadow. Set to true to automatically create an\nExt.Shadow, or a string indicating the shadow's display Ext.Shadow.mode. Set to false to\ndisable the shadow.

\n

Defaults to: "sides"

Number of pixels to offset the shadow.

\n

Number of pixels to offset the shadow.

\n
If this property is a number, it is interpreted as follows:\n\n\n0: Neither width nor height depend on content. ...

If this property is a number, it is interpreted as follows:

\n\n
    \n
  • 0: Neither width nor height depend on content. This is equivalent to false.
  • \n
  • 1: Width depends on content (shrink wraps), but height does not.
  • \n
  • 2: Height depends on content (shrink wraps), but width does not. The default.
  • \n
  • 3: Both width and height depend on content (shrink wrap). This is equivalent to true.
  • \n
\n\n\n

In CSS terms, shrink-wrap width is analogous to an inline-block element as opposed\nto a block-level element. Some container layouts always shrink-wrap their children,\neffectively ignoring this property (e.g., Ext.layout.container.HBox,\nExt.layout.container.VBox, Ext.layout.component.Dock).

\n

Defaults to: 2

An array of events that, when fired, should trigger this object to\nsave its state. ...

An array of events that, when fired, should trigger this object to\nsave its state. Defaults to none. stateEvents may be any type\nof event supported by this object, including browser or custom events\n(e.g., ['click', 'customerchange']).

\n\n\n

See stateful for an explanation of saving and\nrestoring object state.

\n\n
The unique id for this object to use for state management purposes. ...

The unique id for this object to use for state management purposes.

\n\n

See stateful for an explanation of saving and restoring state.

\n\n
A flag which causes the object to attempt to restore the state of\ninternal properties from a saved state on startup. ...

A flag which causes the object to attempt to restore the state of\ninternal properties from a saved state on startup. The object must have\na stateId for state to be managed.

\n\n

Auto-generated ids are not guaranteed to be stable across page loads and\ncannot be relied upon to save and restore the same state for a object.

\n\n

For state saving to work, the state manager's provider must have been\nset to an implementation of Ext.state.Provider which overrides the\nset and get\nmethods to save and recall name/value pairs. A built-in implementation,\nExt.state.CookieProvider is available.

\n\n

To set the state provider for the current page:

\n\n

Ext.state.Manager.setProvider(new Ext.state.CookieProvider({

\n\n
   expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now\n
\n\n

}));

\n\n

A stateful object attempts to save state when one of the events\nlisted in the stateEvents configuration fires.

\n\n

To save state, a stateful object first serializes its state by\ncalling getState.

\n\n

The Component base class implements getState to save its width and height within the state\nonly if they were initially configured, and have changed from the configured value.

\n\n

The Panel class saves its collapsed state in addition to that.

\n\n

The Grid class saves its column state in addition to its superclass state.

\n\n

If there is more application state to be save, the developer must provide an implementation which\nfirst calls the superclass method to inherit the above behaviour, and then injects new properties\ninto the returned object.

\n\n

The value yielded by getState is passed to Ext.state.Manager.set\nwhich uses the configured Ext.state.Provider to save the object\nkeyed by the stateId.

\n\n

During construction, a stateful object attempts to restore its state by calling\nExt.state.Manager.get passing the stateId

\n\n

The resulting object is passed to applyState*. The default implementation of\napplyState simply copies properties into the object, but a developer may\noverride this to support restoration of more complex application state.

\n\n

You can perform extra processing on state save and restore by attaching\nhandlers to the beforestaterestore, staterestore,\nbeforestatesave and statesave events.

\n

Defaults to: false

A custom style specification to be applied to this component's Element. ...

A custom style specification to be applied to this component's Element. Should be a valid argument to\nExt.Element.applyStyles.

\n\n
new Ext.panel.Panel({\n    title: 'Some Title',\n    renderTo: Ext.getBody(),\n    width: 400, height: 300,\n    layout: 'form',\n    items: [{\n        xtype: 'textarea',\n        style: {\n            width: '95%',\n            marginBottom: '10px'\n        }\n    },\n    new Ext.button.Button({\n        text: 'Send',\n        minWidth: '100',\n        style: {\n            marginBottom: '10px'\n        }\n    })\n    ]\n});\n
\n
The class that is added to the content target when you set styleHtmlContent to true. ...

The class that is added to the content target when you set styleHtmlContent to true.

\n

Defaults to: "x-html"

True to automatically style the html inside the content target of this component (body for panels). ...

True to automatically style the html inside the content target of this component (body for panels).

\n

Defaults to: false

If true, suspend calls to doLayout. ...

If true, suspend calls to doLayout. Useful when batching multiple adds to a container\nand not passing them as multiple arguments or an array.

\n

Defaults to: false

True to automatically call toFront when the show method is called on an already visible,\nfloating component. ...

True to automatically call toFront when the show method is called on an already visible,\nfloating component.

\n

Defaults to: true

An Ext.Template, Ext.XTemplate or an array of strings to form an Ext.XTemplate. ...

An Ext.Template, Ext.XTemplate or an array of strings to form an Ext.XTemplate. Used in\nconjunction with the data and tplWriteMode configurations.

\n
The Ext.(X)Template method to use when updating the content area of the Component. ...

The Ext.(X)Template method to use when updating the content area of the Component.\nSee Ext.XTemplate.overwrite for information on default mode.

\n

Defaults to: "overwrite"

A UI style for a component. ...

A UI style for a component.

\n

Defaults to: "default"

An array of of classNames which are currently applied to this component ...

An array of of classNames which are currently applied to this component

\n

Defaults to: []

Ext.container.Viewport
view source
width : Numberprivate

Sets itself to viewport height.

\n

Sets itself to viewport height.

\n

Overrides: Ext.AbstractComponent.width

This property provides a shorter alternative to creating objects than using a full\nclass name. ...

This property provides a shorter alternative to creating objects than using a full\nclass name. Using xtype is the most common way to define component instances,\nespecially in a container. For example, the items in a form containing text fields\ncould be created explicitly like so:

\n\n
 items: [\n     Ext.create('Ext.form.field.Text', {\n         fieldLabel: 'Foo'\n     }),\n     Ext.create('Ext.form.field.Text', {\n         fieldLabel: 'Bar'\n     }),\n     Ext.create('Ext.form.field.Number', {\n         fieldLabel: 'Num'\n     })\n ]\n
\n\n

But by using xtype, the above becomes:

\n\n
 items: [\n     {\n         xtype: 'textfield',\n         fieldLabel: 'Foo'\n     },\n     {\n         xtype: 'textfield',\n         fieldLabel: 'Bar'\n     },\n     {\n         xtype: 'numberfield',\n         fieldLabel: 'Num'\n     }\n ]\n
\n\n

When the xtype is common to many items, Ext.container.AbstractContainer.defaultType\nis another way to specify the xtype for all items that don't have an explicit xtype:

\n\n
 defaultType: 'textfield',\n items: [\n     { fieldLabel: 'Foo' },\n     { fieldLabel: 'Bar' },\n     { fieldLabel: 'Num', xtype: 'numberfield' }\n ]\n
\n\n

Each member of the items array is now just a \"configuration object\". These objects\nare used to create and configure component instances. A configuration object can be\nmanually used to instantiate a component using Ext.widget:

\n\n
 var text1 = Ext.create('Ext.form.field.Text', {\n     fieldLabel: 'Foo'\n });\n\n // or alternatively:\n\n var text1 = Ext.widget({\n     xtype: 'textfield',\n     fieldLabel: 'Foo'\n });\n
\n\n

This conversion of configuration objects into instantiated components is done when\na container is created as part of its {Ext.container.AbstractContainer.initComponent}\nprocess. As part of the same process, the items array is converted from its raw\narray form into a Ext.util.MixedCollection instance.

\n\n

You can define your own xtype on a custom component by specifying\nthe xtype property in Ext.define. For example:

\n\n
Ext.define('MyApp.PressMeButton', {\n    extend: 'Ext.button.Button',\n    xtype: 'pressmebutton',\n    text: 'Press Me'\n});\n
\n\n

Care should be taken when naming an xtype in a custom component because there is\na single, shared scope for all xtypes. Third part components should consider using\na prefix to avoid collisions.

\n\n
Ext.define('Foo.form.CoolButton', {\n    extend: 'Ext.button.Button',\n    xtype: 'ux-coolbutton',\n    text: 'Cool!'\n});\n
\n

Properties

Defined By

Instance Properties

...
\n

Defaults to: "Ext.Base"

Setting this property to true causes the isLayoutRoot method to return\ntrue and stop the search for the top-most comp...

Setting this property to true causes the isLayoutRoot method to return\ntrue and stop the search for the top-most component for a layout.

\n

Defaults to: false

true indicates an id was auto-generated rather than provided by configuration. ...

true indicates an id was auto-generated rather than provided by configuration.

\n

Defaults to: false

The number of component layout calls made on this object. ...

The number of component layout calls made on this object.

\n

Defaults to: 0

...
\n

Defaults to: {}

Indicates whether or not the component can be dragged. ...

Indicates whether or not the component can be dragged.

\n

Defaults to: false

Initial suspended call count. ...

Initial suspended call count. Incremented when suspendEvents is called, decremented when resumeEvents is called.

\n

Defaults to: 0

Only present for floating Components which were inserted as child items of Containers. ...

Only present for floating Components which were inserted as child items of Containers.

\n\n

Floating Components that are programatically rendered will not have a floatParent\nproperty.

\n\n

For floating Components which are child items of a Container, the floatParent will be the owning Container.

\n\n

For example, the dropdown BoundList of a ComboBox which is in a Window will have the\nWindow as its floatParent

\n\n

See floating and zIndexManager

\n
Indicates the width of any framing elements which were added within the encapsulating element\nto provide graphical, r...

Indicates the width of any framing elements which were added within the encapsulating element\nto provide graphical, rounded borders. See the frame config.

\n\n

This is an object containing the frame width in pixels for all four sides of the Component containing the\nfollowing properties:

\n

Defaults to: {left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0}

  • top : Number (optional)

    The width of the top framing element in pixels.

    \n

    Defaults to: 0

  • right : Number (optional)

    The width of the right framing element in pixels.

    \n

    Defaults to: 0

  • bottom : Number (optional)

    The width of the bottom framing element in pixels.

    \n

    Defaults to: 0

  • left : Number (optional)

    The width of the left framing element in pixels.

    \n

    Defaults to: 0

  • width : Number (optional)

    The total width of the left and right framing elements in pixels.

    \n

    Defaults to: 0

  • height : Number (optional)

    The total height of the top and right bottom elements in pixels.

    \n

    Defaults to: 0

This object holds a key for any event that has a listener. ...

This object holds a key for any event that has a listener. The listener may be set\ndirectly on the instance, or on its class or a super class (via observe) or\non the MVC EventBus. The values of this object are truthy\n(a non-zero number) and falsy (0 or undefined). They do not represent an exact count\nof listeners. The value for an event is truthy if the event must be fired and is\nfalsy if there is no need to fire the event.

\n\n

The intended use of this property is to avoid the expense of fireEvent calls when\nthere are no listeners. This can be particularly helpful when one would otherwise\nhave to call fireEvent hundreds or thousands of times. It is used like this:

\n\n
 if (this.hasListeners.foo) {\n     this.fireEvent('foo', this, arg1);\n }\n
\n
...
\n

Defaults to: []

...
\n

Defaults to: {}

true in this class to identify an object as an instantiated Component, or subclass thereof. ...

true in this class to identify an object as an instantiated Component, or subclass thereof.

\n

Defaults to: true

...
\n

Defaults to: true

true in this class to identify an object as an instantiated Observable, or subclass thereof. ...

true in this class to identify an object as an instantiated Observable, or subclass thereof.

\n

Defaults to: true

Ext.container.Viewport
view source
: Boolean
true in this class to identify an object as an instantiated Viewport, or subclass thereof. ...

true in this class to identify an object as an instantiated Viewport, or subclass thereof.

\n

Defaults to: true

The MixedCollection containing all the child items of this container.

\n

The MixedCollection containing all the child items of this container.

\n
The number of container layout calls made on this object. ...

The number of container layout calls made on this object.

\n

Defaults to: 0

This is an internal flag that you use when creating custom components. ...

This is an internal flag that you use when creating custom components. By default this is set to true which means\nthat every component gets a mask when it's disabled. Components like FieldContainer, FieldSet, Field, Button, Tab\noverride this property to false since they want to implement custom disable logic.

\n

Defaults to: true

This Component's owner Container (is set automatically\nwhen this Component is added to a Container). ...

This Component's owner Container (is set automatically\nwhen this Component is added to a Container).

\n\n

Note: to access items within the Container see itemId.

\n
Indicates whether or not the component has been rendered. ...

Indicates whether or not the component has been rendered.

\n

Defaults to: false

Get the reference to the current class from which this object was instantiated. ...

Get the reference to the current class from which this object was instantiated. Unlike statics,\nthis.self is scope-dependent and it's meant to be used for dynamic inheritance. See statics\nfor a detailed comparison

\n\n
Ext.define('My.Cat', {\n    statics: {\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        alert(this.self.speciesName); // dependent on 'this'\n    },\n\n    clone: function() {\n        return new this.self();\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n    statics: {\n        speciesName: 'Snow Leopard'         // My.SnowLeopard.speciesName = 'Snow Leopard'\n    }\n});\n\nvar cat = new My.Cat();                     // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard();     // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));             // alerts 'My.SnowLeopard'\n
\n
Only present for floating Components after they have been rendered. ...

Only present for floating Components after they have been rendered.

\n\n

A reference to the ZIndexManager which is managing this Component's z-index.

\n\n

The ZIndexManager maintains a stack of floating Component z-indices, and also provides\na single modal mask which is insert just beneath the topmost visible modal floating Component.

\n\n

Floating Components may be brought to the front or sent to the back of the\nz-index stack.

\n\n

This defaults to the global ZIndexManager for floating Components that are\nprogramatically rendered.

\n\n

For floating Components which are added to a Container, the ZIndexManager is acquired from the first\nancestor Container found which is floating. If no floating ancestor is found, the global ZIndexManager is\nused.

\n\n

See floating and zIndexParent

\n
Only present for floating Components which were inserted as child items of Containers, and which have a floating\nCont...

Only present for floating Components which were inserted as child items of Containers, and which have a floating\nContainer in their containment ancestry.

\n\n

For floating Components which are child items of a Container, the zIndexParent will be a floating\nancestor Container which is responsible for the base z-index value of all its floating descendants. It provides\na ZIndexManager which provides z-indexing services for all its descendant floating\nComponents.

\n\n

Floating Components that are programatically rendered will not have a zIndexParent\nproperty.

\n\n

For example, the dropdown BoundList of a ComboBox which is in a Window will have the\nWindow as its zIndexParent, and will always show above that Window, wherever the Window is placed in the z-index stack.

\n\n

See floating and zIndexManager

\n
Defined By

Static Properties

...
\n

Defaults to: []

Methods

Defined By

Instance Methods

Creates new Component. ...

Creates new Component.

\n

Parameters

  • config : Ext.Element/String/Object

    The configuration options may be specified as either:

    \n\n
      \n
    • an element : it is set as the internal element and its id used as the component id
    • \n
    • a string : it is assumed to be the id of an existing element and is used as the component id
    • \n
    • anything else : it is assumed to be a standard config object and is applied to the component
    • \n
    \n\n

Returns

Overrides: Ext.AbstractComponent.constructor

Adds Component(s) to this Container. ...

Adds Component(s) to this Container.

\n\n

Description:

\n\n\n\n\n

Notes:

\n\n

If the Container is already rendered when add\nis called, it will render the newly added Component into its content area.

\n\n

If the Container was configured with a size-managing layout manager,\nthe Container will recalculate its internal layout at this time too.

\n\n

Note that the default layout manager simply renders child Components sequentially\ninto the content area and thereafter performs no sizing.

\n\n

If adding multiple new child Components, pass them as an array to the add method,\nso that only one layout recalculation is performed.

\n\n
tb = new Ext.toolbar.Toolbar({\n    renderTo: document.body\n});  // toolbar is rendered\n// add multiple items.\n// (defaultType for Toolbar is 'button')\ntb.add([{text:'Button 1'}, {text:'Button 2'}]);\n
\n\n

To inject components between existing ones, use the insert method.

\n\n

Warning:

\n\n

Components directly managed by the BorderLayout layout manager may not be removed\nor added. See the Notes for BorderLayout for\nmore details.

\n

Parameters

  • component : Ext.Component[]/Ext.Component...

    Either one or more Components to add or an Array of Components to add.\nSee items for additional information.

    \n

Returns

Adds each argument passed to this method to the childEls array. ...

Adds each argument passed to this method to the childEls array.

\n
Adds a CSS class to the top level element representing this component. ...

Adds a CSS class to the top level element representing this component.

\n
\n

This method has been deprecated since 4.1

\n

Use addCls instead.

\n\n
\n

Parameters

Returns

Adds a CSS class to the top level element representing this component. ...

Adds a CSS class to the top level element representing this component.

\n

Parameters

Returns

Adds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this\ncomponent. ...

Adds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this\ncomponent.

\n

Parameters

  • classes : String/String[]

    A string or an array of strings to add to the uiCls

    \n
  • skip : Object

    (Boolean) skip True to skip adding it to the class and do it later (via the return)

    \n
Adds the specified events to the list of events which this Observable may fire. ...

Adds the specified events to the list of events which this Observable may fire.

\n

Parameters

  • eventNames : Object/String...

    Either an object with event names as properties with\na value of true. For example:

    \n\n
    this.addEvents({\n    storeloaded: true,\n    storecleared: true\n});\n
    \n\n

    Or any number of event names as separate parameters. For example:

    \n\n
    this.addEvents('storeloaded', 'storecleared');\n
    \n
Sets up the focus listener on this Component's focusEl if it has one. ...

Sets up the focus listener on this Component's focusEl if it has one.

\n\n\n

Form Components which must implicitly participate in tabbing order usually have a naturally focusable\nelement as their focusEl, and it is the DOM event of that recieving focus which drives\nthe Component's onFocus handling, and the DOM event of it being blurred which drives the onBlur handling.

\n\n\n

If the focusEl is not naturally focusable, then the listeners are only added\nif the FocusManager is enabled.

\n\n
Appends an event handler to this object. ...

Appends an event handler to this object. For example:

\n\n
myGridPanel.on(\"mouseover\", this.onMouseOver, this);\n
\n\n

The method also allows for a single argument to be passed which is a config object\ncontaining properties which specify multiple events. For example:

\n\n
myGridPanel.on({\n    cellClick: this.onCellClick,\n    mouseover: this.onMouseOver,\n    mouseout: this.onMouseOut,\n    scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
\n\n

One can also specify options for each event handler separately:

\n\n
myGridPanel.on({\n    cellClick: {fn: this.onCellClick, scope: this, single: true},\n    mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\n

Names of methods in a specified scope may also be used. Note that\nscope MUST be specified to use this option:

\n\n
myGridPanel.on({\n    cellClick: {fn: 'onCellClick', scope: this, single: true},\n    mouseover: {fn: 'onMouseOver', scope: panel}\n});\n
\n

Parameters

  • eventName : String/Object

    The name of the event to listen for.\nMay also be an object who's property names are event names.

    \n\n
  • fn : Function (optional)

    The method the event invokes, or if scope is specified, the name* of the method within\nthe specified scope. Will be called with arguments\ngiven to fireEvent plus the options parameter described below.

    \n\n
  • scope : Object (optional)

    The scope (this reference) in which the handler function is\nexecuted. If omitted, defaults to the object which fired the event.

    \n\n
  • options : Object (optional)

    An object containing handler configuration.

    \n\n\n\n\n

    Note: Unlike in ExtJS 3.x, the options object will also be passed as the last\nargument to every event handler.

    \n\n\n\n\n

    This object may contain any of the following properties:

    \n\n
    • scope : Object

      The scope (this reference) in which the handler function is executed. If omitted,\n defaults to the object which fired the event.

      \n\n
    • delay : Number

      The number of milliseconds to delay the invocation of the handler after the event fires.

      \n\n
    • single : Boolean

      True to add a handler to handle just the next firing of the event, and then remove itself.

      \n\n
    • buffer : Number

      Causes the handler to be scheduled to run in an Ext.util.DelayedTask delayed\n by the specified number of milliseconds. If the event fires again within that time,\n the original handler is not invoked, but the new handler is scheduled in its place.

      \n\n
    • target : Ext.util.Observable

      Only call the handler if the event was fired on the target Observable, not if the event\n was bubbled up from a child Observable.

      \n\n
    • element : String

      This option is only valid for listeners bound to Components.\n The name of a Component property which references an element to add a listener to.

      \n\n\n\n\n

      This option is useful during Component construction to add DOM event listeners to elements of\n Components which will exist only after the Component is rendered.\n For example, to add a click listener to a Panel's body:

      \n\n\n\n\n
        new Ext.panel.Panel({\n      title: 'The title',\n      listeners: {\n          click: this.handlePanelClick,\n          element: 'body'\n      }\n  });\n
      \n\n\n\n\n

      Combining Options

      \n\n\n\n\n

      Using the options argument, it is possible to combine different types of listeners:

      \n\n\n\n\n

      A delayed, one-time listener.

      \n\n\n\n\n
      myPanel.on('hide', this.handleClick, this, {\n    single: true,\n    delay: 100\n});\n
      \n\n
Adds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestr...

Adds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.

\n

Parameters

  • item : Ext.util.Observable/Ext.Element

    The item to which to add a listener/listeners.

    \n\n
  • ename : Object/String

    The event name, or an object containing event name properties.

    \n\n
  • fn : Function (optional)

    If the ename parameter was an event name, this is the handler function.

    \n\n
  • scope : Object (optional)

    If the ename parameter was an event name, this is the scope (this reference)\nin which the handler function is executed.

    \n\n
  • opt : Object (optional)

    If the ename parameter was an event name, this is the\naddListener options.

    \n\n
Save a property to the given state object if it is not its default or configured\nvalue. ...

Save a property to the given state object if it is not its default or configured\nvalue.

\n

Parameters

  • state : Object

    The state object

    \n
  • propName : String

    The name of the property on this object to save.

    \n
  • value : String (optional)

    The value of the state property (defaults to this[propName]).

    \n

Returns

  • Boolean

    The state object or a new object if state was null and the property\nwas saved.

    \n
Add events that will trigger the state to be saved. ...

Add events that will trigger the state to be saved. If the first argument is an\narray, each element of that array is the name of a state event. Otherwise, each\nargument passed to this method is the name of a state event.

\n

Parameters

  • events : String/String[]

    The event name or an array of event names.

    \n
Method which adds a specified UI + uiCls to the components element. ...

Method which adds a specified UI + uiCls to the components element. Can be overridden to remove the UI from more\nthan just the components element.

\n

Parameters

  • ui : String

    The UI to remove from the element

    \n
Method which adds a specified UI to the components element. ...

Method which adds a specified UI to the components element.

\n
( Number width, Number height, Number oldWidth, Number oldHeight )protectedtemplate
Called by the layout system after the Component has been layed out. ...

Called by the layout system after the Component has been layed out.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

  • width : Number

    The width that was set

    \n
  • height : Number

    The height that was set

    \n
  • oldWidth : Number

    The old width. undefined if this was the initial layout.

    \n
  • oldHeight : Number

    The old height. undefined if this was the initial layout.

    \n
( [Function callback], [Object scope] )protectedtemplate
Invoked after the Component has been hidden. ...

Invoked after the Component has been hidden.

\n\n

Gets passed the same callback and scope parameters that onHide received.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

Invoked after the Container has laid out (and rendered if necessary)\nits child Components. ...

Invoked after the Container has laid out (and rendered if necessary)\nits child Components.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

Allows addition of behavior after rendering is complete. ...

Allows addition of behavior after rendering is complete. At this stage the Component’s Element\nwill have been styled according to the configuration, will have had any configured CSS class\nnames added, and will be in the configured visibility and the configured enable state.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
Template method called after a Component has been positioned. ...

Template method called after a Component has been positioned.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

( [String/Ext.Element animateTarget], [Function callback], [Object scope] )protectedtemplate
Invoked after the Component is shown (after onShow is called). ...

Invoked after the Component is shown (after onShow is called).

\n\n

Gets passed the same parameters as show.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

Aligns this floating Component to the specified element ...

Aligns this floating Component to the specified element

\n

Parameters

  • element : Ext.Component/Ext.Element/HTMLElement/String

    The element or Ext.Component to align to. If passing a component, it must be a\ncomponent instance. If a string id is passed, it will be used as an element id.

    \n
  • position : String (optional)

    The position to align to\n(see Ext.Element.alignTo for more details).

    \n

    Defaults to: "tl-bl?"

  • offsets : Number[] (optional)

    Offset the positioning by [x, y]

    \n

Returns

Performs custom animation on this object. ...

Performs custom animation on this object.

\n\n

This method is applicable to both the Component class and the Sprite\nclass. It performs animated transitions of certain properties of this object over a specified timeline.

\n\n

Animating a Component

\n\n

When animating a Component, the following properties may be specified in from, to, and keyframe objects:

\n\n
    \n
  • x - The Component's page X position in pixels.

  • \n
  • y - The Component's page Y position in pixels

  • \n
  • left - The Component's left value in pixels.

  • \n
  • top - The Component's top value in pixels.

  • \n
  • width - The Component's width value in pixels.

  • \n
  • width - The Component's width value in pixels.

  • \n
  • dynamic - Specify as true to update the Component's layout (if it is a Container) at every frame of the animation.\nUse sparingly as laying out on every intermediate size change is an expensive operation.

  • \n
\n\n\n

For example, to animate a Window to a new size, ensuring that its internal layout and any shadow is correct:

\n\n
myWindow = Ext.create('Ext.window.Window', {\n    title: 'Test Component animation',\n    width: 500,\n    height: 300,\n    layout: {\n        type: 'hbox',\n        align: 'stretch'\n    },\n    items: [{\n        title: 'Left: 33%',\n        margins: '5 0 5 5',\n        flex: 1\n    }, {\n        title: 'Left: 66%',\n        margins: '5 5 5 5',\n        flex: 2\n    }]\n});\nmyWindow.show();\nmyWindow.header.el.on('click', function() {\n    myWindow.animate({\n        to: {\n            width: (myWindow.getWidth() == 500) ? 700 : 500,\n            height: (myWindow.getHeight() == 300) ? 400 : 300\n        }\n    });\n});\n
\n\n

For performance reasons, by default, the internal layout is only updated when the Window reaches its final \"to\"\nsize. If dynamic updating of the Window's child Components is required, then configure the animation with\ndynamic: true and the two child items will maintain their proportions during the animation.

\n

Parameters

Returns

Sets references to elements inside the component. ...

Sets references to elements inside the component.

\n

Parameters

Sets references to elements inside the component. ...

Sets references to elements inside the component. This applies renderSelectors\nas well as childEls.

\n
Applies the state to the object. ...

Applies the state to the object. This should be overridden in subclasses to do\nmore complex state operations. By default it applies the state properties onto\nthe current object.

\n

Parameters

Occurs before componentLayout is run. ...

Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout from\nbeing executed.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

  • adjWidth : Number

    The box-adjusted width that was set

    \n
  • adjHeight : Number

    The box-adjusted height that was set

    \n
Invoked before the Component is destroyed. ...

Invoked before the Component is destroyed.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
Occurs before componentLayout is run. ...

Occurs before componentLayout is run. Returning false from this method\nwill prevent the containerLayout from being executed.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
Template method called before a Component is positioned. ...

Template method called before a Component is positioned.

\n

Parameters

Invoked before the Component is shown. ...

Invoked before the Component is shown.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
Bubbles up the component/container heirarchy, calling the specified function with each component. ...

Bubbles up the component/container heirarchy, calling the specified function with each component. The scope\n(this) of function call will be the scope provided or the current component. The arguments to the function will\nbe the args provided or the current component. If the function returns false at any point, the bubble is stopped.

\n

Parameters

  • fn : Function

    The function to call

    \n
  • scope : Object (optional)

    The scope of the function. Defaults to current node.

    \n
  • args : Array (optional)

    The args to call the function with. Defaults to passing the current component.

    \n

Returns

( Array/Arguments args ) : Objectdeprecatedprotected
Call the original method that was previously overridden with override\n\nExt.define('My.Cat', {\n constructor: functi...

Call the original method that was previously overridden with override

\n\n
Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n
\n
\n

This method has been deprecated

\n

as of 4.1. Use callParent instead.

\n\n
\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callOverridden(arguments)

    \n

Returns

  • Object

    Returns the result of calling the overridden method

    \n
( Array/Arguments args ) : Objectprotected
Call the \"parent\" method of the current method. ...

Call the \"parent\" method of the current method. That is the method previously\noverridden by derivation or by an override (see Ext.define).

\n\n
 Ext.define('My.Base', {\n     constructor: function (x) {\n         this.x = x;\n     },\n\n     statics: {\n         method: function (x) {\n             return x;\n         }\n     }\n });\n\n Ext.define('My.Derived', {\n     extend: 'My.Base',\n\n     constructor: function () {\n         this.callParent([21]);\n     }\n });\n\n var obj = new My.Derived();\n\n alert(obj.x);  // alerts 21\n
\n\n

This can be used with an override as follows:

\n\n
 Ext.define('My.DerivedOverride', {\n     override: 'My.Derived',\n\n     constructor: function (x) {\n         this.callParent([x*2]); // calls original My.Derived constructor\n     }\n });\n\n var obj = new My.Derived();\n\n alert(obj.x);  // now alerts 42\n
\n\n

This also works with static methods.

\n\n
 Ext.define('My.Derived2', {\n     extend: 'My.Base',\n\n     statics: {\n         method: function (x) {\n             return this.callParent([x*2]); // calls My.Base.method\n         }\n     }\n });\n\n alert(My.Base.method(10);     // alerts 10\n alert(My.Derived2.method(10); // alerts 20\n
\n\n

Lastly, it also works with overridden static methods.

\n\n
 Ext.define('My.Derived2Override', {\n     override: 'My.Derived2',\n\n     statics: {\n         method: function (x) {\n             return this.callParent([x*2]); // calls My.Derived2.method\n         }\n     }\n });\n\n alert(My.Derived2.method(10); // now alerts 40\n
\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callParent(arguments)

    \n

Returns

  • Object

    Returns the result of calling the parent method

    \n
Cancel any deferred focus on this component ...

Cancel any deferred focus on this component

\n
Cancels layout of a component. ...

Cancels layout of a component.

\n

Parameters

Cascades down the component/container heirarchy from this component (passed in\nthe first call), calling the specified...

Cascades down the component/container heirarchy from this component (passed in\nthe first call), calling the specified function with each component. The scope\n(this reference) of the function call will be the scope provided or the current\ncomponent. The arguments to the function will be the args provided or the current\ncomponent. If the function returns false at any point, the cascade is stopped on\nthat branch.

\n

Parameters

  • fn : Function

    The function to call

    \n
  • scope : Object (optional)

    The scope of the function (defaults to current component)

    \n
  • args : Array (optional)

    The args to call the function with. The current component\nalways passed as the last argument.

    \n

Returns

Center this Component in its container. ...

Center this Component in its container.

\n

Returns

Retrieves the first direct child of this container which matches the passed selector. ...

Retrieves the first direct child of this container which matches the passed selector.\nThe passed in selector must comply with an Ext.ComponentQuery selector.

\n

Parameters

  • selector : String (optional)

    An Ext.ComponentQuery selector. If no selector is\nspecified, the first child will be returned.

    \n
Removes all listeners for this object including the managed listeners ...

Removes all listeners for this object including the managed listeners

\n
Removes all managed listeners for this object. ...

Removes all managed listeners for this object.

\n
Clone the current component using the original config values passed into this instance by default. ...

Clone the current component using the original config values passed into this instance by default.

\n

Parameters

  • overrides : Object

    A new config containing any properties to override in the cloned version.\nAn id property can be passed on this object, otherwise one will be generated to avoid duplicates.

    \n

Returns

Returns an array of fully constructed plugin instances. ...

Returns an array of fully constructed plugin instances. This converts any configs into their\nappropriate instances.

\n\n

It does not mutate the plugins array. It creates a new array.

\n\n

This is borrowed by Lockable which clones and distributes Plugins\nto both child grids of a locking grid, so must keep to that contract.

\n
Continue to fire event. ...

Continue to fire event.

\n

Parameters

This method converts an \"{x: x, y: y}\" object to a \"{left: x+'px', top: y+'px'}\" object. ...

This method converts an \"{x: x, y: y}\" object to a \"{left: x+'px', top: y+'px'}\" object.\nThe returned object contains the styles to set to effect the position. This is\noverridden in RTL mode to be \"{right: x, top: y}\".

\n

Parameters

Creates an event handling function which refires the event from this object as the passed event name. ...

Creates an event handling function which refires the event from this object as the passed event name.

\n

Parameters

  • newName : Object
    \n
  • beginEnd : Array (optional)

    The caller can specify on which indices to slice

    \n

Returns

Disable the component. ...

Disable the component.

\n

Parameters

  • silent : Boolean (optional)

    Passing true will supress the 'disable' event from being fired.

    \n

    Defaults to: false

Called from the selected frame generation template to insert this Component's inner structure inside the framing stru...

Called from the selected frame generation template to insert this Component's inner structure inside the framing structure.

\n\n

When framing is used, a selected frame generation template is used as the primary template of the #getElConfig instead\nof the configured renderTpl. The renderTpl is invoked by this method which is injected into the framing template.

\n

Parameters

Handles autoRender. ...

Handles autoRender.\nFloating Components may have an ownerCt. If they are asking to be constrained, constrain them within that\nownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body

\n
This method needs to be called whenever you change something on this component that requires the Component's\nlayout t...

This method needs to be called whenever you change something on this component that requires the Component's\nlayout to be recalculated.

\n

Returns

Moves this floating Component into a constrain region. ...

Moves this floating Component into a constrain region.

\n\n

By default, this Component is constrained to be within the container it was added to, or the element it was\nrendered to.

\n\n

An alternative constraint may be passed.

\n

Parameters

  • constrainTo : String/HTMLElement/Ext.Element/Ext.util.Region (optional)

    The Element or Region\ninto which this Component is to be constrained. Defaults to the element into which this floating Component\nwas rendered.

    \n
Manually force this container's layout to be recalculated. ...

Manually force this container's layout to be recalculated. The framework uses this internally to refresh layouts\nform most cases.

\n

Returns

Retrieves the first descendant of this container which matches the passed selector. ...

Retrieves the first descendant of this container which matches the passed selector.\nThe passed in selector must comply with an Ext.ComponentQuery selector.

\n

Parameters

  • selector : String (optional)

    An Ext.ComponentQuery selector. If no selector is\nspecified, the first child will be returned.

    \n
Enable the component ...

Enable the component

\n

Parameters

  • silent : Boolean (optional)

    Passing true will supress the 'enable' event from being fired.

    \n

    Defaults to: false

Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. ...

Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. There is no implementation in the Observable base class.

\n\n

This is commonly used by Ext.Components to bubble events to owner Containers.\nSee Ext.Component.getBubbleTarget. The default implementation in Ext.Component returns the\nComponent's immediate owner. But if a known target is required, this can be overridden to access the\nrequired target more quickly.

\n\n

Example:

\n\n
Ext.override(Ext.form.field.Base, {\n    //  Add functionality to Field's initComponent to enable the change event to bubble\n    initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n        this.enableBubble('change');\n    }),\n\n    //  We know that we want Field's events to bubble directly to the FormPanel.\n    getBubbleTarget : function() {\n        if (!this.formPanel) {\n            this.formPanel = this.findParentByType('form');\n        }\n        return this.formPanel;\n    }\n});\n\nvar myForm = new Ext.formPanel({\n    title: 'User Details',\n    items: [{\n        ...\n    }],\n    listeners: {\n        change: function() {\n            // Title goes red if form has been modified.\n            myForm.header.setStyle('color', 'red');\n        }\n    }\n});\n
\n

Parameters

  • eventNames : String/String[]

    The event name to bubble, or an Array of event names.

    \n
Ensures that this component is attached to document.body. ...

Ensures that this component is attached to document.body. If the component was\nrendered to Ext.getDetachedBody, then it will be appended to document.body.\nAny configured position is also restored.

\n

Parameters

  • runLayout : Boolean (optional)

    True to run the component's layout.

    \n

    Defaults to: false

Find a container above this component at any level by a custom function. ...

Find a container above this component at any level by a custom function. If the passed function returns true, the\ncontainer will be returned.

\n\n

See also the up method.

\n

Parameters

  • fn : Function

    The custom function to call with the arguments (container, this component).

    \n

Returns

Find a container above this component at any level by xtype or class\n\nSee also the up method. ...

Find a container above this component at any level by xtype or class

\n\n

See also the up method.

\n

Parameters

  • xtype : String/Ext.Class

    The xtype string for a component, or the class of the component directly

    \n

Returns

This method visits the rendered component tree in a \"top-down\" order. ...

This method visits the rendered component tree in a \"top-down\" order. That is, this\ncode runs on a parent component before running on a child. This method calls the\nonRender method of each component.

\n

Parameters

  • containerIdx : Number

    The index into the Container items of this Component.

    \n
Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addList...

Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addListener).

\n\n

An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by\ncalling enableBubble.

\n

Parameters

  • eventName : String

    The name of the event to fire.

    \n
  • args : Object...

    Variable number of parameters are passed to handlers.

    \n

Returns

  • Boolean

    returns false if any of the handlers return false otherwise it returns true.

    \n
Try to focus this component. ...

Try to focus this component.

\n

Parameters

  • selectText : Boolean (optional)

    If applicable, true to also select the text in this component

    \n
  • delay : Boolean/Number (optional)

    Delay the focus this number of milliseconds (true for 10 milliseconds).

    \n

Returns

  • Ext.Component

    The focused Component. Usually this Component. Some Containers may\ndelegate focus to a descendant Component (Windows can do this through their\ndefaultFocus config option.

    \n
Forces this component to redo its componentLayout. ...

Forces this component to redo its componentLayout.

\n
\n

This method has been deprecated since 4.1.0

\n

Use updateLayout instead.

\n\n
\n
Returns the current animation if this object has any effects actively running or queued, else returns false. ...

Returns the current animation if this object has any effects actively running or queued, else returns false.

\n

Returns

Gets the current box measurements of the component's underlying element. ...

Gets the current box measurements of the component's underlying element.

\n

Parameters

  • local : Boolean (optional)

    If true the element's left and top are returned instead of page XY.

    \n

    Defaults to: false

Returns

  • Object

    box An object in the format {x, y, width, height}

    \n
Gets the bubbling parent for an Observable ...

Gets the bubbling parent for an Observable

\n

Returns

Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy. ...

Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.

\n

Returns

Return the immediate child Component in which the passed element is located. ...

Return the immediate child Component in which the passed element is located.

\n

Parameters

  • el : Ext.Element/HTMLElement/String

    The element to test (or ID of element).

    \n
  • deep : Boolean

    If true, returns the deepest descendant Component which contains the passed element.

    \n

Returns

Gets a list of child components to enable/disable when the container is\nenabled/disabled ...

Gets a list of child components to enable/disable when the container is\nenabled/disabled

\n

Returns

Examines this container's items property and gets a direct child\ncomponent of this container. ...

Examines this container's items property and gets a direct child\ncomponent of this container.

\n

Parameters

  • comp : String/Number

    This parameter may be any of the following:

    \n\n
      \n
    • a String : representing the itemId\nor id of the child component.
    • \n
    • a Number : representing the position of the child component\nwithin the items property
    • \n
    \n\n\n

    For additional information see Ext.util.MixedCollection.get.

    \n

Returns

...
\n

Parameters

Gets the x/y offsets to constrain this float ...

Gets the x/y offsets to constrain this float

\n

Parameters

Returns

Retrieves the top level element representing this component. ...

Retrieves the top level element representing this component.

\n

Returns

Returns the focus holder element associated with this Container. ...

Returns the focus holder element associated with this Container. By default, this is the Container's target\nelement. Subclasses which use embedded focusable elements (such as Window and Button) should override this for use\nby the focus method.

\n

Returns

Overrides: Ext.AbstractComponent.getFocusEl

On render, reads an encoded style attribute, \"background-position\" from the style of this Component's element. ...

On render, reads an encoded style attribute, \"background-position\" from the style of this Component's element.\nThis information is memoized based upon the CSS class name of this Component's element.\nBecause child Components are rendered as textual HTML as part of the topmost Container, a dummy div is inserted\ninto the document to receive the document element's CSS class name, and therefore style attributes.

\n
...
\n

Parameters

Gets the current height of the component's underlying element. ...

Gets the current height of the component's underlying element.

\n

Returns

Retrieves the id of this component. ...

Retrieves the id of this component. Will autogenerate an id if one has not already been set.

\n

Returns

Returns the initial configuration passed to constructor when instantiating\nthis class. ...

Returns the initial configuration passed to constructor when instantiating\nthis class.

\n

Parameters

  • name : String (optional)

    Name of the config option to return.

    \n

Returns

  • Object/Mixed

    The full config object or a single config value\nwhen name parameter specified.

    \n
This function takes the position argument passed to onRender and returns a\nDOM element that you can use in the insert...

This function takes the position argument passed to onRender and returns a\nDOM element that you can use in the insertBefore.

\n

Parameters

Returns

  • HTMLElement

    DOM element that you can use in the insertBefore

    \n
Returns the value of itemId assigned to this component, or when that\nis not set, returns the value of id. ...

Returns the value of itemId assigned to this component, or when that\nis not set, returns the value of id.

\n

Returns

Returns the layout instance currently associated with this Container. ...

Returns the layout instance currently associated with this Container.\nIf a layout has not been instantiated yet, that is done first

\n

Returns

Gets the Ext.ComponentLoader for this Component. ...

Gets the Ext.ComponentLoader for this Component.

\n

Returns

Returns the CSS style object which will set the Component's scroll styles. ...

Returns the CSS style object which will set the Component's scroll styles. This must be applied\nto the target element.

\n
Retrieves a plugin by its pluginId which has been bound to this component. ...

Retrieves a plugin by its pluginId which has been bound to this component.

\n

Parameters

Returns

Gets the current XY position of the component's underlying element. ...

Gets the current XY position of the component's underlying element.

\n

Parameters

  • local : Boolean (optional)

    If true the element's left and top are returned instead of page XY.

    \n

    Defaults to: false

Returns

  • Number[]

    The XY position of the element (e.g., [100, 200])

    \n
Gets the current size of the component's underlying element. ...

Gets the current size of the component's underlying element.

\n

Returns

  • Object

    An object containing the element's size {width: (element width), height: (element height)}

    \n
Returns an object that describes how this component's width and height are managed. ...

Returns an object that describes how this component's width and height are managed.\nAll of these objects are shared and should not be modified.

\n

Parameters

Returns

The supplied default state gathering method for the AbstractComponent class. ...

The supplied default state gathering method for the AbstractComponent class.

\n\n

This method returns dimension settings such as flex, anchor, width and height along with collapsed\nstate.

\n\n

Subclasses which implement more complex state should call the superclass's implementation, and apply their state\nto the result if this basic state is to be saved.

\n\n

Note that Component state will only be saved if the Component has a stateId and there as a StateProvider\nconfigured for the document.

\n

Returns

Overrides: Ext.state.Stateful.getState

Gets the state id for this object. ...

Gets the state id for this object.

\n

Returns

  • String

    The 'stateId' or the implicit 'id' specified by component configuration.

    \n
Returns an offscreen div with the same class name as the element this is being rendered. ...

Returns an offscreen div with the same class name as the element this is being rendered.\nThis is because child item rendering takes place in a detached div which, being not part of the document, has no styling.

\n

Parameters

This is used to determine where to insert the 'html', 'contentEl' and 'items' in this component. ...

This is used to determine where to insert the 'html', 'contentEl' and 'items' in this component.

\n
...
\n

Parameters

Gets the current width of the component's underlying element. ...

Gets the current width of the component's underlying element.

\n

Returns

Gets the xtype for this component as registered with Ext.ComponentManager. ...

Gets the xtype for this component as registered with Ext.ComponentManager. For a list of all available\nxtypes, see the Ext.Component header. Example usage:

\n\n
var t = new Ext.form.field.Text();\nalert(t.getXType());  // alerts 'textfield'\n
\n

Returns

Returns this Component's xtype hierarchy as a slash-delimited string. ...

Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all available xtypes, see the\nExt.Component header.

\n\n

If using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.

\n\n

Example usage:

\n\n
var t = new Ext.form.field.Text();\nalert(t.getXTypes());  // alerts 'component/field/textfield'\n
\n

Returns

  • String

    The xtype hierarchy string

    \n
Returns the current animation if this object has any effects actively running or queued, else returns false. ...

Returns the current animation if this object has any effects actively running or queued, else returns false.

\n
\n

This method has been deprecated since 4.0

\n

Replaced by getActiveAnimation

\n\n
\n

Returns

Checks if the specified CSS class exists on this element's DOM node. ...

Checks if the specified CSS class exists on this element's DOM node.

\n

Parameters

  • className : String

    The CSS class to check for

    \n

Returns

  • Boolean

    True if the class exists, else false

    \n
...
\n

Parameters

Checks to see if this object has any listeners for a specified event, or whether the event bubbles. ...

Checks to see if this object has any listeners for a specified event, or whether the event bubbles. The answer\nindicates whether the event needs firing or not.

\n

Parameters

  • eventName : String

    The name of the event to check for

    \n

Returns

  • Boolean

    true if the event is being listened for or bubbles, else false

    \n
Checks if there is currently a specified uiCls ...

Checks if there is currently a specified uiCls

\n

Parameters

  • cls : String

    The cls to check

    \n
Hides this Component, setting it to invisible using the configured hideMode. ...

Hides this Component, setting it to invisible using the configured hideMode.

\n

Parameters

  • animateTarget : String/Ext.Element/Ext.Component (optional)

    only valid for floating Components\nsuch as Windows or ToolTips, or regular Components which have\nbeen configured with floating: true.. The target to which the Component should animate while hiding.

    \n

    Defaults to: null

  • callback : Function (optional)

    A callback function to call after the Component is hidden.

    \n
  • scope : Object (optional)

    The scope (this reference) in which the callback is executed.\nDefaults to this Component.

    \n

Returns

The initComponent template method is an important initialization step for a Component. ...

The initComponent template method is an important initialization step for a Component. It is intended to be\nimplemented by each subclass of Ext.Component to provide any needed constructor logic. The\ninitComponent method of the class being created is called first, with each initComponent method\nup the hierarchy to Ext.Component being called thereafter. This makes it easy to implement and,\nif needed, override the constructor logic of the Component at any step in the hierarchy.

\n\n

The initComponent method must contain a call to callParent in order\nto ensure that the parent class' initComponent method is also called.

\n\n

All config options passed to the constructor are applied to this before initComponent is called,\nso you can simply access them with this.someOption.

\n\n

The following example demonstrates using a dynamic string for the text of a button at the time of\ninstantiation of the class.

\n\n
Ext.define('DynamicButtonText', {\n    extend: 'Ext.button.Button',\n\n    initComponent: function() {\n        this.text = new Date();\n        this.renderTo = Ext.getBody();\n        this.callParent();\n    }\n});\n\nExt.onReady(function() {\n    Ext.create('DynamicButtonText');\n});\n
\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
Initialize configuration for this class. ...

Initialize configuration for this class. a typical example:

\n\n
Ext.define('My.awesome.Class', {\n    // The default config\n    config: {\n        name: 'Awesome',\n        isAwesome: true\n    },\n\n    constructor: function(config) {\n        this.initConfig(config);\n    }\n});\n\nvar awesome = new My.awesome.Class({\n    name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\n

Parameters

Returns

Initialized the renderData to be used when rendering the renderTpl. ...

Initialized the renderData to be used when rendering the renderTpl.

\n

Returns

  • Object

    Object with keys and values that are going to be applied to the renderTpl

    \n
Initializes the renderTpl. ...

Initializes the renderTpl.

\n

Returns

Initializes the state of the object upon construction. ...

Initializes the state of the object upon construction.

\n
Converts style definitions to String. ...

Converts style definitions to String.

\n

Parameters

Returns

  • String

    A CSS style string with style, padding, margin and border.

    \n
Inserts a Component into this Container at a specified index. ...

Inserts a Component into this Container at a specified index. Fires the\nbeforeadd event before inserting, then fires the add\nevent after the Component has been inserted.

\n

Parameters

  • index : Number

    The index at which the Component will be inserted\ninto the Container's items collection

    \n
  • component : Ext.Component

    The child Component to insert.

    \n\n

    Ext uses lazy rendering, and will only render the inserted Component should\nit become necessary.

    \n\n

    A Component config object may be passed in order to avoid the overhead of\nconstructing a real Component object if lazy rendering might mean that the\ninserted Component will not be rendered immediately. To take advantage of\nthis 'lazy instantiation', set the Ext.Component.xtype config\nproperty to the registered type of the Component wanted.

    \n\n

    For a list of all available xtypes, see Ext.Component.

    \n

Returns

  • Ext.Component

    component The Component (or config object) that was\ninserted with the Container's default config values applied.

    \n
Tests whether this Component matches the selector string. ...

Tests whether this Component matches the selector string.

\n

Parameters

  • selector : String

    The selector string to test against.

    \n

Returns

  • Boolean

    True if this Component matches the selector.

    \n
Determines whether this Container is an ancestor of the passed Component. ...

Determines whether this Container is an ancestor of the passed Component.\nThis will return true if the passed Component is anywhere within the subtree\nbeneath this Container.

\n

Parameters

  • possibleDescendant : Ext.Component

    The Component to test for presence\nwithin this Container's subtree.

    \n
Determines whether this component is the descendant of a particular container. ...

Determines whether this component is the descendant of a particular container.

\n

Parameters

Returns

Method to determine whether this Component is currently disabled. ...

Method to determine whether this Component is currently disabled.

\n

Returns

  • Boolean

    the disabled state of this Component.

    \n
Method to determine whether this Component is draggable. ...

Method to determine whether this Component is draggable.

\n

Returns

  • Boolean

    the draggable state of this component.

    \n
Method to determine whether this Component is droppable. ...

Method to determine whether this Component is droppable.

\n

Returns

  • Boolean

    the droppable state of this component.

    \n
Method to determine whether this Component is floating. ...

Method to determine whether this Component is floating.

\n

Returns

  • Boolean

    the floating state of this component.

    \n
Method to determine whether this Component is currently set to hidden. ...

Method to determine whether this Component is currently set to hidden.

\n

Returns

  • Boolean

    the hidden state of this Component.

    \n
Determines whether this Component is the root of a layout. ...

Determines whether this Component is the root of a layout. This returns true if\nthis component can run its layout without assistance from or impact on its owner.\nIf this component cannot run its layout given these restrictions, false is returned\nand its owner will be considered as the next candidate for the layout root.

\n\n

Setting the _isLayoutRoot property to true causes this method to always\nreturn true. This may be useful when updating a layout of a Container which shrink\nwraps content, and you know that it will not change size, and so can safely be the\ntopmost participant in the layout run.

\n
Returns true if layout is suspended for this component. ...

Returns true if layout is suspended for this component. This can come from direct\nsuspension of this component's layout activity (Ext.Container.suspendLayout) or if one\nof this component's containers is suspended.

\n

Returns

  • Boolean

    True layout of this component is suspended.

    \n
Returns true if this component is visible. ...

Returns true if this component is visible.

\n

Parameters

  • deep : Boolean (optional)

    Pass true to interrogate the visibility status of all parent Containers to\ndetermine whether this Component is truly visible to the user.

    \n\n

    Generally, to determine whether a Component is hidden, the no argument form is needed. For example when creating\ndynamically laid out UIs in a hidden Container before showing them.

    \n

    Defaults to: false

Returns

  • Boolean

    True if this component is visible, false otherwise.

    \n
Tests whether or not this Component is of a specific xtype. ...

Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended\nfrom the xtype (default) or whether it is directly of the xtype specified (shallow = true).

\n\n

If using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.

\n\n

For a list of all available xtypes, see the Ext.Component header.

\n\n

Example usage:

\n\n
var t = new Ext.form.field.Text();\nvar isText = t.isXType('textfield');        // true\nvar isBoxSubclass = t.isXType('field');       // true, descended from Ext.form.field.Base\nvar isBoxInstance = t.isXType('field', true); // false, not a direct Ext.form.field.Base instance\n
\n

Parameters

  • xtype : String

    The xtype to check for this Component

    \n
  • shallow : Boolean (optional)

    True to check whether this Component is directly of the specified xtype, false to\ncheck whether this Component is descended from the xtype.

    \n

    Defaults to: false

Returns

  • Boolean

    True if this component descends from the specified xtype, false otherwise.

    \n
Shorthand for addManagedListener. ...

Shorthand for addManagedListener.

\n\n

Adds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.

\n

Parameters

  • item : Ext.util.Observable/Ext.Element

    The item to which to add a listener/listeners.

    \n\n
  • ename : Object/String

    The event name, or an object containing event name properties.

    \n\n
  • fn : Function (optional)

    If the ename parameter was an event name, this is the handler function.

    \n\n
  • scope : Object (optional)

    If the ename parameter was an event name, this is the scope (this reference)\nin which the handler function is executed.

    \n\n
  • opt : Object (optional)

    If the ename parameter was an event name, this is the\naddListener options.

    \n\n
Moves a Component within the Container ...

Moves a Component within the Container

\n

Parameters

  • fromIdx : Number

    The index the Component you wish to move is currently at.

    \n
  • toIdx : Number

    The new index for the Component.

    \n

Returns

  • Ext.Component

    component The Component (or config object) that was moved.

    \n
Shorthand for removeManagedListener. ...

Shorthand for removeManagedListener.

\n\n

Removes listeners that were added by the mon method.

\n

Parameters

  • item : Ext.util.Observable/Ext.Element

    The item from which to remove a listener/listeners.

    \n\n
  • ename : Object/String

    The event name, or an object containing event name properties.

    \n\n
  • fn : Function (optional)

    If the ename parameter was an event name, this is the handler function.

    \n\n
  • scope : Object (optional)

    If the ename parameter was an event name, this is the scope (this reference)\nin which the handler function is executed.

    \n\n
Returns the next node in the Component tree in tree traversal order. ...

Returns the next node in the Component tree in tree traversal order.

\n\n

Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will walk the\ntree to attempt to find a match. Contrast with nextSibling.

\n

Parameters

Returns

  • Ext.Component

    The next node (or the next node which matches the selector).\nReturns null if there is no matching node.

    \n
Returns the next sibling of this Component. ...

Returns the next sibling of this Component.

\n\n

Optionally selects the next sibling which matches the passed ComponentQuery selector.

\n\n

May also be refered to as next()

\n\n

Note that this is limited to siblings, and if no siblings of the item match, null is returned. Contrast with\nnextNode

\n

Parameters

Returns

  • Ext.Component

    The next sibling (or the next sibling which matches the selector).\nReturns null if there is no matching sibling.

    \n
( String/Object eventName, [Function fn], [Object scope], [Object options] )
Shorthand for addListener. ...

Shorthand for addListener.

\n\n

Appends an event handler to this object. For example:

\n\n
myGridPanel.on(\"mouseover\", this.onMouseOver, this);\n
\n\n

The method also allows for a single argument to be passed which is a config object\ncontaining properties which specify multiple events. For example:

\n\n
myGridPanel.on({\n    cellClick: this.onCellClick,\n    mouseover: this.onMouseOver,\n    mouseout: this.onMouseOut,\n    scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
\n\n

One can also specify options for each event handler separately:

\n\n
myGridPanel.on({\n    cellClick: {fn: this.onCellClick, scope: this, single: true},\n    mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\n

Names of methods in a specified scope may also be used. Note that\nscope MUST be specified to use this option:

\n\n
myGridPanel.on({\n    cellClick: {fn: 'onCellClick', scope: this, single: true},\n    mouseover: {fn: 'onMouseOver', scope: panel}\n});\n
\n

Parameters

  • eventName : String/Object

    The name of the event to listen for.\nMay also be an object who's property names are event names.

    \n\n
  • fn : Function (optional)

    The method the event invokes, or if scope is specified, the name* of the method within\nthe specified scope. Will be called with arguments\ngiven to fireEvent plus the options parameter described below.

    \n\n
  • scope : Object (optional)

    The scope (this reference) in which the handler function is\nexecuted. If omitted, defaults to the object which fired the event.

    \n\n
  • options : Object (optional)

    An object containing handler configuration.

    \n\n\n\n\n

    Note: Unlike in ExtJS 3.x, the options object will also be passed as the last\nargument to every event handler.

    \n\n\n\n\n

    This object may contain any of the following properties:

    \n\n
    • scope : Object

      The scope (this reference) in which the handler function is executed. If omitted,\n defaults to the object which fired the event.

      \n\n
    • delay : Number

      The number of milliseconds to delay the invocation of the handler after the event fires.

      \n\n
    • single : Boolean

      True to add a handler to handle just the next firing of the event, and then remove itself.

      \n\n
    • buffer : Number

      Causes the handler to be scheduled to run in an Ext.util.DelayedTask delayed\n by the specified number of milliseconds. If the event fires again within that time,\n the original handler is not invoked, but the new handler is scheduled in its place.

      \n\n
    • target : Ext.util.Observable

      Only call the handler if the event was fired on the target Observable, not if the event\n was bubbled up from a child Observable.

      \n\n
    • element : String

      This option is only valid for listeners bound to Components.\n The name of a Component property which references an element to add a listener to.

      \n\n\n\n\n

      This option is useful during Component construction to add DOM event listeners to elements of\n Components which will exist only after the Component is rendered.\n For example, to add a click listener to a Panel's body:

      \n\n\n\n\n
        new Ext.panel.Panel({\n      title: 'The title',\n      listeners: {\n          click: this.handlePanelClick,\n          element: 'body'\n      }\n  });\n
      \n\n\n\n\n

      Combining Options

      \n\n\n\n\n

      Using the options argument, it is possible to combine different types of listeners:

      \n\n\n\n\n

      A delayed, one-time listener.

      \n\n\n\n\n
      myPanel.on('hide', this.handleClick, this, {\n    single: true,\n    delay: 100\n});\n
      \n\n
This method is invoked after a new Component has been added. ...

This method is invoked after a new Component has been added. It\nis passed the Component which has been added. This method may\nbe used to update any internal structure which may depend upon\nthe state of the child items.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

Method to manage awareness of when components are added to their\nrespective Container, firing an added event. ...

Method to manage awareness of when components are added to their\nrespective Container, firing an added event. References are\nestablished at add time rather than at render time.

\n\n

Allows addition of behavior when a Component is added to a\nContainer. At this stage, the Component is in the parent\nContainer's collection of child items. After calling the\nsuperclass's onAdded, the ownerCt reference will be present,\nand if configured with a ref, the refOwner will be set.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

This method is invoked before adding a new child Component. ...

This method is invoked before adding a new child Component. It\nis passed the new Component, and may be used to modify the\nComponent, or prepare the Container in some way. Returning\nfalse aborts the add operation.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

( Object names, Object callback, Object scope )private
...
\n

Parameters

Allows addition of behavior to the destroy operation. ...

Allows addition of behavior to the destroy operation.\nAfter calling the superclass’s onDestroy, the Component will be destroyed.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
Allows addition of behavior to the disable operation. ...

Allows addition of behavior to the disable operation.\nAfter calling the superclass’s onDisable, the Component will be disabled.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
Allows addition of behavior to the enable operation. ...

Allows addition of behavior to the enable operation.\nAfter calling the superclass’s onEnable, the Component will be enabled.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
( [String/Ext.Element/Ext.Component animateTarget], [Function callback], [Object scope] )protectedtemplate
Possibly animates down to a target element. ...

Possibly animates down to a target element.

\n\n

Allows addition of behavior to the hide operation. After\ncalling the superclass’s onHide, the Component will be hidden.

\n\n

Gets passed the same parameters as hide.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

Called after the component is moved, this method is empty by default but can be implemented by any\nsubclass that need...

Called after the component is moved, this method is empty by default but can be implemented by any\nsubclass that needs to perform custom logic after a move occurs.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

  • x : Number

    The new x position

    \n
  • y : Number

    The new y position

    \n
This method is invoked after a new Component has been\nremoved. ...

This method is invoked after a new Component has been\nremoved. It is passed the Component which has been\nremoved. This method may be used to update any internal\nstructure which may depend upon the state of the child items.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

( Boolean destroying )protectedtemplate
Method to manage awareness of when components are removed from their\nrespective Container, firing a removed event. ...

Method to manage awareness of when components are removed from their\nrespective Container, firing a removed event. References are properly\ncleaned up after removing a component from its owning container.

\n\n

Allows addition of behavior when a Component is removed from\nits parent Container. At this stage, the Component has been\nremoved from its parent Container's collection of child items,\nbut has not been destroyed (It will be destroyed if the parent\nContainer's autoDestroy is true, or if the remove call was\npassed a truthy second parameter). After calling the\nsuperclass's onRemoved, the ownerCt and the refOwner will not\nbe present.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

  • destroying : Boolean

    Will be passed as true if the Container performing the remove operation will delete this\nComponent upon remove.

    \n
( Ext.core.Element parentNode, Number containerIdx )protectedtemplate
Template method called when this Component's DOM structure is created. ...

Template method called when this Component's DOM structure is created.

\n\n

At this point, this Component's (and all descendants') DOM structure exists but it has not\nbeen layed out (positioned and sized).

\n\n

Subclasses which override this to gain access to the structure at render time should\ncall the parent class's method before attempting to access any child elements of the Component.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

  • parentNode : Ext.core.Element

    The parent Element in which this Component's encapsulating element is contained.

    \n
  • containerIdx : Number

    The index within the parent Container's child collection of this Component.

    \n
Allows addition of behavior to the resize operation. ...

Allows addition of behavior to the resize operation.

\n\n

Called when Ext.resizer.Resizer#drag event is fired.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n
( [String/Ext.Element animateTarget], [Function callback], [Object scope] )protectedtemplate
Allows addition of behavior to the show operation. ...

Allows addition of behavior to the show operation. After\ncalling the superclass's onShow, the Component will be visible.

\n\n

Override in subclasses where more complex behaviour is needed.

\n\n

Gets passed the same parameters as show.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

( [Function callback], [Object scope] )protectedtemplate
Invoked after the afterShow method is complete. ...

Invoked after the afterShow method is complete.

\n\n

Gets passed the same callback and scope parameters that afterShow received.

\n
\n

This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.

\n
\n

Parameters

This method is called when any of the stateEvents are fired. ...

This method is called when any of the stateEvents are fired.

\n
Prepares a given class for observable instances. ...

Prepares a given class for observable instances. This method is called when a\nclass derives from this class or uses this class as a mixin.

\n

Parameters

  • T : Function

    The class constructor to prepare.

    \n
Returns the previous node in the Component tree in tree traversal order. ...

Returns the previous node in the Component tree in tree traversal order.

\n\n

Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will walk the\ntree in reverse order to attempt to find a match. Contrast with previousSibling.

\n

Parameters

Returns

  • Ext.Component

    The previous node (or the previous node which matches the selector).\nReturns null if there is no matching node.

    \n
Returns the previous sibling of this Component. ...

Returns the previous sibling of this Component.

\n\n

Optionally selects the previous sibling which matches the passed ComponentQuery\nselector.

\n\n

May also be refered to as prev()

\n\n

Note that this is limited to siblings, and if no siblings of the item match, null is returned. Contrast with\npreviousNode

\n

Parameters

Returns

  • Ext.Component

    The previous sibling (or the previous sibling which matches the selector).\nReturns null if there is no matching sibling.

    \n
Retrieves all descendant components which match the passed selector. ...

Retrieves all descendant components which match the passed selector.\nExecutes an Ext.ComponentQuery.query using this container as its root.

\n

Parameters

  • selector : String (optional)

    Selector complying to an Ext.ComponentQuery selector.\nIf no selector is specified all items will be returned.

    \n

Returns

Retrieves all descendant components which match the passed function. ...

Retrieves all descendant components which match the passed function.\nThe function should return false for components that are to be\nexcluded from the selection.

\n

Parameters

  • fn : Function

    The matcher function. It will be called with a single argument,\nthe component being tested.

    \n
  • scope : Object (optional)

    The scope in which to run the function. If not specified,\nit will default to the active component.

    \n

Returns

Finds a component at any level under this container matching the id/itemId. ...

Finds a component at any level under this container matching the id/itemId.\nThis is a shorthand for calling ct.down('#' + id);

\n

Parameters

Returns

Called by Component#doAutoRender\n\nRegister a Container configured floating: true with this Component's ZIndexManager. ...

Called by Component#doAutoRender

\n\n

Register a Container configured floating: true with this Component's ZIndexManager.

\n\n

Components added in ths way will not participate in any layout, but will be rendered\nupon first show in the way that Windows are.

\n

Parameters

Relays selected events from the specified Observable as if the events were fired by this. ...

Relays selected events from the specified Observable as if the events were fired by this.

\n\n

For example if you are extending Grid, you might decide to forward some events from store.\nSo you can do this inside your initComponent:

\n\n
this.relayEvents(this.getStore(), ['load']);\n
\n\n

The grid instance will then have an observable 'load' event which will be passed the\nparameters of the store's load event and any function fired with the grid's load event\nwould have access to the grid using the this keyword.

\n

Parameters

  • origin : Object

    The Observable whose events this object is to relay.

    \n
  • events : String[]

    Array of event names to relay.

    \n
  • prefix : String (optional)

    A common prefix to prepend to the event names. For example:

    \n\n
    this.relayEvents(this.getStore(), ['load', 'clear'], 'store');\n
    \n\n

    Now the grid will forward 'load' and 'clear' events of store as 'storeload' and 'storeclear'.

    \n
Removes a component from this container. ...

Removes a component from this container. Fires the beforeremove event\nbefore removing, then fires the remove event after the component has\nbeen removed.

\n

Parameters

Returns

Removes all components from this container. ...

Removes all components from this container.

\n

Parameters

Returns

Removes items in the childEls array based on the return value of a supplied test\nfunction. ...

Removes items in the childEls array based on the return value of a supplied test\nfunction. The function is called with a entry in childEls and if the test function\nreturn true, that entry is removed. If false, that entry is kept.

\n

Parameters

Removes a CSS class from the top level element representing this component. ...

Removes a CSS class from the top level element representing this component.

\n

Parameters

Returns

Removes a cls to the uiCls array, which will also call removeUIClsFromElement and removes it from all\nelements of thi...

Removes a cls to the uiCls array, which will also call removeUIClsFromElement and removes it from all\nelements of this component.

\n

Parameters

  • cls : String/String[]

    A string or an array of strings to remove to the uiCls

    \n
Removes an event handler. ...

Removes an event handler.

\n

Parameters

  • eventName : String

    The type of event the handler was associated with.

    \n\n
  • fn : Function

    The handler to remove. This must be a reference to the function passed into the\naddListener call.

    \n\n
  • scope : Object (optional)

    The scope originally specified for the handler. It must be the same as the\nscope argument specified in the original call to addListener or the listener will not be removed.

    \n\n
Removes listeners that were added by the mon method. ...

Removes listeners that were added by the mon method.

\n

Parameters

  • item : Ext.util.Observable/Ext.Element

    The item from which to remove a listener/listeners.

    \n\n
  • ename : Object/String

    The event name, or an object containing event name properties.

    \n\n
  • fn : Function (optional)

    If the ename parameter was an event name, this is the handler function.

    \n\n
  • scope : Object (optional)

    If the ename parameter was an event name, this is the scope (this reference)\nin which the handler function is executed.

    \n\n
Remove a single managed listener item ...

Remove a single managed listener item

\n

Parameters

  • isClear : Boolean

    True if this is being called during a clear

    \n
  • managedListener : Object

    The managed listener item\nSee removeManagedListener for other args

    \n
Method which removes a specified UI + uiCls from the components element. ...

Method which removes a specified UI + uiCls from the components element. The cls which is added to the element\nwill be: this.baseCls + '-' + ui

\n

Parameters

  • ui : String

    The UI to add to the element

    \n
Method which removes a specified UI from the components element. ...

Method which removes a specified UI from the components element.

\n
Renders the Component into the passed HTML element. ...

Renders the Component into the passed HTML element.

\n\n

If you are using a Container object to house this\nComponent, then do not use the render method.

\n\n

A Container's child Components are rendered by that Container's\nlayout manager when the Container is first rendered.

\n\n

If the Container is already rendered when a new child Component is added, you may need to call\nthe Container's doLayout to refresh the view which\ncauses any unrendered child Components to be rendered. This is required so that you can add\nmultiple child components if needed while only refreshing the layout once.

\n\n

When creating complex UIs, it is important to remember that sizing and positioning\nof child items is the responsibility of the Container's layout\nmanager. If you expect child items to be sized in response to user interactions, you must\nconfigure the Container with a layout manager which creates and manages the type of layout you\nhave in mind.

\n\n

Omitting the Container's layout config means that a basic\nlayout manager is used which does nothing but render child components sequentially into the\nContainer. No sizing or positioning will be performed in this situation.

\n

Parameters

  • container : Ext.Element/HTMLElement/String (optional)

    The element this Component should be\nrendered into. If it is being created from existing markup, this should be omitted.

    \n
  • position : String/Number (optional)

    The element ID or DOM node index within the container before\nwhich this component will be inserted (defaults to appending to the end of the container)

    \n
Resumes firing events (see suspendEvents). ...

Resumes firing events (see suspendEvents).

\n\n

If events were suspended using the queueSuspended parameter, then all events fired\nduring event suspension will be sent to any listeners now.

\n
Conditionally saves a single property from this object to the given state object. ...

Conditionally saves a single property from this object to the given state object.\nThe idea is to only save state which has changed from the initial state so that\ncurrent software settings do not override future software settings. Only those\nvalues that are user-changed state should be saved.

\n

Parameters

  • propName : String

    The name of the property to save.

    \n
  • state : Object

    The state object in to which to save the property.

    \n
  • stateName : String (optional)

    The name to use for the property in state.

    \n

Returns

  • Boolean

    True if the property was saved, false if not.

    \n
Gathers additional named properties of the instance and adds their current values\nto the passed state object. ...

Gathers additional named properties of the instance and adds their current values\nto the passed state object.

\n

Parameters

  • propNames : String/String[]

    The name (or array of names) of the property to save.

    \n
  • state : Object

    The state object in to which to save the property values.

    \n

Returns

Saves the state of the object to the persistence store. ...

Saves the state of the object to the persistence store.

\n
Scrolls this Component's target element by the passed delta values, optionally animating. ...

Scrolls this Component's target element by the passed delta values, optionally animating.

\n\n

All of the following are equivalent:

\n\n
 comp.scrollBy(10, 10, true);\n comp.scrollBy([10, 10], true);\n comp.scrollBy({ x: 10, y: 10 }, true);\n
\n

Parameters

  • deltaX : Number/Number[]/Object

    Either the x delta, an Array specifying x and y deltas or\nan object with \"x\" and \"y\" properties.

    \n
  • deltaY : Number/Boolean/Object

    Either the y delta, or an animate flag or config object.

    \n
  • animate : Boolean/Object

    Animate flag/config object if the delta values were passed separately.

    \n
Ensures that all effects queued after sequenceFx is called on this object are run in sequence. ...

Ensures that all effects queued after sequenceFx is called on this object are run in sequence. This is the\nopposite of syncFx.

\n

Returns

This method is called internally by Ext.ZIndexManager to signal that a floating Component has either been\nmoved to th...

This method is called internally by Ext.ZIndexManager to signal that a floating Component has either been\nmoved to the top of its zIndex stack, or pushed from the top of its zIndex stack.

\n\n

If a Window is superceded by another Window, deactivating it hides its shadow.

\n\n

This method also fires the activate or\ndeactivate event depending on which action occurred.

\n

Parameters

  • active : Boolean (optional)

    True to activate the Component, false to deactivate it.

    \n

    Defaults to: false

  • newActive : Ext.Component (optional)

    The newly active Component which is taking over topmost zIndex position.

    \n
Sets the overflow on the content element of the component. ...

Sets the overflow on the content element of the component.

\n

Parameters

  • scroll : Boolean

    True to allow the Component to auto scroll.

    \n

Returns

...
\n

Parameters

  • border : String/Number

    The border, see border. If a falsey value is passed\nthe border will be removed.

    \n
( Object config, Object applyIfNotSet )private
...
\n

Parameters

Enable or disable the component. ...

Enable or disable the component.

\n

Parameters

  • disabled : Boolean

    True to disable.

    \n
Sets the dock position of this component in its parent panel. ...

Sets the dock position of this component in its parent panel. Note that this only has effect if this item is part\nof the dockedItems collection of a parent that has a DockLayout (note that any Panel has a DockLayout by default)

\n

Parameters

  • dock : Object

    The dock position.

    \n
  • layoutParent : Boolean (optional)

    True to re-layout parent.

    \n

    Defaults to: false

Returns

Sets the height of the component. ...

Sets the height of the component. This method fires the resize event.

\n

Parameters

  • height : Number

    The new height to set. This may be one of:

    \n\n
      \n
    • A Number specifying the new height in the Element's Ext.Element.defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS height style.
    • \n
    • undefined to leave the height unchanged.
    • \n
    \n\n

Returns

This method allows you to show or hide a LoadMask on top of this component. ...

This method allows you to show or hide a LoadMask on top of this component.

\n

Parameters

  • load : Boolean/Object/String

    True to show the default LoadMask, a config object that will be passed to the\nLoadMask constructor, or a message String to show. False to hide the current LoadMask.

    \n
  • targetEl : Boolean (optional)

    True to mask the targetEl of this Component instead of the this.el. For example,\nsetting this to true on a Panel will cause only the body to be masked.

    \n

    Defaults to: false

Returns

  • Ext.LoadMask

    The LoadMask instance that has just been shown.

    \n
Sets the overflow x/y on the content element of the component. ...

Sets the overflow x/y on the content element of the component. The x/y overflow\nvalues can be any valid CSS overflow (e.g., 'auto' or 'scroll'). By default, the\nvalue is 'hidden'. Passing null for one of the values will erase the inline style.\nPassing undefined will preserve the current value.

\n

Parameters

  • overflowX : String

    The overflow-x value.

    \n
  • overflowY : String

    The overflow-y value.

    \n

Returns

Sets the page XY position of the component. ...

Sets the page XY position of the component. To set the left and top instead, use setPosition.\nThis method fires the move event.

\n

Parameters

  • x : Number

    The new x position

    \n
  • y : Number

    The new y position

    \n
  • animate : Boolean/Object (optional)

    True to animate the Component into its new position. You may also pass an\nanimation configuration.

    \n

Returns

Sets the left and top of the component. ...

Sets the left and top of the component. To set the page XY position instead, use setPagePosition. This\nmethod fires the move event.

\n

Parameters

  • left : Number

    The new left

    \n
  • top : Number

    The new top

    \n
  • animate : Boolean/Object (optional)

    If true, the Component is animated into its new position. You may also pass an\nanimation configuration.

    \n

Returns

Sets the width and height of this Component. ...

Sets the width and height of this Component. This method fires the resize event. This method can accept\neither width and height as separate arguments, or you can pass a size object like {width:10, height:20}.

\n

Parameters

  • width : Number/String/Object

    The new width to set. This may be one of:

    \n\n
      \n
    • A Number specifying the new width in the Element's Ext.Element.defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS width style.
    • \n
    • A size object in the format {width: widthValue, height: heightValue}.
    • \n
    • undefined to leave the width unchanged.
    • \n
    \n\n
  • height : Number/String

    The new height to set (not required if a size object is passed as the first arg).\nThis may be one of:

    \n\n
      \n
    • A Number specifying the new height in the Element's Ext.Element.defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS height style. Animation may not be used.
    • \n
    • undefined to leave the height unchanged.
    • \n
    \n\n

Returns

Sets the UI for the component. ...

Sets the UI for the component. This will remove any existing UIs on the component. It will also loop through any\nuiCls set on the component and rename them so they include the new UI

\n

Parameters

  • ui : String

    The new UI for the component

    \n
Convenience function to hide or show this component by boolean. ...

Convenience function to hide or show this component by boolean.

\n

Parameters

  • visible : Boolean

    True to show, false to hide

    \n

Returns

Sets the width of the component. ...

Sets the width of the component. This method fires the resize event.

\n

Parameters

  • width : Number

    The new width to setThis may be one of:

    \n\n\n\n

Returns

Inject a reference to the function which applies the render template into the framing template. ...

Inject a reference to the function which applies the render template into the framing template. The framing template\nwraps the content.

\n

Parameters

Shows this Component, rendering it first if autoRender or floating are true. ...

Shows this Component, rendering it first if autoRender or floating are true.

\n\n

After being shown, a floating Component (such as a Ext.window.Window), is activated it and\nbrought to the front of its z-index stack.

\n

Parameters

  • animateTarget : String/Ext.Element (optional)

    only valid for floating Components such as Windows or ToolTips, or regular Components which have been configured\nwith floating: true. The target from which the Component should animate from while opening.

    \n

    Defaults to: null

  • callback : Function (optional)

    A callback function to call after the Component is displayed.\nOnly necessary if animation was specified.

    \n
  • scope : Object (optional)

    The scope (this reference) in which the callback is executed.\nDefaults to this Component.

    \n

Returns

Displays component at specific xy position. ...

Displays component at specific xy position.\nA floating component (like a menu) is positioned relative to its ownerCt if any.\nUseful for popping up a context menu:

\n\n
listeners: {\n    itemcontextmenu: function(view, record, item, index, event, options) {\n        Ext.create('Ext.menu.Menu', {\n            width: 100,\n            height: 100,\n            margin: '0 0 10 0',\n            items: [{\n                text: 'regular item 1'\n            },{\n                text: 'regular item 2'\n            },{\n                text: 'regular item 3'\n            }]\n        }).showAt(event.getXY());\n    }\n}\n
\n

Parameters

  • x : Number

    The new x position

    \n
  • y : Number

    The new y position

    \n
  • animate : Boolean/Object (optional)

    True to animate the Component into its new position. You may also pass an\nanimation configuration.

    \n
Get the reference to the class from which this object was instantiated. ...

Get the reference to the class from which this object was instantiated. Note that unlike self,\nthis.statics() is scope-independent and it always returns the class from which it was called, regardless of what\nthis points to during run-time

\n\n
Ext.define('My.Cat', {\n    statics: {\n        totalCreated: 0,\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        var statics = this.statics();\n\n        alert(statics.speciesName);     // always equals to 'Cat' no matter what 'this' refers to\n                                        // equivalent to: My.Cat.speciesName\n\n        alert(this.self.speciesName);   // dependent on 'this'\n\n        statics.totalCreated++;\n    },\n\n    clone: function() {\n        var cloned = new this.self;                      // dependent on 'this'\n\n        cloned.groupName = this.statics().speciesName;   // equivalent to: My.Cat.speciesName\n\n        return cloned;\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n\n    statics: {\n        speciesName: 'Snow Leopard'     // My.SnowLeopard.speciesName = 'Snow Leopard'\n    },\n\n    constructor: function() {\n        this.callParent();\n    }\n});\n\nvar cat = new My.Cat();                 // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));         // alerts 'My.SnowLeopard'\nalert(clone.groupName);                 // alerts 'Cat'\n\nalert(My.Cat.totalCreated);             // alerts 3\n
\n

Returns

Stops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat ...

Stops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat haven't started yet.

\n

Returns

Stops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat ...

Stops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat haven't started yet.

\n
\n

This method has been deprecated since 4.0

\n

Replaced by stopAnimation

\n\n
\n

Returns

Suspends the firing of all events. ...

Suspends the firing of all events. (see resumeEvents)

\n

Parameters

  • queueSuspended : Boolean

    Pass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events.

    \n
Ensures that all effects queued after syncFx is called on this object are run concurrently. ...

Ensures that all effects queued after syncFx is called on this object are run concurrently. This is the opposite\nof sequenceFx.

\n

Returns

Sends this Component to the back of (lower z-index than) any other visible windows ...

Sends this Component to the back of (lower z-index than) any other visible windows

\n

Returns

Brings this floating Component to the front of any other visible, floating Components managed by the same\nZIndexManag...

Brings this floating Component to the front of any other visible, floating Components managed by the same\nZIndexManager

\n\n

If this Component is modal, inserts the modal mask just below this Component in the z-index stack.

\n

Parameters

  • preventFocus : Boolean (optional)

    Specify true to prevent the Component from being focused.

    \n

    Defaults to: false

Returns

Shorthand for removeListener. ...

Shorthand for removeListener.

\n\n

Removes an event handler.

\n

Parameters

  • eventName : String

    The type of event the handler was associated with.

    \n\n
  • fn : Function

    The handler to remove. This must be a reference to the function passed into the\naddListener call.

    \n\n
  • scope : Object (optional)

    The scope originally specified for the handler. It must be the same as the\nscope argument specified in the original call to addListener or the listener will not be removed.

    \n\n
Walks up the ownerCt axis looking for an ancestor Container which matches the passed simple selector. ...

Walks up the ownerCt axis looking for an ancestor Container which matches the passed simple selector.

\n\n

Example:

\n\n
var owningTabPanel = grid.up('tabpanel');\n
\n

Parameters

  • selector : String (optional)

    The simple selector to test.

    \n

Returns

( String/Object htmlOrData, [Boolean loadScripts], [Function callback] )
Update the content area of a component. ...

Update the content area of a component.

\n

Parameters

  • htmlOrData : String/Object

    If this component has been configured with a template via the tpl config then\nit will use this argument as data to populate the template. If this component was not configured with a template,\nthe components content area will be updated via Ext.Element update

    \n
  • loadScripts : Boolean (optional)

    Only legitimate when using the html configuration.

    \n

    Defaults to: false

  • callback : Function (optional)

    Only legitimate when using the html configuration. Callback to execute when\nscripts have finished loading

    \n
Injected as an override by Ext.Aria.initialize ...

Injected as an override by Ext.Aria.initialize

\n
Sets the current box measurements of the component's underlying element. ...

Sets the current box measurements of the component's underlying element.

\n

Parameters

  • box : Object

    An object in the format {x, y, width, height}

    \n

Returns

Updates this component's layout. ...

Updates this component's layout. If this update effects this components ownerCt,\nthat component's updateLayout method will be called to perform the layout instead.\nOtherwise, just this component (and its child items) will layout.

\n

Parameters

  • options : Object

    An object with layout options.

    \n
    • defer : Boolean

      True if this layout should be deferred.

      \n
    • isRoot : Boolean

      True if this layout should be the root of the layout.

      \n
Defined By

Static Methods

( Object config )privatestatic
...
\n

Parameters

...
\n

Parameters

( Object name, Object member )privatestatic
...
\n

Parameters

Add methods / properties to the prototype of this class. ...

Add methods / properties to the prototype of this class.

\n\n
Ext.define('My.awesome.Cat', {\n    constructor: function() {\n        ...\n    }\n});\n\n My.awesome.Cat.addMembers({\n     meow: function() {\n        alert('Meowww...');\n     }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\n

Parameters

Add / override static properties of this class. ...

Add / override static properties of this class.

\n\n
Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.addStatics({\n    someProperty: 'someValue',      // My.cool.Class.someProperty = 'someValue'\n    method1: function() { ... },    // My.cool.Class.method1 = function() { ... };\n    method2: function() { ... }     // My.cool.Class.method2 = function() { ... };\n});\n
\n

Parameters

Returns

( Object xtype )privatestatic
...
\n

Parameters

( Ext.Base fromClass, Array/String members ) : Ext.Baseprivatestatic
Borrow another class' members to the prototype of this class. ...

Borrow another class' members to the prototype of this class.

\n\n
Ext.define('Bank', {\n    money: '$$$',\n    printMoney: function() {\n        alert('$$$$$$$');\n    }\n});\n\nExt.define('Thief', {\n    ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n
\n

Parameters

  • fromClass : Ext.Base

    The class to borrow members from

    \n
  • members : Array/String

    The names of the members to borrow

    \n

Returns

Create a new instance of this Class. ...

Create a new instance of this Class.

\n\n
Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n
\n\n

All parameters are passed to the constructor of the class.

\n

Returns

Create aliases for existing prototype methods. ...

Create aliases for existing prototype methods. Example:

\n\n
Ext.define('My.cool.Class', {\n    method1: function() { ... },\n    method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n    method3: 'method1',\n    method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\n

Parameters

( Object config )privatestatic
...
\n

Parameters

Get the current class' name in string format. ...

Get the current class' name in string format.

\n\n
Ext.define('My.cool.Class', {\n    constructor: function() {\n        alert(this.self.getName()); // alerts 'My.cool.Class'\n    }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\n

Returns

( )deprecatedstatic
Adds members to class. ...

Adds members to class.

\n
\n

This method has been deprecated since 4.1

\n

Use addMembers instead.

\n\n
\n
( Object name, Object mixinClass )privatestatic
Used internally by the mixins pre-processor ...

Used internally by the mixins pre-processor

\n

Parameters

( Object fn, Object scope )privatestatic
...
\n

Parameters

( Object members ) : Ext.Basedeprecatedstatic
Override members of this class. ...

Override members of this class. Overridden methods can be invoked via\ncallParent.

\n\n
Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        this.callParent(arguments);\n\n        alert(\"Meeeeoooowwww\");\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n
\n\n

As of 4.1, direct use of this method is deprecated. Use Ext.define\ninstead:

\n\n
Ext.define('My.CatOverride', {\n    override: 'My.Cat',\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        this.callParent(arguments);\n\n        alert(\"Meeeeoooowwww\");\n    }\n});\n
\n\n

The above accomplishes the same result but can be managed by the Ext.Loader\nwhich can properly order the override and its target class and the build process\ncan determine whether the override is needed based on the required state of the\ntarget class (My.Cat).

\n
\n

This method has been deprecated since 4.1.0

\n

Use Ext.define instead

\n\n
\n

Parameters

  • members : Object

    The properties to add to this class. This should be\nspecified as an object literal containing one or more properties.

    \n

Returns

Defined By

Events

Fires after a Component has been visually activated. ...

Fires after a Component has been visually activated.

\n

Parameters

Fires after any Ext.Component is added or inserted into the container. ...

Fires after any Ext.Component is added or inserted into the container.

\n\n

This event bubbles: 'add' will also be fired when Component is added to any of\nthe child containers or their childern or ...

\n

Parameters

Fires after a Component had been added to a Container. ...

Fires after a Component had been added to a Container.

\n

Parameters

Fires when the components in this container are arranged by the associated layout manager. ...

Fires when the components in this container are arranged by the associated layout manager.

\n

Parameters

Fires after the component rendering is finished. ...

Fires after the component rendering is finished.

\n\n

The afterrender event is fired after this Component has been rendered, been postprocesed by any\nafterRender method defined for the Component.

\n

Parameters

Fires before a Component has been visually activated. ...

Fires before a Component has been visually activated. Returning false from an event listener can prevent\nthe activate from occurring.

\n

Parameters

Fires before any Ext.Component is added or inserted into the container. ...

Fires before any Ext.Component is added or inserted into the container.\nA handler can return false to cancel the add.

\n

Parameters

Fires before a Component has been visually deactivated. ...

Fires before a Component has been visually deactivated. Returning false from an event listener can\nprevent the deactivate from occurring.

\n

Parameters

Fires before the component is destroyed. ...

Fires before the component is destroyed. Return false from an event handler to stop the\ndestroy.

\n

Parameters

Fires before the component is hidden when calling the hide method. ...

Fires before the component is hidden when calling the hide method. Return false from an event\nhandler to stop the hide.

\n

Parameters

Fires before any Ext.Component is removed from the container. ...

Fires before any Ext.Component is removed from the container. A handler can return\nfalse to cancel the remove.

\n

Parameters

Fires before the component is rendered. ...

Fires before the component is rendered. Return false from an event handler to stop the\nrender.

\n

Parameters

Fires before the component is shown when calling the show method. ...

Fires before the component is shown when calling the show method. Return false from an event\nhandler to stop the show.

\n

Parameters

Fires before the state of the object is restored. ...

Fires before the state of the object is restored. Return false from an event handler to stop the restore.

\n

Parameters

  • this : Ext.state.Stateful
    \n
  • state : Object

    The hash of state values returned from the StateProvider. If this\nevent is not vetoed, then the state object is passed to applyState. By default,\nthat simply copies property values into this object. The method maybe overriden to\nprovide custom state restoration.

    \n
  • eOpts : Object

    The options object passed to Ext.util.Observable.addListener.

    \n\n\n\n
Fires before the state of the object is saved to the configured state provider. ...

Fires before the state of the object is saved to the configured state provider. Return false to stop the save.

\n

Parameters

Fires when this Component loses focus. ...

Fires when this Component loses focus.

\n

Parameters

Fires one time - after the component has been layed out for the first time at its initial size. ...

Fires one time - after the component has been layed out for the first time at its initial size.

\n

Parameters

Fires after a Component has been visually deactivated. ...

Fires after a Component has been visually deactivated.

\n

Parameters

Fires after the component is destroyed. ...

Fires after the component is destroyed.

\n

Parameters

Fires after the component is disabled. ...

Fires after the component is disabled.

\n

Parameters

Fires after the component is enabled. ...

Fires after the component is enabled.

\n

Parameters

Fires when this Component receives focus. ...

Fires when this Component receives focus.

\n

Parameters

Fires after the component is hidden. ...

Fires after the component is hidden. Fires after the component is hidden when calling the hide\nmethod.

\n

Parameters

Fires after the component is moved. ...

Fires after the component is moved.

\n

Parameters

Fires after any Ext.Component is removed from the container. ...

Fires after any Ext.Component is removed from the container.

\n\n

This event bubbles: 'remove' will also be fired when Component is removed from any of\nthe child containers or their children or ...

\n

Parameters

Fires when a component is removed from an Ext.container.Container ...

Fires when a component is removed from an Ext.container.Container

\n

Parameters

Fires after the component markup is rendered. ...

Fires after the component markup is rendered.

\n

Parameters

( Ext.Component this, Number width, Number height, Number oldWidth, Number oldHeight, Object eOpts )
Fires after the component is resized. ...

Fires after the component is resized. Note that this does not fire when the component is first layed out at its initial\nsize. To hook that point in the lifecycle, use the boxready event.

\n

Parameters

Fires after the component is shown when calling the show method. ...

Fires after the component is shown when calling the show method.

\n

Parameters

Fires after the state of the object is restored. ...

Fires after the state of the object is restored.

\n

Parameters

  • this : Ext.state.Stateful
    \n
  • state : Object

    The hash of state values returned from the StateProvider. This is passed\nto applyState. By default, that simply copies property values into this\nobject. The method maybe overriden to provide custom state restoration.

    \n
  • eOpts : Object

    The options object passed to Ext.util.Observable.addListener.

    \n\n\n\n
Fires after the state of the object is saved to the configured state provider. ...

Fires after the state of the object is saved to the configured state provider.

\n

Parameters

Defined By

CSS Mixins

Ext.container.Viewport
view source
( )
Creates the base structure of Viewport. ...

Creates the base structure of Viewport.

\n
","subclasses":[],"name":"Ext.container.Viewport","alternateClassNames":["Ext.Viewport"],"inheritdoc":null,"files":[{"href":"Viewport.html#Ext-container-Viewport","filename":"Viewport.js"}],"html_meta":{},"singleton":false,"id":"class-Ext.container.Viewport","statics":{"property":[{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"property","name":"$onExtended","id":"static-property-S-onExtended"}],"event":[],"css_var":[],"method":[{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"addConfig","id":"static-method-addConfig"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"addInheritableStatics","id":"static-method-addInheritableStatics"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"addMember","id":"static-method-addMember"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"addMembers","id":"static-method-addMembers"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"addStatics","id":"static-method-addStatics"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"addXtype","id":"static-method-addXtype"},{"meta":{"private":true,"static":true},"owner":"Ext.Base","tagname":"method","name":"borrow","id":"static-method-borrow"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"create","id":"static-method-create"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"createAlias","id":"static-method-createAlias"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"extend","id":"static-method-extend"},{"meta":{"static":true},"owner":"Ext.Base","tagname":"method","name":"getName","id":"static-method-getName"},{"meta":{"deprecated":{"text":"Use {@link #addMembers} instead.","version":"4.1"},"static":true},"owner":"Ext.Base","tagname":"method","name":"implement","id":"static-method-implement"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"mixin","id":"static-method-mixin"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"onExtended","id":"static-method-onExtended"},{"meta":{"deprecated":{"text":"Use {@link Ext#define Ext.define} instead","version":"4.1.0"},"markdown":true,"static":true},"owner":"Ext.Base","tagname":"method","name":"override","id":"static-method-override"},{"meta":{"static":true,"private":true},"owner":"Ext.Base","tagname":"method","name":"triggerExtended","id":"static-method-triggerExtended"}],"css_mixin":[],"cfg":[]},"requires":["Ext.EventManager"]});