Ext.data.JsonP.Ext_dd_StatusProxy({"mixins":[],"code_type":"ext_define","inheritable":false,"component":true,"meta":{},"mixedInto":[],"uses":[],"aliases":{},"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"],"members":{"event":[{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"activate","id":"event-activate"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"added","id":"event-added"},{"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.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.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.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.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.dd.StatusProxy","tagname":"method","name":"constructor","id":"method-constructor"},{"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.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":{"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.util.Floating","tagname":"method","name":"center","id":"method-center"},{"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.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":{"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.AbstractComponent","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.dd.StatusProxy","tagname":"method","name":"getGhost","id":"method-getGhost"},{"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.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.dd.StatusProxy","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.AbstractComponent","tagname":"method","name":"is","id":"method-is"},{"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.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.AbstractComponent","tagname":"method","name":"onAdded","id":"method-onAdded"},{"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.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.AbstractComponent","tagname":"method","name":"registerFloatingItem","id":"method-registerFloatingItem"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"relayEvents","id":"method-relayEvents"},{"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.dd.StatusProxy","tagname":"method","name":"repair","id":"method-repair"},{"meta":{},"owner":"Ext.dd.StatusProxy","tagname":"method","name":"reset","id":"method-reset"},{"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.dd.StatusProxy","tagname":"method","name":"setStatus","id":"method-setStatus"},{"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.dd.StatusProxy","tagname":"method","name":"stop","id":"method-stop"},{"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.dd.StatusProxy","tagname":"method","name":"sync","id":"method-sync"},{"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.dd.StatusProxy","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":[],"cfg":[{"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.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.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.dd.StatusProxy","tagname":"cfg","name":"dropAllowed","id":"cfg-dropAllowed"},{"meta":{},"owner":"Ext.dd.StatusProxy","tagname":"cfg","name":"dropNotAllowed","id":"cfg-dropNotAllowed"},{"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":{},"owner":"Ext.AbstractComponent","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.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":{},"owner":"Ext.AbstractComponent","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.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":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"width","id":"cfg-width"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"xtype","id":"cfg-xtype"}]},"tagname":"class","extends":"Ext.Component","html":"
Hierarchy
Ext.BaseExt.AbstractComponentExt.ComponentExt.dd.StatusProxyInherited mixins
Files
A specialized floating Component that supports a drop status icon, Ext.Layer styles\nand auto-repair. This is the default drag proxy used by all Ext.dd components.
\nA tag name or DomHelper spec used to create the Element which will\nencapsulate this Component.
\n\nYou 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\nThis 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
\nAn alias for loader config which also allows to specify just a string which will be\nused as the url that's automatically loaded:
\n\nExt.create('Ext.Component', {\n autoLoad: 'content.html',\n renderTo: Ext.getBody()\n});\n
\n\nThe above is the same as:
\n\nExt.create('Ext.Component', {\n loader: {\n url: 'content.html',\n autoLoad: true\n },\n renderTo: Ext.getBody()\n});\n
\n\nDon't use it together with loader config.
\nThis cfg has been deprecated since 4.1.1
\nUse loader config instead.
\n\nThis 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
.
Specify as true
to have this Component render to the document body upon first show.
Specify as an element, or the ID of an element to have this Component render to a specific element upon first\nshow.
\nDefaults to: false
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.
\nDefaults to: false
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.
\nDefaults to: "x-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\nFor 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\nborder: 5,\nstyle: {\n borderColor: 'red',\n borderStyle: 'solid'\n}\n
\n\nTo turn off the border, use border: false
.
An array describing the child elements of the Component. Each member of the array\nis an object with these properties:
\n\nname
- The property name on the Component for the child element.itemId
- The id to combine with the Component's id that is the id of the child element.id
- The id of the child element.If the array member is a string, it is equivalent to { name: m, itemId: m }
.
For example, a Component which renders a title and body text:
\n\nExt.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\nA more flexible, but somewhat slower, approach is renderSelectors.
\nAn 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.
\nDefaults to: ""
Defines the column width inside column layout.
\n\nCan be specified as a number or as a percentage.
\nCSS Class to be added to a components root level element to give distinction to it via styling.
\nCSS Class to be added to a components root level element to give distinction to it via styling.
\nThe 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\nGenerally, 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\nThe 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.
\nSpecify an existing HTML element, or the id
of an existing HTML element to use as the content for this component.
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\nNotes:
\n\nThe 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\nThe 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
.
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.
CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.
\nDefaults to: "x-item-disabled"
Specify as true to make a floating Component draggable using the Component's encapsulating element as\nthe drag handle.
\n\nThis may also be specified as a config object for the ComponentDragger which is\ninstantiated to perform dragging.
\n\nFor 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\nnew 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
\nDefaults to: false
Overrides: Ext.AbstractComponent.draggable
The CSS class to apply to the status element when drop is allowed.
\nDefaults to: "x-dd-drop-ok"
The CSS class to apply to the status element when drop is not allowed.
\nDefaults to: "x-dd-drop-nodrop"
Specify as true to float the Component outside of the document flow using CSS absolute positioning.
\n\nComponents such as Windows and Menus are floating by default.
\n\nFloating Components that are programatically rendered will register\nthemselves with the global ZIndexManager
\n\nA 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\nWhen 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\nThe 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\nIf no floating ancestor is found, a floating Component registers itself with the default ZIndexManager.
\n\nFloating components do not participate in the Container's layout. Because of this, they are not rendered until\nyou explicitly show them.
\n\nAfter 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.
\nDefaults to: false
Overrides: Ext.AbstractComponent.floating
Specifies whether the floated component should be automatically focused when\nit is brought to the front.
\nDefaults to: true
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.
Defaults to: false
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.
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\nThe extra space taken up by this framing is available from the read only property frameSize.
\nA String which specifies how this Component's encapsulating DOM element will be hidden. Values may be:
\n\n'display'
: The Component will be hidden using the display: none
style.'visibility'
: The Component will be hidden using the visibility: hidden
style.'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.Defaults to: "display"
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.
\nDefaults to: ""
The unique id of this component instance.
\n\nIt 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\nInstead 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\nNote 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\nNote: to avoid complications imposed by a unique id also see itemId
.
Note: to access the container of a Component see ownerCt
.
Defaults to an auto-assigned id.
\nAn 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
.
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\nAlso see id, Ext.container.Container.query
, Ext.container.Container.down
and\nExt.container.Container.child
.
Note: to access the container of an item see ownerCt.
\nA 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\nDOM events from Ext JS Components
\n\nWhile 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:
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
\nA configuration object or an instance of a Ext.ComponentLoader to load remote content\nfor this Component.
\n\nExt.create('Ext.Component', {\n loader: {\n url: 'content.html',\n autoLoad: true\n },\n renderTo: Ext.getBody()\n});\n
\nSpecifies 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'.
\nThe maximum value in pixels which this Component will set its height to.
\n\nWarning: This will override any size management applied by layout managers.
\nThe maximum value in pixels which this Component will set its width to.
\n\nWarning: This will override any size management applied by layout managers.
\nThe minimum value in pixels which this Component will set its height to.
\n\nWarning: This will override any size management applied by layout managers.
\nThe minimum value in pixels which this Component will set its width to.
\n\nWarning: This will override any size management applied by layout managers.
\nAn 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.
\nDefaults to: ""
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.
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.
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'.
\nAn 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.
\nDefines the region inside border layout.
\n\nPossible values:
\n\nThe data used by renderTpl in addition to the following property values of the component:
\n\nSee renderSelectors and childEls for usage examples.
\nAn object containing properties specifying DomQuery selectors which identify child elements\ncreated by the render process.
\n\nAfter 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.
For example, a Component which renderes a title and description into its element:
\n\nExt.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\nFor 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.
\nSpecify the id of the element, a DOM element or an existing Element that this component will be rendered into.
\n\nNotes:
\n\nDo not use this option if the Component is to be a child item of a Container.\nIt is the responsibility of the Container's\nlayout manager to render and manage its child items.
\n\nWhen using this config, a call to render() is not required.
\n\nSee also: render.
\nAn XTemplate used to create the internal structure inside this Component's encapsulating\nElement.
\n\nYou 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.
This is intended to allow the developer to create application-specific utility Components with customized\ninternal structure.
\n\nUpon rendering, any created child elements may be automatically imported into object properties using the\nrenderSelectors and childEls options.
\nDefaults to: "{%this.renderContent(out,values)%}"
Specify as true
to apply a Resizer to this Component after rendering.
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
A valid Ext.resizer.Resizer handles config string. Only applies when resizable = true.
\nDefaults to: "all"
A buffer to be applied if many state events are fired within a short period.
\nDefaults to: 100
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.
\nDefaults to: "sides"
If this property is a number, it is interpreted as follows:
\n\nfalse
.true
.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).
\nDefaults to: 2
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']).
See stateful
for an explanation of saving and\nrestoring object state.
The unique id for this object to use for state management purposes.
\n\nSee stateful for an explanation of saving and restoring state.
\n\nA 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\nAuto-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\nFor 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\nTo set the state provider for the current page:
\n\nExt.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\nA stateful object attempts to save state when one of the events\nlisted in the stateEvents configuration fires.
\n\nTo save state, a stateful object first serializes its state by\ncalling getState.
\n\nThe 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\nThe Panel class saves its collapsed state in addition to that.
\n\nThe Grid class saves its column state in addition to its superclass state.
\n\nIf 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\nThe 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\nDuring construction, a stateful object attempts to restore its state by calling\nExt.state.Manager.get passing the stateId
\n\nThe 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\nYou can perform extra processing on state save and restore by attaching\nhandlers to the beforestaterestore, staterestore,\nbeforestatesave and statesave events.
\nDefaults to: false
A custom style specification to be applied to this component's Element. Should be a valid argument to\nExt.Element.applyStyles.
\n\nnew 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
\nThe class that is added to the content target when you set styleHtmlContent to true.
\nDefaults to: "x-html"
True to automatically style the html inside the content target of this component (body for panels).
\nDefaults to: false
An Ext.Template, Ext.XTemplate or an array of strings to form an Ext.XTemplate. Used in\nconjunction with the data
and tplWriteMode
configurations.
The Ext.(X)Template method to use when updating the content area of the Component.\nSee Ext.XTemplate.overwrite
for information on default mode.
Defaults to: "overwrite"
An array of of classNames which are currently applied to this component
\nDefaults to: []
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:
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\nBut by using xtype
, the above becomes:
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\nWhen 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
:
defaultType: 'textfield',\n items: [\n { fieldLabel: 'Foo' },\n { fieldLabel: 'Bar' },\n { fieldLabel: 'Num', xtype: 'numberfield' }\n ]\n
\n\nEach 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:
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\nThis 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.
You can define your own xtype
on a custom component by specifying\nthe xtype
property in Ext.define. For example:
Ext.define('MyApp.PressMeButton', {\n extend: 'Ext.button.Button',\n xtype: 'pressmebutton',\n text: 'Press Me'\n});\n
\n\nCare 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.
Ext.define('Foo.form.CoolButton', {\n extend: 'Ext.button.Button',\n xtype: 'ux-coolbutton',\n text: 'Cool!'\n});\n
\nSetting this property to true
causes the isLayoutRoot method to return\ntrue
and stop the search for the top-most component for a layout.
Defaults to: false
true
indicates an id was auto-generated rather than provided by configuration.
Defaults to: false
The number of component layout calls made on this object.
\nDefaults to: 0
Indicates whether or not the component can be dragged.
\nDefaults to: false
Initial suspended call count. Incremented when suspendEvents is called, decremented when resumeEvents is called.
\nDefaults to: 0
Only present for floating Components which were inserted as child items of Containers.
\n\nFloating Components that are programatically rendered will not have a floatParent
\nproperty.
For floating Components which are child items of a Container, the floatParent will be the owning Container.
\n\nFor example, the dropdown BoundList of a ComboBox which is in a Window will have the\nWindow as its floatParent
See floating and zIndexManager
\nIndicates the width of any framing elements which were added within the encapsulating element\nto provide graphical, rounded borders. See the frame config.
\n\nThis is an object containing the frame width in pixels for all four sides of the Component containing the\nfollowing properties:
\nDefaults to: {left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0}
The width of the top framing element in pixels.
\nDefaults to: 0
The width of the right framing element in pixels.
\nDefaults to: 0
The width of the bottom framing element in pixels.
\nDefaults to: 0
The width of the left framing element in pixels.
\nDefaults to: 0
The total width of the left and right framing elements in pixels.
\nDefaults to: 0
The total height of the top and right bottom elements in pixels.
\nDefaults to: 0
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\nThe 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
\ntrue
in this class to identify an object as an instantiated Component, or subclass thereof.
Defaults to: true
true
in this class to identify an object as an instantiated Observable, or subclass thereof.
Defaults to: true
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.
\nDefaults to: true
Indicates whether or not the component has been rendered.
\nDefaults to: false
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
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
\nOnly present for floating Components after they have been rendered.
\n\nA reference to the ZIndexManager which is managing this Component's z-index.
\n\nThe 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\nFloating Components may be brought to the front or sent to the back of the\nz-index stack.
\n\nThis defaults to the global ZIndexManager for floating Components that are\nprogramatically rendered.
\n\nFor 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\nSee floating and zIndexParent
\nOnly present for floating Components which were inserted as child items of Containers, and which have a floating\nContainer in their containment ancestry.
\n\nFor 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\nFloating Components that are programatically rendered will not have a zIndexParent
\nproperty.
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.
See floating and zIndexManager
\nCreates new StatusProxy.
\nConfig object.
\nOverrides: Ext.Component.constructor
Adds each argument passed to this method to the childEls array.
\nAdds a CSS class to the top level element representing this component.
\nThis method has been deprecated since 4.1
\nUse addCls instead.
\n\nReturns the Component to allow method chaining.
\n\nAdds a CSS class to the top level element representing this component.
\nReturns the Component to allow method chaining.
\n\nAdds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this\ncomponent.
\nAdds the specified events to the list of events which this Observable may fire.
\nEither an object with event names as properties with\na value of true
. For example:
this.addEvents({\n storeloaded: true,\n storecleared: true\n});\n
\n\nOr any number of event names as separate parameters. For example:
\n\nthis.addEvents('storeloaded', 'storecleared');\n
\nSets up the focus listener on this Component's focusEl if it has one.
\n\n\nForm 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\nIf the focusEl is not naturally focusable, then the listeners are only added\nif the FocusManager is enabled.
\n\nAppends an event handler to this object. For example:
\n\nmyGridPanel.on(\"mouseover\", this.onMouseOver, this);\n
\n\nThe method also allows for a single argument to be passed which is a config object\ncontaining properties which specify multiple events. For example:
\n\nmyGridPanel.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\nOne can also specify options for each event handler separately:
\n\nmyGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\nNames of methods in a specified scope may also be used. Note that\nscope
MUST be specified to use this option:
myGridPanel.on({\n cellClick: {fn: 'onCellClick', scope: this, single: true},\n mouseover: {fn: 'onMouseOver', scope: panel}\n});\n
\nThe name of the event to listen for.\nMay also be an object who's property names are event names.
\n\nThe 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.
The scope (this
reference) in which the handler function is\nexecuted. If omitted, defaults to the object which fired the event.
An object containing handler configuration.
\n\n\n\n\nNote: Unlike in ExtJS 3.x, the options object will also be passed as the last\nargument to every event handler.
\n\n\n\n\nThis object may contain any of the following properties:
\n\nThe scope (this
reference) in which the handler function is executed. If omitted,\n defaults to the object which fired the event.
The number of milliseconds to delay the invocation of the handler after the event fires.
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
\n\nCauses 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\nOnly 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\nThis 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\nThis 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\nCombining Options
\n\n\n\n\nUsing the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener.
\n\n\n\n\nmyPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n
\n\nAdds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.
\nThe item to which to add a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
If the ename
parameter was an event name, this is the\naddListener options.
Save a property to the given state object if it is not its default or configured\nvalue.
\nThe state object
\nThe name of the property on this object to save.
\nThe value of the state property (defaults to this[propName]
).
The state object or a new object if state was null and the property\nwas saved.
\nAdd 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.
\nMethod which adds a specified UI + uiCls to the components element. Can be overridden to remove the UI from more\nthan just the components element.
\nThe UI to remove from the element
\nMethod which adds a specified UI to the components element.
\nCalled by the layout system after the Component has been layed out.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked after the Component has been hidden.
\n\nGets passed the same callback
and scope
parameters that onHide received.
This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAllows 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.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nTemplate method called after a Component has been positioned.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked after the Component is shown (after onShow is called).
\n\nGets passed the same parameters as show.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAligns this floating Component to the specified element
\nThe 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.
\nThe position to align to\n(see Ext.Element.alignTo for more details).
\nDefaults to: "tl-bl?"
Offset the positioning by [x, y]
\nthis
\nPerforms custom animation on this object.
\n\nThis 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\nWhen animating a Component, the following properties may be specified in from
, to
, and keyframe
objects:
x
- The Component's page X position in pixels.
y
- The Component's page Y position in pixels
left
- The Component's left
value in pixels.
top
- The Component's top
value in pixels.
width
- The Component's width
value in pixels.
width
- The Component's width
value in pixels.
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.
For example, to animate a Window to a new size, ensuring that its internal layout and any shadow is correct:
\n\nmyWindow = 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\nFor 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.
Configuration for Ext.fx.Anim.\nNote that the to config is required.
\nthis
\nSets references to elements inside the component. This applies renderSelectors\nas well as childEls.
\nApplies 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.
\nThe state
\nOccurs before componentLayout is run. Returning false from this method will prevent the componentLayout from\nbeing executed.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked before the Component is destroyed.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked before the Component is shown.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nBubbles 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.
\nThe function to call
\nThe scope of the function. Defaults to current node.
\nThe args to call the function with. Defaults to passing the current component.
\nthis
\nCall the original method that was previously overridden with override
\n\nExt.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 This method has been deprecated
\nas of 4.1. Use callParent instead.
\n\nThe arguments, either an array or the arguments
object\nfrom the current method, for example: this.callOverridden(arguments)
Returns the result of calling the overridden method
\nCall 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\nThis 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\nThis 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\nLastly, 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
\nThe arguments, either an array or the arguments
object\nfrom the current method, for example: this.callParent(arguments)
Returns the result of calling the parent method
\nCancel any deferred focus on this component
\nRemoves all listeners for this object including the managed listeners
\nClone the current component using the original config values passed into this instance by default.
\nA 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.
\nclone The cloned copy of this component
\nReturns an array of fully constructed plugin instances. This converts any configs into their\nappropriate instances.
\n\nIt does not mutate the plugins array. It creates a new array.
\n\nThis is borrowed by Lockable which clones and distributes Plugins\nto both child grids of a locking grid, so must keep to that contract.
\nDisable the component.
\nPassing true will supress the 'disable' event from being fired.
\nDefaults to: false
Called from the selected frame generation template to insert this Component's inner structure inside the framing structure.
\n\nWhen 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.
\nHandles 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
\nThis method needs to be called whenever you change something on this component that requires the Component's\nlayout to be recalculated.
\nthis
\nMoves this floating Component into a constrain region.
\n\nBy default, this Component is constrained to be within the container it was added to, or the element it was\nrendered to.
\n\nAn alternative constraint may be passed.
\nThe Element or Region\ninto which this Component is to be constrained. Defaults to the element into which this floating Component\nwas rendered.
\nEnable the component
\nPassing true will supress the 'enable' event from being fired.
\nDefaults to: false
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.
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\nExample:
\n\nExt.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
\nEnsures 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.
True to run the component's layout.
\nDefaults to: false
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\nSee also the up method.
\nThe custom function to call with the arguments (container, this component).
\nThe first Container for which the custom function returns true
\nFind a container above this component at any level by xtype or class
\n\nSee also the up method.
\nThe first Container which matches the given xtype or class
\nFires the specified event with the passed parameters (minus the event name, plus the options
object passed\nto addListener).
An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by\ncalling enableBubble.
\nThe name of the event to fire.
\nVariable number of parameters are passed to handlers.
\nreturns false if any of the handlers return false otherwise it returns true.
\nTry to focus this component.
\nIf applicable, true to also select the text in this component
\nDelay the focus this number of milliseconds (true for 10 milliseconds).
\nThe focused Component. Usually this
Component. Some Containers may\ndelegate focus to a descendant Component (Windows can do this through their\ndefaultFocus config option.
Forces this component to redo its componentLayout.
\nThis method has been deprecated since 4.1.0
\nUse updateLayout instead.
\n\nReturns the current animation if this object has any effects actively running or queued, else returns false.
\nAnim if element has active effects, else false
\n\nGets the bubbling parent for an Observable
\nThe bubble parent. null is returned if no bubble target exists
\nProvides the link for Observable's fireEvent method to bubble up the ownership hierarchy.
\nthe Container which owns this Component.
\nGets the x/y offsets to constrain this float
\nThe Element or Region\ninto which this Component is to be constrained.
\nThe x/y constraints
\nReturns the focus holder element associated with this Component. At the Component base class level, this function returns undefined
.
Subclasses which use embedded focusable elements (such as Window, Field and Button) should override this for use by the focus method.
\n\n\nContainers which need to participate in the FocusManager's navigation and Container focusing scheme also\nneed to return a focusEl, although focus is only listened for in this case if the FocusManager is enabled.
\n\nOn 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.
\nRetrieves the id of this component. Will autogenerate an id if one has not already been set.
\nThis function takes the position argument passed to onRender and returns a\nDOM element that you can use in the insertBefore.
\nIndex, element id or element you want\nto put this component before.
\nDOM element that you can use in the insertBefore
\nGets the Ext.ComponentLoader for this Component.
\nThe loader instance, null if it doesn't exist.
\nReturns the CSS style object which will set the Component's scroll styles. This must be applied\nto the target element.
\nRetrieves a plugin by its pluginId which has been bound to this component.
\nplugin instance.
\nGets the current size of the component's underlying element.
\nAn object containing the element's size {width: (element width), height: (element height)}
\nReturns an object that describes how this component's width and height are managed.\nAll of these objects are shared and should not be modified.
\nThe size model for this component.
\nThe size model\nfor the width.
\nThe size model\nfor the height.
\nThe supplied default state gathering method for the AbstractComponent class.
\n\nThis method returns dimension settings such as flex
, anchor
, width
and height
along with collapsed
\nstate.
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\nNote that Component state will only be saved if the Component has a stateId and there as a StateProvider\nconfigured for the document.
\nOverrides: Ext.state.Stateful.getState
Gets the state id for this object.
\nThe 'stateId' or the implicit 'id' specified by component configuration.
\nReturns 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.
\nThis is used to determine where to insert the 'html', 'contentEl' and 'items' in this component.
\nGets 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\nvar t = new Ext.form.field.Text();\nalert(t.getXType()); // alerts 'textfield'\n
\nThe xtype
\nReturns this Component's xtype hierarchy as a slash-delimited string. For a list of all available xtypes, see the\nExt.Component header.
\n\nIf using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.
\n\nExample usage:
\n\nvar t = new Ext.form.field.Text();\nalert(t.getXTypes()); // alerts 'component/field/textfield'\n
\nThe xtype hierarchy string
\nReturns the current animation if this object has any effects actively running or queued, else returns false.
\nThis method has been deprecated since 4.0
\nReplaced by getActiveAnimation
\n\nAnim if element has active effects, else false
\n\nChecks 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.
\nThe name of the event to check for
\ntrue
if the event is being listened for or bubbles, else false
Hides the proxy
\nTrue to reset the status and clear the ghost contents,\nfalse to preserve them
\nOverrides: Ext.Component.hide
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\nThe initComponent method must contain a call to callParent in order\nto ensure that the parent class' initComponent method is also called.
\n\nAll config options passed to the constructor are applied to this
before initComponent is called,\nso you can simply access them with this.someOption
.
The following example demonstrates using a dynamic string for the text of a button at the time of\ninstantiation of the class.
\n\nExt.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 This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInitialize configuration for this class. a typical example:
\n\nExt.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
\nthis
\nInitialized the renderData to be used when rendering the renderTpl.
\nObject with keys and values that are going to be applied to the renderTpl
\nInitializes the state of the object upon construction.
\nDetermines whether this component is the descendant of a particular container.
\nTrue if it is.
\nMethod to determine whether this Component is currently disabled.
\nthe disabled state of this Component.
\nMethod to determine whether this Component is draggable.
\nthe draggable state of this component.
\nMethod to determine whether this Component is droppable.
\nthe droppable state of this component.
\nMethod to determine whether this Component is floating.
\nthe floating state of this component.
\nMethod to determine whether this Component is currently set to hidden.
\nthe hidden state of this Component.
\nDetermines 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.
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.
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.
\nTrue layout of this component is suspended.
\nReturns true if this component is visible.
\nPass true
to interrogate the visibility status of all parent Containers to\ndetermine whether this Component is truly visible to the user.
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.
\nDefaults to: false
True if this component is visible, false otherwise.
\nTests 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\nIf using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.
\n\nFor a list of all available xtypes, see the Ext.Component header.
\n\nExample usage:
\n\nvar 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
\nThe xtype to check for this Component
\nTrue to check whether this Component is directly of the specified xtype, false to\ncheck whether this Component is descended from the xtype.
\nDefaults to: false
True if this component descends from the specified xtype, false otherwise.
\nShorthand for addManagedListener.
\n\nAdds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.
\nThe item to which to add a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
If the ename
parameter was an event name, this is the\naddListener options.
Shorthand for removeManagedListener.
\n\nRemoves listeners that were added by the mon method.
\nThe item from which to remove a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
Returns the next node in the Component tree in tree traversal order.
\n\nNote 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.
\nA ComponentQuery selector to filter the following nodes.
\nThe next node (or the next node which matches the selector).\nReturns null if there is no matching node.
\nReturns the next sibling of this Component.
\n\nOptionally selects the next sibling which matches the passed ComponentQuery selector.
\n\nMay also be refered to as next()
Note that this is limited to siblings, and if no siblings of the item match, null
is returned. Contrast with\nnextNode
A ComponentQuery selector to filter the following items.
\nThe next sibling (or the next sibling which matches the selector).\nReturns null if there is no matching sibling.
\nShorthand for addListener.
\n\nAppends an event handler to this object. For example:
\n\nmyGridPanel.on(\"mouseover\", this.onMouseOver, this);\n
\n\nThe method also allows for a single argument to be passed which is a config object\ncontaining properties which specify multiple events. For example:
\n\nmyGridPanel.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\nOne can also specify options for each event handler separately:
\n\nmyGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\nNames of methods in a specified scope may also be used. Note that\nscope
MUST be specified to use this option:
myGridPanel.on({\n cellClick: {fn: 'onCellClick', scope: this, single: true},\n mouseover: {fn: 'onMouseOver', scope: panel}\n});\n
\nThe name of the event to listen for.\nMay also be an object who's property names are event names.
\n\nThe 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.
The scope (this
reference) in which the handler function is\nexecuted. If omitted, defaults to the object which fired the event.
An object containing handler configuration.
\n\n\n\n\nNote: Unlike in ExtJS 3.x, the options object will also be passed as the last\nargument to every event handler.
\n\n\n\n\nThis object may contain any of the following properties:
\n\nThe scope (this
reference) in which the handler function is executed. If omitted,\n defaults to the object which fired the event.
The number of milliseconds to delay the invocation of the handler after the event fires.
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
\n\nCauses 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\nOnly 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\nThis 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\nThis 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\nCombining Options
\n\n\n\n\nUsing the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener.
\n\n\n\n\nmyPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n
\n\nMethod 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\nAllows 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.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nContainer which holds the component
\nPosition at which the component was added
\nAllows addition of behavior to the destroy operation.\nAfter calling the superclass’s onDestroy, the Component will be destroyed.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAllows addition of behavior to the disable operation.\nAfter calling the superclass’s onDisable, the Component will be disabled.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAllows addition of behavior to the enable operation.\nAfter calling the superclass’s onEnable, the Component will be enabled.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nPossibly animates down to a target element.
\n\nAllows addition of behavior to the hide operation. After\ncalling the superclass’s onHide, the Component will be hidden.
\n\nGets passed the same parameters as hide.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nCalled 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.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nMethod 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\nAllows 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.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nWill be passed as true if the Container performing the remove operation will delete this\nComponent upon remove.
\nTemplate method called when this Component's DOM structure is created.
\n\nAt this point, this Component's (and all descendants') DOM structure exists but it has not\nbeen layed out (positioned and sized).
\n\nSubclasses 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.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nThe parent Element in which this Component's encapsulating element is contained.
\nThe index within the parent Container's child collection of this Component.
\nAllows addition of behavior to the resize operation.
\n\nCalled when Ext.resizer.Resizer#drag event is fired.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAllows addition of behavior to the show operation. After\ncalling the superclass's onShow, the Component will be visible.
\n\nOverride in subclasses where more complex behaviour is needed.
\n\nGets passed the same parameters as show.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked after the afterShow method is complete.
\n\nGets passed the same callback
and scope
parameters that afterShow received.
This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nThis method is called when any of the stateEvents are fired.
\nPrepares a given class for observable instances. This method is called when a\nclass derives from this class or uses this class as a mixin.
\nThe class constructor to prepare.
\nReturns the previous node in the Component tree in tree traversal order.
\n\nNote 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.
\nA ComponentQuery selector to filter the preceding nodes.
\nThe previous node (or the previous node which matches the selector).\nReturns null if there is no matching node.
\nReturns the previous sibling of this Component.
\n\nOptionally selects the previous sibling which matches the passed ComponentQuery\nselector.
\n\nMay also be refered to as prev()
Note that this is limited to siblings, and if no siblings of the item match, null
is returned. Contrast with\npreviousNode
A ComponentQuery selector to filter the preceding items.
\nThe previous sibling (or the previous sibling which matches the selector).\nReturns null if there is no matching sibling.
\nCalled by Component#doAutoRender
\n\nRegister a Container configured floating: true
with this Component's ZIndexManager.
Components added in ths way will not participate in any layout, but will be rendered\nupon first show in the way that Windows are.
\nRelays selected events from the specified Observable as if the events were fired by this
.
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\nthis.relayEvents(this.getStore(), ['load']);\n
\n\nThe 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.
The Observable whose events this object is to relay.
\nArray of event names to relay.
\nA common prefix to prepend to the event names. For example:
\n\nthis.relayEvents(this.getStore(), ['load', 'clear'], 'store');\n
\n\nNow the grid will forward 'load' and 'clear' events of store as 'storeload' and 'storeclear'.
\nRemoves 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.
\nThe test function.
\nRemoves a CSS class from the top level element representing this component.
\nReturns the Component to allow method chaining.
\nRemoves a cls to the uiCls array, which will also call removeUIClsFromElement and removes it from all\nelements of this component.
\nRemoves an event handler.
\nThe type of event the handler was associated with.
\n\nThe handler to remove. This must be a reference to the function passed into the\naddListener call.
\n\nThe 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\nRemoves listeners that were added by the mon method.
\nThe item from which to remove a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
Method which removes a specified UI + uiCls from the components element. The cls which is added to the element\nwill be: this.baseCls + '-' + ui
The UI to add to the element
\nMethod which removes a specified UI from the components element.
\nRenders the Component into the passed HTML element.
\n\nIf you are using a Container object to house this\nComponent, then do not use the render method.
\n\nA Container's child Components are rendered by that Container's\nlayout manager when the Container is first rendered.
\n\nIf 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\nWhen 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\nOmitting 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.
\nThe element this Component should be\nrendered into. If it is being created from existing markup, this should be omitted.
\nThe 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)
\nCauses the proxy to return to its position of origin via an animation.\nShould be called after an invalid drop operation by the item being dragged.
\nResets the status indicator to the default dropNotAllowed value
\nTrue to also remove all content from the ghost, false to preserve it
\nResumes firing events (see suspendEvents).
\n\nIf events were suspended using the queueSuspended
parameter, then all events fired\nduring event suspension will be sent to any listeners now.
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.
\nThe name of the property to save.
\nThe state object in to which to save the property.
\nThe name to use for the property in state.
\nTrue if the property was saved, false if not.
\nSaves the state of the object to the persistence store.
\nScrolls this Component's target element by the passed delta values, optionally animating.
\n\nAll 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
\nEither the x delta, an Array specifying x and y deltas or\nan object with \"x\" and \"y\" properties.
\nEither the y delta, or an animate flag or config object.
\nAnimate flag/config object if the delta values were passed separately.
\nThis 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\nIf a Window is superceded by another Window, deactivating it hides its shadow.
\n\nThis method also fires the activate or\ndeactivate event depending on which action occurred.
\nTrue to activate the Component, false to deactivate it.
\nDefaults to: false
The newly active Component which is taking over topmost zIndex position.
\nSets the overflow on the content element of the component.
\nTrue to allow the Component to auto scroll.
\nthis
\nSets 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)
\nThe dock position.
\nTrue to re-layout parent.
\nDefaults to: false
this
\nSets the height of the component. This method fires the resize event.
\nThe new height to set. This may be one of:
\n\nthis
\nThis method allows you to show or hide a LoadMask on top of this component.
\nTrue 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.
\nTrue 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.
Defaults to: false
The LoadMask instance that has just been shown.
\nSets 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.
this
\nSets the page XY position of the component. To set the left and top instead, use setPosition.\nThis method fires the move event.
\nThe new x position
\nThe new y position
\nTrue to animate the Component into its new position. You may also pass an\nanimation configuration.
\nthis
\nSets the left and top of the component. To set the page XY position instead, use setPagePosition. This\nmethod fires the move event.
\nThe new left
\nThe new top
\nIf true, the Component is animated into its new position. You may also pass an\nanimation configuration.
\nthis
\nSets 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}
.
The new width to set. This may be one of:
\n\n{width: widthValue, height: heightValue}
.undefined
to leave the width unchanged.The new height to set (not required if a size object is passed as the first arg).\nThis may be one of:
\n\nundefined
to leave the height unchanged.this
\nUpdates the proxy's visual element to indicate the status of whether or not drop is allowed\nover the current target element.
\nThe css class for the new drop status indicator image
\nSets 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
\nThe new UI for the component
\nConvenience function to hide or show this component by boolean.
\nTrue to show, false to hide
\nthis
\nSets the width of the component. This method fires the resize event.
\nThe new width to setThis may be one of:
\n\nthis
\nInject a reference to the function which applies the render template into the framing template. The framing template\nwraps the content.
\nShows this Component, rendering it first if autoRender or floating are true
.
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.
\nA callback function to call after the Component is displayed.\nOnly necessary if animation was specified.
\nThe scope (this
reference) in which the callback is executed.\nDefaults to this Component.
this
\nDisplays 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\nlisteners: {\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
\nGet 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
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
\nStops the repair animation if it's currently running
\nStops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat haven't started yet.
\nThe Element
\nStops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat haven't started yet.
\nThis method has been deprecated since 4.0
\nReplaced by stopAnimation
\n\nThe Element
\nSuspends the firing of all events. (see resumeEvents)
\nPass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events.
\nForce the Layer to sync its shadow and shim positions to the element
\nEnsures that all effects queued after syncFx is called on this object are run concurrently. This is the opposite\nof sequenceFx.
\nthis
\nSends this Component to the back of (lower z-index than) any other visible windows
\nthis
\nBrings this floating Component to the front of any other visible, floating Components managed by the same\nZIndexManager
\n\nIf this Component is modal, inserts the modal mask just below this Component in the z-index stack.
\nSpecify true
to prevent the Component from being focused.
Defaults to: false
this
\nShorthand for removeListener.
\n\nRemoves an event handler.
\nThe type of event the handler was associated with.
\n\nThe handler to remove. This must be a reference to the function passed into the\naddListener call.
\n\nThe 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\nWalks up the ownerCt
axis looking for an ancestor Container which matches the passed simple selector.
Example:
\n\nvar owningTabPanel = grid.up('tabpanel');\n
\nThe simple selector to test.
\nThe matching ancestor Container (or undefined
if no match was found).
Updates the contents of the ghost element
\nThe html that will replace the current innerHTML of the ghost element, or a\nDOM node to append as the child of the ghost element (in which case the innerHTML will be cleared first).
\nOverrides: Ext.AbstractComponent.update
Injected as an override by Ext.Aria.initialize
\nSets the current box measurements of the component's underlying element.
\nAn object in the format {x, y, width, height}
\nthis
\nAdd methods / properties to the prototype of this class.
\n\nExt.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
\nAdd / override static properties of this class.
\n\nExt.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
\nthis
\nBorrow another class' members to the prototype of this class.
\n\nExt.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
\nThe class to borrow members from
\nThe names of the members to borrow
\nthis
\nCreate a new instance of this Class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n
\n\nAll parameters are passed to the constructor of the class.
\nthe created instance.
\nCreate aliases for existing prototype methods. Example:
\n\nExt.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
\nThe new method name, or an object to set multiple aliases. See\nflexSetter
\nThe original method name
\nGet the current class' name in string format.
\n\nExt.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
\nclassName
\nAdds members to class.
\nThis method has been deprecated since 4.1
\nUse addMembers instead.
\n\nOverride members of this class. Overridden methods can be invoked via\ncallParent.
\n\nExt.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\nAs of 4.1, direct use of this method is deprecated. Use Ext.define\ninstead:
\n\nExt.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\nThe 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).
\nThis method has been deprecated since 4.1.0
\nUse Ext.define instead
\n\nThe properties to add to this class. This should be\nspecified as an object literal containing one or more properties.
\nthis class
\nFires after a Component has been visually activated.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after a Component had been added to a Container.
\nParent Container
\nposition of Component
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component rendering is finished.
\n\nThe afterrender event is fired after this Component has been rendered, been postprocesed by any\nafterRender method defined for the Component.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a Component has been visually activated. Returning false from an event listener can prevent\nthe activate from occurring.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a Component has been visually deactivated. Returning false from an event listener can\nprevent the deactivate from occurring.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is destroyed. Return false from an event handler to stop the\ndestroy.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is hidden when calling the hide method. Return false from an event\nhandler to stop the hide.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is rendered. Return false from an event handler to stop the\nrender.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is shown when calling the show method. Return false from an event\nhandler to stop the show.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the state of the object is restored. Return false from an event handler to stop the restore.
\nThe 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.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the state of the object is saved to the configured state provider. Return false to stop the save.
\nThe hash of state values. This is determined by calling\ngetState() on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.state.Stateful\nhas a null implementation.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this Component loses focus.
\nblur event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires one time - after the component has been layed out for the first time at its initial size.
\nThe initial width
\nThe initial height
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after a Component has been visually deactivated.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is destroyed.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is disabled.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is enabled.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this Component receives focus.
\nfocus event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is hidden. Fires after the component is hidden when calling the hide\nmethod.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is moved.
\nThe new x position
\nThe new y position
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a component is removed from an Ext.container.Container
\nContainer which holds the component
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component markup is rendered.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires 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.
\nThe new width that was set
\nThe new height that was set
\nThe previous width
\nThe previous height
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is shown when calling the show method.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the state of the object is restored.
\nThe 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.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the state of the object is saved to the configured state provider.
\nThe hash of state values. This is determined by calling\ngetState() on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.state.Stateful\nhas a null implementation.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\n