Ext.data.JsonP.Ext_menu_ColorPicker({"mixins":[],"code_type":"ext_define","inheritable":false,"component":true,"meta":{},"mixedInto":[],"uses":[],"aliases":{"widget":["colormenu"]},"parentMixins":["Ext.container.DockingContainer","Ext.util.Floating","Ext.util.Observable","Ext.util.Animate","Ext.util.ElementContainer","Ext.util.Renderable","Ext.state.Stateful"],"superclasses":["Ext.Base","Ext.AbstractComponent","Ext.Component","Ext.container.AbstractContainer","Ext.container.Container","Ext.panel.AbstractPanel","Ext.panel.Panel","Ext.menu.Menu"],"members":{"event":[{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"activate","id":"event-activate"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"add","id":"event-add"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"added","id":"event-added"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"afterlayout","id":"event-afterlayout"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"afterrender","id":"event-afterrender"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforeactivate","id":"event-beforeactivate"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"beforeadd","id":"event-beforeadd"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"event","name":"beforeclose","id":"event-beforeclose"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"event","name":"beforecollapse","id":"event-beforecollapse"},{"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.panel.Panel","tagname":"event","name":"beforeexpand","id":"event-beforeexpand"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforehide","id":"event-beforehide"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"beforeremove","id":"event-beforeremove"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforerender","id":"event-beforerender"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforeshow","id":"event-beforeshow"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"beforestaterestore","id":"event-beforestaterestore"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"beforestatesave","id":"event-beforestatesave"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"blur","id":"event-blur"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"boxready","id":"event-boxready"},{"meta":{"private":true},"owner":"Ext.menu.ColorPicker","tagname":"event","name":"click","id":"event-click"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"event","name":"close","id":"event-close"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"event","name":"collapse","id":"event-collapse"},{"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.panel.Panel","tagname":"event","name":"expand","id":"event-expand"},{"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.panel.Panel","tagname":"event","name":"iconchange","id":"event-iconchange"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"event","name":"iconclschange","id":"event-iconclschange"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"event","name":"mouseenter","id":"event-mouseenter"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"event","name":"mouseleave","id":"event-mouseleave"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"event","name":"mouseover","id":"event-mouseover"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"move","id":"event-move"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"event","name":"remove","id":"event-remove"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"removed","id":"event-removed"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"render","id":"event-render"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"resize","id":"event-resize"},{"meta":{},"owner":"Ext.menu.ColorPicker","tagname":"event","name":"select","id":"event-select"},{"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"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"event","name":"titlechange","id":"event-titlechange"}],"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":{},"owner":"Ext.panel.Panel","tagname":"property","name":"dd","id":"property-dd"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"draggable","id":"property-draggable"},{"meta":{"private":true},"owner":"Ext.panel.AbstractPanel","tagname":"property","name":"emptyArray","id":"property-emptyArray"},{"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.menu.Menu","tagname":"property","name":"isMenu","id":"property-isMenu"},{"meta":{},"owner":"Ext.util.Observable","tagname":"property","name":"isObservable","id":"property-isObservable"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"property","name":"isPanel","id":"property-isPanel"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"property","name":"items","id":"property-items"},{"meta":{"private":true},"owner":"Ext.container.AbstractContainer","tagname":"property","name":"layoutCounter","id":"property-layoutCounter"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"property","name":"maskOnDisable","id":"property-maskOnDisable"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"ownerCt","id":"property-ownerCt"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"property","name":"parentMenu","id":"property-parentMenu"},{"meta":{},"owner":"Ext.menu.ColorPicker","tagname":"property","name":"picker","id":"property-picker"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"rendered","id":"property-rendered"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"property","name":"self","id":"property-self"},{"meta":{"readonly":true},"owner":"Ext.Component","tagname":"property","name":"zIndexManager","id":"property-zIndexManager"},{"meta":{"readonly":true},"owner":"Ext.Component","tagname":"property","name":"zIndexParent","id":"property-zIndexParent"}],"css_var":[],"method":[{"meta":{},"owner":"Ext.Component","tagname":"method","name":"constructor","id":"method-constructor"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"add","id":"method-add"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"method","name":"addBodyCls","id":"method-addBodyCls"},{"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.container.DockingContainer","tagname":"method","name":"addDocked","id":"method-addDocked"},{"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":{"template":true,"private":true},"owner":"Ext.panel.Panel","tagname":"method","name":"addTools","id":"method-addTools"},{"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.panel.Panel","tagname":"method","name":"afterCollapse","id":"method-afterCollapse"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"afterComponentLayout","id":"method-afterComponentLayout"},{"meta":{"protected":true,"template":true},"owner":"Ext.panel.Panel","tagname":"method","name":"afterExpand","id":"method-afterExpand"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"afterHide","id":"method-afterHide"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"afterLayout","id":"method-afterLayout"},{"meta":{"protected":true,"template":true},"owner":"Ext.util.Renderable","tagname":"method","name":"afterRender","id":"method-afterRender"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"afterSetPosition","id":"method-afterSetPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"afterShow","id":"method-afterShow"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"alignTo","id":"method-alignTo"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"animate","id":"method-animate"},{"meta":{"private":true},"owner":"Ext.util.ElementContainer","tagname":"method","name":"applyChildEls","id":"method-applyChildEls"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"applyRenderSelectors","id":"method-applyRenderSelectors"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"applyState","id":"method-applyState"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeComponentLayout","id":"method-beforeComponentLayout"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeDestroy","id":"method-beforeDestroy"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"beforeLayout","id":"method-beforeLayout"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeSetPosition","id":"method-beforeSetPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"beforeShow","id":"method-beforeShow"},{"meta":{"private":true},"owner":"Ext.panel.Panel","tagname":"method","name":"beginCollapse","id":"method-beginCollapse"},{"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":{},"owner":"Ext.menu.Menu","tagname":"method","name":"canActivateItem","id":"method-canActivateItem"},{"meta":{"protected":true},"owner":"Ext.Component","tagname":"method","name":"cancelFocus","id":"method-cancelFocus"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"cancelLayout","id":"method-cancelLayout"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"cascade","id":"method-cascade"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"center","id":"method-center"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"child","id":"method-child"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"clearListeners","id":"method-clearListeners"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"clearManagedListeners","id":"method-clearManagedListeners"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"cloneConfig","id":"method-cloneConfig"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"method","name":"close","id":"method-close"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"method","name":"collapse","id":"method-collapse"},{"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":{},"owner":"Ext.menu.Menu","tagname":"method","name":"deactivateActiveItem","id":"method-deactivateActiveItem"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"destroy","id":"method-destroy"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"disable","id":"method-disable"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"doApplyRenderTpl","id":"method-doApplyRenderTpl"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"doAutoRender","id":"method-doAutoRender"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"doComponentLayout","id":"method-doComponentLayout"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"doConstrain","id":"method-doConstrain"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"doLayout","id":"method-doLayout"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"down","id":"method-down"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"enable","id":"method-enable"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"enableBubble","id":"method-enableBubble"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"ensureAttachedToBody","id":"method-ensureAttachedToBody"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"method","name":"expand","id":"method-expand"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"findParentBy","id":"method-findParentBy"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"findParentByType","id":"method-findParentByType"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"finishRender","id":"method-finishRender"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"fireEvent","id":"method-fireEvent"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"focus","id":"method-focus"},{"meta":{"deprecated":{"text":"Use {@link #updateLayout} instead.","version":"4.1.0"}},"owner":"Ext.AbstractComponent","tagname":"method","name":"forceComponentLayout","id":"method-forceComponentLayout"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"getActiveAnimation","id":"method-getActiveAnimation"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getAutoId","id":"method-getAutoId"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getBox","id":"method-getBox"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"getBubbleParent","id":"method-getBubbleParent"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getBubbleTarget","id":"method-getBubbleTarget"},{"meta":{},"owner":"Ext.container.Container","tagname":"method","name":"getChildByElement","id":"method-getChildByElement"},{"meta":{"private":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"getChildItemsToDisable","id":"method-getChildItemsToDisable"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"method","name":"getCollapsed","id":"method-getCollapsed"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"method","name":"getComponent","id":"method-getComponent"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"getConfig","id":"method-getConfig"},{"meta":{"private":true},"owner":"Ext.util.Floating","tagname":"method","name":"getConstrainVector","id":"method-getConstrainVector"},{"meta":{},"owner":"Ext.container.DockingContainer","tagname":"method","name":"getDockedComponent","id":"method-getDockedComponent"},{"meta":{},"owner":"Ext.container.DockingContainer","tagname":"method","name":"getDockedItems","id":"method-getDockedItems"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getEl","id":"method-getEl"},{"meta":{"private":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"getFocusEl","id":"method-getFocusEl"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getFrameInfo","id":"method-getFrameInfo"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getFrameTpl","id":"method-getFrameTpl"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"method","name":"getHeader","id":"method-getHeader"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getHeight","id":"method-getHeight"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getId","id":"method-getId"},{"meta":{},"owner":"Ext.Base","tagname":"method","name":"getInitialConfig","id":"method-getInitialConfig"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"getInsertPosition","id":"method-getInsertPosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getItemId","id":"method-getItemId"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"getLayout","id":"method-getLayout"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getLoader","id":"method-getLoader"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getOverflowStyle","id":"method-getOverflowStyle"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getPlugin","id":"method-getPlugin"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getPosition","id":"method-getPosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getSize","id":"method-getSize"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getSizeModel","id":"method-getSizeModel"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getState","id":"method-getState"},{"meta":{"private":true},"owner":"Ext.state.Stateful","tagname":"method","name":"getStateId","id":"method-getStateId"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getStyleProxy","id":"method-getStyleProxy"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getTargetEl","id":"method-getTargetEl"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getTpl","id":"method-getTpl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getWidth","id":"method-getWidth"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getXType","id":"method-getXType"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getXTypes","id":"method-getXTypes"},{"meta":{"deprecated":{"text":"Replaced by {@link #getActiveAnimation}","version":"4.0"}},"owner":"Ext.util.Animate","tagname":"method","name":"hasActiveFx","id":"method-hasActiveFx"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"hasCls","id":"method-hasCls"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"hasConfig","id":"method-hasConfig"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"hasListener","id":"method-hasListener"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"hasUICls","id":"method-hasUICls"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"hide","id":"method-hide"},{"meta":{"private":true},"owner":"Ext.menu.ColorPicker","tagname":"method","name":"hidePickerOnSelect","id":"method-hidePickerOnSelect"},{"meta":{"private":true},"owner":"Ext.panel.AbstractPanel","tagname":"method","name":"initBodyStyles","id":"method-initBodyStyles"},{"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.panel.AbstractPanel","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":{"private":true},"owner":"Ext.panel.Panel","tagname":"method","name":"initTools","id":"method-initTools"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"insert","id":"method-insert"},{"meta":{},"owner":"Ext.container.DockingContainer","tagname":"method","name":"insertDocked","id":"method-insertDocked"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"is","id":"method-is"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"isAncestor","id":"method-isAncestor"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDescendantOf","id":"method-isDescendantOf"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDisabled","id":"method-isDisabled"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDraggable","id":"method-isDraggable"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDroppable","id":"method-isDroppable"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isFloating","id":"method-isFloating"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isHidden","id":"method-isHidden"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"isLayoutRoot","id":"method-isLayoutRoot"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isLayoutSuspended","id":"method-isLayoutSuspended"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isVisible","id":"method-isVisible"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isXType","id":"method-isXType"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"mon","id":"method-mon"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"move","id":"method-move"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"mun","id":"method-mun"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"nextNode","id":"method-nextNode"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"nextSibling","id":"method-nextSibling"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"on","id":"method-on"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"onAdd","id":"method-onAdd"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onAdded","id":"method-onAdded"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"onBeforeAdd","id":"method-onBeforeAdd"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"onConfigUpdate","id":"method-onConfigUpdate"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onDestroy","id":"method-onDestroy"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onDisable","id":"method-onDisable"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.DockingContainer","tagname":"method","name":"onDockedAdd","id":"method-onDockedAdd"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.DockingContainer","tagname":"method","name":"onDockedRemove","id":"method-onDockedRemove"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onEnable","id":"method-onEnable"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onHide","id":"method-onHide"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onPosition","id":"method-onPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"onRemove","id":"method-onRemove"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onRemoved","id":"method-onRemoved"},{"meta":{"protected":true,"template":true},"owner":"Ext.util.Renderable","tagname":"method","name":"onRender","id":"method-onRender"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onResize","id":"method-onResize"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onShow","id":"method-onShow"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onShowComplete","id":"method-onShowComplete"},{"meta":{"private":true},"owner":"Ext.state.Stateful","tagname":"method","name":"onStateChange","id":"method-onStateChange"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"prepareClass","id":"method-prepareClass"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"previousNode","id":"method-previousNode"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"previousSibling","id":"method-previousSibling"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"query","id":"method-query"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"queryBy","id":"method-queryBy"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"queryById","id":"method-queryById"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"registerFloatingItem","id":"method-registerFloatingItem"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"relayEvents","id":"method-relayEvents"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"remove","id":"method-remove"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"method","name":"removeAll","id":"method-removeAll"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"method","name":"removeBodyCls","id":"method-removeBodyCls"},{"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.container.DockingContainer","tagname":"method","name":"removeDocked","id":"method-removeDocked"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"removeListener","id":"method-removeListener"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"removeManagedListener","id":"method-removeManagedListener"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"removeManagedListenerItem","id":"method-removeManagedListenerItem"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeUIClsFromElement","id":"method-removeUIClsFromElement"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeUIFromElement","id":"method-removeUIFromElement"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"render","id":"method-render"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"resumeEvents","id":"method-resumeEvents"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"savePropToState","id":"method-savePropToState"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"savePropsToState","id":"method-savePropsToState"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"saveState","id":"method-saveState"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"scrollBy","id":"method-scrollBy"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"sequenceFx","id":"method-sequenceFx"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"setActive","id":"method-setActive"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setAutoScroll","id":"method-setAutoScroll"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"method","name":"setBodyStyle","id":"method-setBodyStyle"},{"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.panel.Panel","tagname":"method","name":"setIcon","id":"method-setIcon"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"method","name":"setIconCls","id":"method-setIconCls"},{"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.panel.Panel","tagname":"method","name":"setTitle","id":"method-setTitle"},{"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":{},"owner":"Ext.menu.Menu","tagname":"method","name":"showBy","id":"method-showBy"},{"meta":{"private":true},"owner":"Ext.panel.Panel","tagname":"method","name":"slideOutFloatedPanelBegin","id":"method-slideOutFloatedPanelBegin"},{"meta":{"private":true},"owner":"Ext.panel.Panel","tagname":"method","name":"slideOutFloatedPanelEnd","id":"method-slideOutFloatedPanelEnd"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"statics","id":"method-statics"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"stopAnimation","id":"method-stopAnimation"},{"meta":{"deprecated":{"text":"Replaced by {@link #stopAnimation}","version":"4.0"}},"owner":"Ext.util.Animate","tagname":"method","name":"stopFx","id":"method-stopFx"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"suspendEvents","id":"method-suspendEvents"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"syncFx","id":"method-syncFx"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"toBack","id":"method-toBack"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"toFront","id":"method-toFront"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"method","name":"toggleCollapse","id":"method-toggleCollapse"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"un","id":"method-un"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"up","id":"method-up"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"update","id":"method-update"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"updateAria","id":"method-updateAria"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"updateBox","id":"method-updateBox"},{"meta":{"private":true},"owner":"Ext.panel.Panel","tagname":"method","name":"updateHeader","id":"method-updateHeader"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"updateLayout","id":"method-updateLayout"}],"css_mixin":[{"meta":{},"owner":"Ext.menu.Menu","tagname":"css_mixin","name":"extjs-menu","id":"css_mixin-extjs-menu"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"css_mixin","name":"extjs-panel","id":"css_mixin-extjs-panel"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"css_mixin","name":"extjs-panel-ui","id":"css_mixin-extjs-panel-ui"}],"cfg":[{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"activeItem","id":"cfg-activeItem"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"cfg","name":"allowOtherMenus","id":"cfg-allowOtherMenus"},{"meta":{},"owner":"Ext.container.Container","tagname":"cfg","name":"anchorSize","id":"cfg-anchorSize"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"animCollapse","id":"cfg-animCollapse"},{"meta":{"private":true},"owner":"Ext.menu.Menu","tagname":"cfg","name":"ariaRole","id":"cfg-ariaRole"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"autoDestroy","id":"cfg-autoDestroy"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoEl","id":"cfg-autoEl"},{"meta":{"deprecated":{"text":"Use {@link #loader} config instead.","version":"4.1.1"}},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoLoad","id":"cfg-autoLoad"},{"meta":{"private":true},"owner":"Ext.menu.Menu","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.panel.AbstractPanel","tagname":"cfg","name":"baseCls","id":"cfg-baseCls"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"bbar","id":"cfg-bbar"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"cfg","name":"bodyBorder","id":"cfg-bodyBorder"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"cfg","name":"bodyCls","id":"cfg-bodyCls"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"cfg","name":"bodyPadding","id":"cfg-bodyPadding"},{"meta":{},"owner":"Ext.panel.AbstractPanel","tagname":"cfg","name":"bodyStyle","id":"cfg-bodyStyle"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"border","id":"cfg-border"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"bubbleEvents","id":"cfg-bubbleEvents"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"buttonAlign","id":"cfg-buttonAlign"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"buttons","id":"cfg-buttons"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"childEls","id":"cfg-childEls"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"closable","id":"cfg-closable"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"closeAction","id":"cfg-closeAction"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"cls","id":"cfg-cls"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"collapseDirection","id":"cfg-collapseDirection"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"collapseFirst","id":"cfg-collapseFirst"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"collapseMode","id":"cfg-collapseMode"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"collapsed","id":"cfg-collapsed"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"collapsedCls","id":"cfg-collapsedCls"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"collapsible","id":"cfg-collapsible"},{"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":{"private":true},"owner":"Ext.menu.Menu","tagname":"cfg","name":"constrain","id":"cfg-constrain"},{"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.menu.Menu","tagname":"cfg","name":"defaultAlign","id":"cfg-defaultAlign"},{"meta":{},"owner":"Ext.container.DockingContainer","tagname":"cfg","name":"defaultDockWeights","id":"cfg-defaultDockWeights"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"defaultType","id":"cfg-defaultType"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"defaults","id":"cfg-defaults"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"detachOnRemove","id":"cfg-detachOnRemove"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"disabled","id":"cfg-disabled"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"disabledCls","id":"cfg-disabledCls"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"dockedItems","id":"cfg-dockedItems"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"draggable","id":"cfg-draggable"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"cfg","name":"enableKeyNav","id":"cfg-enableKeyNav"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"fbar","id":"cfg-fbar"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"floatable","id":"cfg-floatable"},{"meta":{},"owner":"Ext.menu.Menu","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.panel.Panel","tagname":"cfg","name":"frame","id":"cfg-frame"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"frameHeader","id":"cfg-frameHeader"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"header","id":"cfg-header"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"headerPosition","id":"cfg-headerPosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"height","id":"cfg-height"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"cfg","name":"hidden","id":"cfg-hidden"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"hideCollapseTool","id":"cfg-hideCollapseTool"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"hideMode","id":"cfg-hideMode"},{"meta":{},"owner":"Ext.menu.ColorPicker","tagname":"cfg","name":"hideOnClick","id":"cfg-hideOnClick"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"html","id":"cfg-html"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"icon","id":"cfg-icon"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"iconCls","id":"cfg-iconCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"id","id":"cfg-id"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"cfg","name":"ignoreParentClicks","id":"cfg-ignoreParentClicks"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"itemId","id":"cfg-itemId"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"items","id":"cfg-items"},{"meta":{"private":true},"owner":"Ext.menu.Menu","tagname":"cfg","name":"layout","id":"cfg-layout"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"lbar","id":"cfg-lbar"},{"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.panel.Panel","tagname":"cfg","name":"manageHeight","id":"cfg-manageHeight"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"margin","id":"cfg-margin"},{"meta":{"private":true},"owner":"Ext.menu.ColorPicker","tagname":"cfg","name":"maxHeight","id":"cfg-maxHeight"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"maxWidth","id":"cfg-maxWidth"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"minButtonWidth","id":"cfg-minButtonWidth"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"minHeight","id":"cfg-minHeight"},{"meta":{},"owner":"Ext.menu.Menu","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.panel.Panel","tagname":"cfg","name":"overlapHeader","id":"cfg-overlapHeader"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"padding","id":"cfg-padding"},{"meta":{},"owner":"Ext.menu.ColorPicker","tagname":"cfg","name":"pickerId","id":"cfg-pickerId"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"placeholder","id":"cfg-placeholder"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"placeholderCollapseHideMode","id":"cfg-placeholderCollapseHideMode"},{"meta":{},"owner":"Ext.menu.Menu","tagname":"cfg","name":"plain","id":"cfg-plain"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"plugins","id":"cfg-plugins"},{"meta":{"deprecated":{"text":"4.1.0 Use {@link #header} instead.\nPrevent a Header from being created and shown."}},"owner":"Ext.panel.Panel","tagname":"cfg","name":"preventHeader","id":"cfg-preventHeader"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"rbar","id":"cfg-rbar"},{"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.menu.Menu","tagname":"cfg","name":"showSeparator","id":"cfg-showSeparator"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"shrinkWrap","id":"cfg-shrinkWrap"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateEvents","id":"cfg-stateEvents"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateId","id":"cfg-stateId"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateful","id":"cfg-stateful"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"style","id":"cfg-style"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"styleHtmlCls","id":"cfg-styleHtmlCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"styleHtmlContent","id":"cfg-styleHtmlContent"},{"meta":{},"owner":"Ext.container.AbstractContainer","tagname":"cfg","name":"suspendLayout","id":"cfg-suspendLayout"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"tbar","id":"cfg-tbar"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"title","id":"cfg-title"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"titleAlign","id":"cfg-titleAlign"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"titleCollapse","id":"cfg-titleCollapse"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"toFrontOnShow","id":"cfg-toFrontOnShow"},{"meta":{},"owner":"Ext.panel.Panel","tagname":"cfg","name":"tools","id":"cfg-tools"},{"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.menu.Menu","html":"
Hierarchy
Inherited mixins
Requires
Files
A menu containing a Ext.picker.Color Component.
\n\nNotes:
\n\nthis
will not\naffect the ColorPicker's configuration.Example:
\n\nvar colorPicker = Ext.create('Ext.menu.ColorPicker', {\n value: '000000'\n});\n\nExt.create('Ext.menu.Menu', {\n width: 100,\n height: 90,\n floating: false, // usually you want this set to True (default)\n renderTo: Ext.getBody(), // usually rendered by it's containing component\n items: [{\n text: 'choose a color',\n menu: colorPicker\n },{\n iconCls: 'add16',\n text: 'icon item'\n },{\n text: 'regular item'\n }]\n});\n
\nA string component id or the numeric index of the component that should be\ninitially activated within the container's layout on render. For example,\nactiveItem: 'item-1' or activeItem: 0 (index 0 = the first item in the\ncontainer's collection). activeItem only applies to layout styles that can\ndisplay items one at a time (like Ext.layout.container.Card and\nExt.layout.container.Fit).
\nTrue to allow multiple menus to be displayed at the same time.
\nDefaults to: false
Defines the anchoring size of container.\nEither a number to define the width of the container or an object with width
and height
fields.
true
to animate the transition when the panel is collapsed, false
to skip the animation (defaults to true
\nif the Ext.fx.Anim class is available, otherwise false
). May also be specified as the animation\nduration in milliseconds.
If true the container will automatically destroy any contained component that is removed\nfrom it, else destruction must be handled manually.
\nDefaults to: true
A 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\nFloating is true, so autoRender always happens.
\nFloating is true, so autoRender always happens.
\nOverrides: Ext.AbstractComponent.autoRender
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 panel's element.
\nDefaults to: x-panel
Overrides: Ext.AbstractComponent.baseCls
Convenience config. Short for 'Bottom Bar'.
\n\nbbar: [\n { xtype: 'button', text: 'Button 1' }\n]\n
\n\nis equivalent to
\n\ndockedItems: [{\n xtype: 'toolbar',\n dock: 'bottom',\n items: [\n { xtype: 'button', text: 'Button 1' }\n ]\n}]\n
\nA shortcut to add or remove the border on the body of a panel. This only applies to a panel which has the frame configuration set to true
.\nDefaults to undefined
.
A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.\nThe following examples are all valid:
\n\nbodyCls: 'foo'\nbodyCls: 'foo bar'\nbodyCls: ['foo', 'bar']\n
\n\nA shortcut for setting a padding style on the body element. The value can either be\na number to be applied to all sides, or a normal css string describing padding.\nDefaults to undefined
.
Custom CSS styles to be applied to the panel's body element, which can be supplied as a valid CSS style string,\nan object containing style property name/value pairs or a function that returns such a string or object.\nFor example, these two formats are interpreted to be equivalent:
\n\nbodyStyle: 'background:#ffc; padding:10px;'\n\nbodyStyle: {\n background: '#ffc',\n padding: '10px'\n}\n
\n\nSpecifies 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 of events that, when fired, should be bubbled to any parent container.\nSee Ext.util.Observable.enableBubble.
\nDefaults to: ["add", "remove"]
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.
\nTrue to display the 'close' tool button and allow the user to close the window, false to hide the button and\ndisallow closing the window.
\n\nBy default, when close is requested by clicking the close button in the header, the close method will be\ncalled. This will destroy the Panel and its content meaning that it may not be\nreused.
\n\nTo make closing a Panel hide the Panel so that it may be reused, set closeAction to 'hide'.
\nDefaults to: false
The action to take when the close header tool is clicked:
\n\n'destroy'
:
remove the window from the DOM and destroy it and all descendant\nComponents. The window will not be available to be redisplayed via the show method.
'hide'
:
hide the window by setting visibility to hidden and applying negative offsets. The window will be\navailable to be redisplayed via the show method.
Note: This behavior has changed! setting does affect the close method which will invoke the\napproriate closeAction.
\nDefaults to: "destroy"
An optional extra CSS class that will be added to this component's Element. This can be useful\nfor adding customized styles to the component or any of its children using standard CSS rules.
\nDefaults to: ""
The direction to collapse the Panel when the toggle button is clicked.
\n\nDefaults to the headerPosition
\n\nImportant: This config is ignored for collapsible Panels which are direct child items of a border layout.
\n\nSpecify as 'top'
, 'bottom'
, 'left'
or 'right'
.
true
to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in\nthe panel's title bar, false
to render it last.
Defaults to: true
Important: this config is only effective for collapsible Panels which are direct child items of a\nborder layout.
\n\nWhen not a direct child item of a border layout, then the Panel's header\nremains visible, and the body is collapsed to zero dimensions. If the Panel has no header, then a new header\n(orientated correctly depending on the collapseDirection) will be inserted to show a the title and a re-\nexpand tool.
\n\nWhen a child item of a border layout, this config has three possible values:
\n\nundefined
- When collapsed, a placeholder Header is injected into the layout to\nrepresent the Panel and to provide a UI with a Tool to allow the user to re-expand the Panel.
\"header\"
- The Panel collapses to leave its header visible as when not inside a\nborder layout.
\"mini\"
- The Panel collapses without a visible header.
true
to render the panel collapsed, false
to render it expanded.
Defaults to: false
A CSS class to add to the panel's element after it has been collapsed.
\nDefaults to: "collapsed"
True to make the panel collapsible and have an expand/collapse toggle Tool added into the header tool button\narea. False to keep the panel sized either statically, or by an owning layout manager, with no toggle Tool.
\n\nSee collapseMode and collapseDirection
\nDefaults to: false
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.
\nMenus are constrained to the document body by default.
\nDefaults to: true
Specify 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.
The default Ext.Element#getAlignToXY anchor position value for this menu\nrelative to its element of origin.
\nDefaults to: "tl-bl?"
This object holds the default weights applied to dockedItems that have no weight. These start with a\nweight of 1, to allow negative weights to insert before top items and are odd numbers\nso that even weights can be used to get between different dock orders.
\n\nTo make default docking order match border layout, do this:
\n\n Ext.panel.AbstractPanel.prototype.defaultDockWeights = { top: 1, bottom: 3, left: 5, right: 7 };\n
\n\nChanging these defaults as above or individually on this object will effect all Panels.\nTo change the defaults on a single panel, you should replace the entire object:
\n\n initComponent: function () {\n // NOTE: Don't change members of defaultDockWeights since the object is shared.\n this.defaultDockWeights = { top: 1, bottom: 3, left: 5, right: 7 };\n\n this.callParent();\n }\n
\n\nTo change only one of the default values, you do this:
\n\n initComponent: function () {\n // NOTE: Don't change members of defaultDockWeights since the object is shared.\n this.defaultDockWeights = Ext.applyIf({ top: 10 }, this.defaultDockWeights);\n\n this.callParent();\n }\n
\nDefaults to: {top: {render: 1, visual: 1}, left: {render: 3, visual: 5}, right: {render: 5, visual: 7}, bottom: {render: 7, visual: 3}}
The default xtype of child Components to create in this Container when\na child item is specified as a raw configuration object, rather than as an instantiated Component.
\nDefaults to: "panel"
This option is a means of applying default settings to all added items whether added\nthrough the items config or via the add or insert methods.
\n\nDefaults are applied to both config objects and instantiated components conditionally\nso as not to override existing properties in the item (see Ext.applyIf).
\n\nIf the defaults option is specified as a function, then the function will be called\nusing this Container as the scope (this
reference) and passing the added item as\nthe first parameter. Any resulting object from that call is then applied to the item\nas default properties.
For example, to automatically apply padding to the body of each of a set of\ncontained Ext.panel.Panel items, you could pass:\ndefaults: {bodyStyle:'padding:15px'}
.
Usage:
\n\ndefaults: { // defaults are applied to items, not the container\n autoScroll: true\n},\nitems: [\n // default will not be applied here, panel1 will be autoScroll: false\n {\n xtype: 'panel',\n id: 'panel1',\n autoScroll: false\n },\n // this component will have autoScroll: true\n new Ext.panel.Panel({\n id: 'panel2'\n })\n]\n
\nTrue to move any component to the detachedBody when the component is\nremoved from this container. This option is only applicable when the component is not destroyed while\nbeing removed, see autoDestroy and remove. If this option is set to false, the DOM\nof the component will remain in the current place until it is explicitly moved.
\nDefaults to: true
CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.
\nDefaults to: "x-item-disabled"
A component or series of components to be added as docked items to this panel. The docked items can be docked to\neither the top, right, left or bottom of a panel. This is typically used for things like toolbars or tab bars:
\n\nvar panel = new Ext.panel.Panel({\n dockedItems: [{\n xtype: 'toolbar',\n dock: 'top',\n items: [{\n text: 'Docked to the top'\n }]\n }]\n});\n
\nOverrides: Ext.panel.AbstractPanel.dockedItems
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
Convenience config used for adding items to the bottom of the panel. Short for Footer Bar.
\n\nfbar: [\n { type: 'button', text: 'Button 1' }\n]\n
\n\nis equivalent to
\n\ndockedItems: [{\n xtype: 'toolbar',\n dock: 'bottom',\n ui: 'footer',\n defaults: {minWidth: minButtonWidth},\n items: [\n { xtype: 'component', flex: 1 },\n { xtype: 'button', text: 'Button 1' }\n ]\n}]\n
\n\nThe minButtonWidth is used as the default minWidth for\neach of the buttons in the fbar.
\nImportant: This config is only effective for collapsible Panels which are direct child items of a\nborder layout.
\n\ntrue to allow clicking a collapsed Panel's placeholder to display the Panel floated above the layout,\nfalse to force the user to fully expand a collapsed region by clicking the expand button to see it again.
\nDefaults to: true
A Menu configured as floating: true
(the default) will be rendered as an absolutely positioned,\nfloating Component. If configured as floating: false
, the Menu may be\nused as a child item of another Container.
Defaults to: true
Overrides: Ext.Component.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
True to apply a frame to the panel panels header (if 'frame' is true).
\nDefaults to: true
Pass as false
to prevent a Header from being created and shown.
Pass as a config object (optionally containing an xtype
) to custom-configure this Panel's header.
Specify as 'top'
, 'bottom'
, 'left'
or 'right'
.
Defaults to: "top"
true
to hide the expand/collapse toggle button when collapsible == true
, false
to display it.
Defaults to: false
A 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"
False to continue showing the menu after a date is selected.
\nDefaults to: true
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: ""
Path to image for an icon in the header. Used for displaying an icon to the left of a title.
\nCSS class for an icon in the header. Used for displaying an icon to the left of a title.
\nThe 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.
\nTrue to ignore clicks on any item in this menu that is a parent item (displays a submenu)\nso that the submenu is not dismissed when clicking the parent item.
\nDefaults to: false
An itemId can be used as an alternative way to get a reference to a component when no object reference is\navailable. Instead of using an id
with Ext.getCmp, use itemId
with\nExt.container.Container.getComponent which will retrieve\nitemId
's or id's. Since itemId
's are an index to the container's internal MixedCollection, the\nitemId
is scoped locally to the container -- avoiding potential conflicts with Ext.ComponentManager\nwhich requires a unique id
.
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 single item, or an array of child Components to be added to this container
\n\nUnless configured with a layout, a Container simply renders child\nComponents serially into its encapsulating element and performs no sizing or\npositioning upon them.
\n\nExample:
\n\n// specifying a single item\nitems: {...},\nlayout: 'fit', // The single items is sized to fit\n\n// specifying multiple items\nitems: [{...}, {...}],\nlayout: 'hbox', // The items are arranged horizontally\n
\n\nEach item may be:
\n\nIf a configuration object is specified, the actual type of Component to be\ninstantiated my be indicated by using the xtype option.
\n\nEvery Component class has its own xtype.
\n\nIf an xtype is not explicitly specified, the\ndefaultType for the Container is used, which by default is usually panel
.
Ext uses lazy rendering. Child Components will only be rendered\nshould it become necessary. Items are automatically laid out when they are first\nshown (no sizing is done while hidden), or in response to a doLayout call.
\n\n\nConvenience config. Short for 'Left Bar' (left-docked, vertical toolbar).
\n\nlbar: [\n { xtype: 'button', text: 'Button 1' }\n]\n
\n\nis equivalent to
\n\ndockedItems: [{\n xtype: 'toolbar',\n dock: 'left',\n items: [\n { xtype: 'button', text: 'Button 1' }\n ]\n}]\n
\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
\n: When true, the dock component layout writes\nheight information to the panel's DOM elements based on its shrink wrap height\ncalculation. This ensures that the browser respects the calculated height.\nWhen false, the dock component layout will not write heights on the panel or its\nbody element. In some simple layout cases, not writing the heights to the DOM may\nbe desired because this allows the browser to respond to direct DOM manipulations\n(like animations).
\nDefaults to: true
Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or it can\nbe a CSS style specification for each style, for example: '10 5 3 10'.
\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.
\nMinimum width of all footer toolbar buttons in pixels. If set, this will be used as the default\nvalue for the Ext.button.Button.minWidth config of each Button added to the footer toolbar via the\nfbar or buttons configurations. It will be ignored for buttons that have a minWidth configured\nsome other way, e.g. in their own config object or via the defaults of\ntheir parent container.
\nDefaults to: 75
The 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 width of the Menu. The default minWidth only applies when the floating config is true.
\nDefaults to: 120
Overrides: Ext.AbstractComponent.minWidth
An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element,\nand removed when the mouse moves out. This can be useful for adding customized 'active' or 'hover' styles to the\ncomponent or any of its children using standard CSS rules.
\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.
True to overlap the header in a panel over the framing of the panel itself. This is needed when frame:true (and\nis done automatically for you). Otherwise it is undefined. If you manually add rounded corners to a panel header\nwhich does not have frame:true, this will need to be set to true.
\nSpecifies 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 id to assign to the underlying color picker.
\nDefaults to: null
Important: This config is only effective for collapsible Panels which are direct child items of a\nborder layout when not using the 'header'
collapseMode.
Optional. A Component (or config object for a Component) to show in place of this Panel when this Panel is\ncollapsed by a border layout. Defaults to a generated Header containing a Tool to re-expand the Panel.
\nThe mode for hiding collapsed panels when\nusing collapseMode \"placeholder\".
\nThe mode for hiding collapsed panels when\nusing collapseMode \"placeholder\".
\nTrue to remove the incised line down the left side of the menu and to not indent general Component items.
\nDefaults to: false
An object or array of objects that will provide custom functionality for this component. The only requirement for\na valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component\nis created, if any plugins are available, the component will call the init method on each plugin, passing a\nreference to itself. Each plugin can then call methods or respond to events on the component as needed to provide\nits functionality.
\nDefaults to: false
This cfg has been deprecated
\n4.1.0 Use header instead.\nPrevent a Header from being created and shown.
\n\nConvenience config. Short for 'Right Bar' (right-docked, vertical toolbar).
\n\nrbar: [\n { xtype: 'button', text: 'Button 1' }\n]\n
\n\nis equivalent to
\n\ndockedItems: [{\n xtype: 'toolbar',\n dock: 'right',\n items: [\n { xtype: 'button', text: 'Button 1' }\n ]\n}]\n
\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
If true, suspend calls to doLayout. Useful when batching multiple adds to a container\nand not passing them as multiple arguments or an array.
\nDefaults to: false
Convenience config. Short for 'Top Bar'.
\n\ntbar: [\n { xtype: 'button', text: 'Button 1' }\n]\n
\n\nis equivalent to
\n\ndockedItems: [{\n xtype: 'toolbar',\n dock: 'top',\n items: [\n { xtype: 'button', text: 'Button 1' }\n ]\n}]\n
\nThe title text to be used to display in the panel header. When a\ntitle
is specified the Ext.panel.Header will automatically be created and displayed unless\nheader is set to false
.
Defaults to: ""
May be \"left\"
, \"right\"
or \"center\"
.
The alignment of the title text within the available space between the icon and the tools.
\nDefaults to: "left"
true
to allow expanding and collapsing the panel (when collapsible = true
) by clicking anywhere in\nthe header bar, false
) to allow it only by clicking to tool button).
Defaults to: false
An array of Ext.panel.Tool configs/instances to be added to the header tool area. The tools are stored as\nchild components of the header container. They can be accessed using down and {query}, as well as the\nother component methods. The toggle tool is automatically created if collapsible is set to true.
\n\nNote that, apart from the toggle tool which is provided when a panel is collapsible, these tools only provide the\nvisual button. Any required functionality must be provided by adding handlers that implement the necessary\nbehavior.
\n\nExample usage:
\n\ntools:[{\n type:'refresh',\n tooltip: 'Refresh form Data',\n // hidden:true,\n handler: function(event, toolEl, panel){\n // refresh logic\n }\n},\n{\n type:'help',\n tooltip: 'Get Help',\n handler: function(event, toolEl, panel){\n // show help here\n }\n}]\n
\nAn 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
If this Panel is configured draggable, this property will contain an instance of Ext.dd.DragSource which handles dragging the Panel.
\n\nThe developer must provide implementations of the abstract methods of Ext.dd.DragSource in order to\nsupply behaviour for each stage of the drag/drop process. See draggable.
\nIndicates 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 Menu, or subclass thereof.
Defaults to: true
true
in this class to identify an object as an instantiated Observable, or subclass thereof.
Defaults to: true
true
in this class to identify an object as an instantiated Panel, or subclass thereof.
Defaults to: true
The MixedCollection containing all the child items of this container.
\nThe MixedCollection containing all the child items of this container.
\nThe number of container layout calls made on this object.
\nDefaults to: 0
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
The Ext.picker.Color instance for this ColorMenu
\nThe Ext.picker.Color instance for this ColorMenu
\nIndicates 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 Component.
\nThe configuration options may be specified as either:
\n\nOverrides: Ext.AbstractComponent.constructor
Adds Component(s) to this Container.
\n\ndefaults
for details).add
event after the component has been added.If the Container is already rendered when add
\nis called, it will render the newly added Component into its content area.
If the Container was configured with a size-managing layout manager,\nthe Container will recalculate its internal layout at this time too.
\n\nNote that the default layout manager simply renders child Components sequentially\ninto the content area and thereafter performs no sizing.
\n\nIf adding multiple new child Components, pass them as an array to the add
method,\nso that only one layout recalculation is performed.
tb = new Ext.toolbar.Toolbar({\n renderTo: document.body\n}); // toolbar is rendered\n// add multiple items.\n// (defaultType for Toolbar is 'button')\ntb.add([{text:'Button 1'}, {text:'Button 2'}]);\n
\n\nTo inject components between existing ones, use the insert method.
\n\nComponents directly managed by the BorderLayout layout manager may not be removed\nor added. See the Notes for BorderLayout for\nmore details.
\nEither one or more Components to add or an Array of Components to add.\nSee items
for additional information.
The Components that were added.
\nAdds a CSS class to the body element. If not rendered, the class will\nbe added when the panel is rendered.
\nThe class to add
\nthis
\nAdds 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 docked item(s) to the container.
\nThe Component or array of components to add. The components\nmust include a 'dock' parameter on each component to indicate where it should be docked\n('top', 'right', 'bottom', 'left').
\nThe index at which the Component will be added
\nThe added components.
\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.
\nTemplate method to be implemented in subclasses to add their tools after the collapsible tool.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\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.
\nInvoked after the Panel is Collapsed.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\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 Panel is Expanded.
\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.
\nInvoked after the Container has laid out (and rendered if necessary)\nits child Components.
\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 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.
\nOccurs before componentLayout is run. Returning false from this method\nwill prevent the containerLayout from being 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 shown.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nCalled before the change from default, configured state into the collapsed state.\nThis method may be called at render time to enable rendering in an initially collapsed state,\nor at runtime when an existing, fully layed out Panel may be collapsed.\nIt basically saves configs which need to be clobbered for the duration of the collapsed state.
\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
\nCascades down the component/container heirarchy from this component (passed in\nthe first call), calling the specified function with each component. The scope\n(this reference) of the function call will be the scope provided or the current\ncomponent. The arguments to the function will be the args provided or the current\ncomponent. If the function returns false at any point, the cascade is stopped on\nthat branch.
\nThe function to call
\nThe scope of the function (defaults to current component)
\nThe args to call the function with. The current component\nalways passed as the last argument.
\nthis
\nRetrieves the first direct child of this container which matches the passed selector.\nThe passed in selector must comply with an Ext.ComponentQuery selector.
\nAn Ext.ComponentQuery selector. If no selector is\nspecified, the first child will be returned.
\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
\nCloses the Panel. By default, this method, removes it from the DOM, destroys the\nPanel object and all its descendant Components. The beforeclose event is fired before the\nclose happens and will cancel the close action if it returns false.
\n\nNote: This method is also affected by the closeAction setting. For more explicit control use\ndestroy and hide methods.
\nCollapses the panel body so that the body becomes hidden. Docked Components parallel to the border towards which\nthe collapse takes place will remain visible. Fires the beforecollapse event which will cancel the\ncollapse action if it returns false.
\nThe direction to collapse towards. Must be one of
\n\nDefaults to collapseDirection.
\nTrue to animate the transition, else false (defaults to the value of the\nanimCollapse panel config)
\nthis
\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.
\nDeactivates the current active item on the menu, if one exists.
\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.
\nManually force this container's layout to be recalculated. The framework uses this internally to refresh layouts\nform most cases.
\nthis
\nRetrieves the first descendant of this container which matches the passed selector.\nThe passed in selector must comply with an Ext.ComponentQuery selector.
\nAn Ext.ComponentQuery selector. If no selector is\nspecified, the first child will be returned.
\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
Expands the panel body so that it becomes visible. Fires the beforeexpand event which will\ncancel the expand action if it returns false.
\nTrue to animate the transition, else false (defaults to the value of the\nanimCollapse panel config)
\nthis
\nFind 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.
\nReturn the immediate child Component in which the passed element is located.
\nThe element to test (or ID of element).
\nIf true
, returns the deepest descendant Component which contains the passed element.
The child item which contains the passed element.
\nGets a list of child components to enable/disable when the container is\nenabled/disabled
\nItems to be enabled/disabled
\nReturns the current collapsed state of the panel.
\nFalse when not collapsed, otherwise the value of collapseDirection.
\nAttempts a default component lookup (see Ext.container.Container.getComponent). If the component is not found in the normal\nitems, the dockedItems are searched and the matched component (if any) returned (see getDockedComponent). Note that docked\nitems will only be matched by component id or itemId -- if you pass a numeric index only non-docked child components will be searched.
\nThe component (if found)
\nOverrides: Ext.container.AbstractContainer.getComponent
Gets the x/y offsets to constrain this float
\nThe Element or Region\ninto which this Component is to be constrained.
\nThe x/y constraints
\nFinds a docked component by id, itemId or position. Also see getDockedItems
\nThe id, itemId or position of the docked component (see getComponent for details)
\nThe docked component (if found)
\nRetrieves an array of all currently docked Components.
\n\nFor example to find a toolbar that has been docked at top:
\n\npanel.getDockedItems('toolbar[dock=\"top\"]');\n
\nA ComponentQuery selector string to filter the returned items.
\nAn optional flag to limit the set of items to only those\n before the body (true) or after the body (false). All components are returned by\n default.
\nThe array of docked components meeting the specified criteria.
\nReturns the focus holder element associated with this Container. By default, this is the Container's target\nelement. Subclasses which use embedded focusable elements (such as Window and Button) should override this for use\nby the focus method.
\nthe focus holding element.
\nOverrides: Ext.AbstractComponent.getFocusEl
On render, reads an encoded style attribute, \"background-position\" from the style of this Component's element.\nThis information is memoized based upon the CSS class name of this Component's element.\nBecause child Components are rendered as textual HTML as part of the topmost Container, a dummy div is inserted\ninto the document to receive the document element's CSS class name, and therefore style attributes.
\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
\nReturns the layout instance currently associated with this Container.\nIf a layout has not been instantiated yet, that is done first
\nThe layout
\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 this Component, setting it to invisible using the configured hideMode.
\nA callback function to call after the Component is hidden.
\nThe scope (this
reference) in which the callback is executed.\nDefaults to this Component.
this
\nHides picker on select if hideOnClick is true
\nParses the bodyStyle config if available to create a style string that will be applied to the body element.\nThis also includes bodyPadding and bodyBorder if available.
\nA CSS style string with body styles, padding and border.
\nThe 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
\nOverrides: Ext.util.Renderable.initRenderData
Initializes the state of the object upon construction.
\nTools are a Panel-specific capabilty.\nPanel uses initTools. Subclasses may contribute tools by implementing addTools.
\nInserts a Component into this Container at a specified index. Fires the\nbeforeadd event before inserting, then fires the add\nevent after the Component has been inserted.
\nThe index at which the Component will be inserted\ninto the Container's items collection
\nThe child Component to insert.
\n\nExt uses lazy rendering, and will only render the inserted Component should\nit become necessary.
\n\nA Component config object may be passed in order to avoid the overhead of\nconstructing a real Component object if lazy rendering might mean that the\ninserted Component will not be rendered immediately. To take advantage of\nthis 'lazy instantiation', set the Ext.Component.xtype config\nproperty to the registered type of the Component wanted.
\n\nFor a list of all available xtypes, see Ext.Component.
\ncomponent The Component (or config object) that was\ninserted with the Container's default config values applied.
\nInserts docked item(s) to the panel at the indicated position.
\nDetermines whether this Container is an ancestor of the passed Component.\nThis will return true
if the passed Component is anywhere within the subtree\nbeneath this Container.
The Component to test for presence\nwithin this Container's subtree.
\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.
Moves a Component within the Container
\nThe index the Component you wish to move is currently at.
\nThe new index for the Component.
\ncomponent The Component (or config object) that was moved.
\nShorthand 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\nThis method is invoked after a new Component has been added. It\nis passed the Component which has been added. This method may\nbe used to update any internal structure which may depend upon\nthe state of the child items.
\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 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
\nThis method is invoked before adding a new child Component. It\nis passed the new Component, and may be used to modify the\nComponent, or prepare the Container in some way. Returning\nfalse aborts the add operation.
\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 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.
\nInvoked after a docked item is added to the Panel.
\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 a docked item is removed from the Panel.
\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.
\nThis method is invoked after a new Component has been\nremoved. It is passed the Component which has been\nremoved. This method may be used to update any internal\nstructure which may depend upon the state of the child items.
\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.
\nRetrieves all descendant components which match the passed selector.\nExecutes an Ext.ComponentQuery.query using this container as its root.
\nSelector complying to an Ext.ComponentQuery selector.\nIf no selector is specified all items will be returned.
\nComponents which matched the selector
\nRetrieves all descendant components which match the passed function.\nThe function should return false for components that are to be\nexcluded from the selection.
\nThe matcher function. It will be called with a single argument,\nthe component being tested.
\nThe scope in which to run the function. If not specified,\nit will default to the active component.
\nComponents matched by the passed function
\nFinds a component at any level under this container matching the id/itemId.\nThis is a shorthand for calling ct.down('#' + id);
\nThe id to find
\nThe matching id, null if not found
\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 a component from this container. Fires the beforeremove event\nbefore removing, then fires the remove event after the component has\nbeen removed.
\nThe component reference or id to remove.
\nTrue to automatically invoke the removed Component's\nExt.Component.destroy function.
\n\nDefaults to the value of this Container's autoDestroy config.
\ncomponent The Component that was removed.
\nRemoves all components from this container.
\nTrue to automatically invoke the removed\nComponent's Ext.Component.destroy function.\nDefaults to the value of this Container's autoDestroy config.
\nArray of the removed components
\nRemoves a CSS class from the body element.
\nThe class to remove
\nthis
\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 the docked item from the panel.
\n. The Component to remove.
\nDestroy the component after removal.
\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)
\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 body style according to the passed parameters.
\nA full style specification string, or object, or the name of a style property to set.
\nIf the first param was a style property name, the style property value.
\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
\nSet the icon for the panel's header. See Ext.panel.Header.icon. It will fire the\niconchange event after completion.
\nThe new icon path
\nSet the iconCls for the panel's header. See Ext.panel.Header.iconCls. It will fire the\niconclschange event after completion.
\nThe new CSS class name
\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
\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
\nShows the floating menu by the specified Component or Element.
\nThe Ext.Component or Ext.Element to show the menu by.
\nAlignment position as used by Ext.Element.getAlignToXY.\nDefaults to defaultAlign
.
Alignment offsets as used by Ext.Element.getAlignToXY.
\nThis Menu.
\nThis method begins the slide out of the floated panel.
\nThis method cleans up after the slide out of the floated panel.
\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 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.
\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
\nShortcut for performing an expand or collapse based on the current state of the panel.
\nthis
\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).
Update the content area of a component.
\nIf this component has been configured with a template via the tpl config then\nit will use this argument as data to populate the template. If this component was not configured with a template,\nthe components content area will be updated via Ext.Element update
\nOnly legitimate when using the html configuration.
\nDefaults to: false
Only legitimate when using the html configuration. Callback to execute when\nscripts have finished loading
\nInjected 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
\nCreate, hide, or show the header component as appropriate based on the current config.
\nTrue to force the header to be created
\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 any Ext.Component is added or inserted into the container.
\n\nThis event bubbles: 'add' will also be fired when Component is added to any of\nthe child containers or their childern or ...
\nThe component that was added
\nThe index at which the component was added to the container's items collection
\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 when the components in this container are arranged by the associated layout manager.
\nThe ContainerLayout implementation for this container
\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 any Ext.Component is added or inserted into the container.\nA handler can return false to cancel the add.
\nThe component being added
\nThe index at which the component will be added to the container's items collection
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the user closes the panel. Return false from any listener to stop the close event being\nfired
\nThe Panel object
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before this panel is collapsed. Return false to prevent the collapse.
\nThe Panel being collapsed.
\n. The direction of the collapse. One of
\n\nTrue if the collapse is animated, else false.
\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 this panel is expanded. Return false to prevent the expand.
\nThe Panel being expanded.
\nTrue if the expand is animated, else false.
\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 any Ext.Component is removed from the container. A handler can return\nfalse to cancel the remove.
\nThe component being removed
\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\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nOverrides: Ext.menu.Menu.click
Fires when the user closes the panel.
\nThe Panel object
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after this Panel hass collapsed.
\nThe Panel that has been collapsed.
\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 after this Panel has expanded.
\nThe Panel that has been expanded.
\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 Panel icon has been set or changed.
\nThe Panel which has the icon changed.
\nThe path to the new icon image.
\nThe path to the previous panel icon image.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the Panel iconCls has been set or changed.
\nThe Panel which has the iconCls changed.
\nThe new iconCls.
\nThe previous panel iconCls.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the mouse enters this menu
\nThe menu
\nThe underlying Ext.EventObject
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the mouse leaves this menu
\nThe menu
\nThe underlying Ext.EventObject
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the mouse is hovering over this menu
\nThe menu
\nThe menu item that the mouse is over. undefined
if not applicable.
The underlying Ext.EventObject
\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 after any Ext.Component is removed from the container.
\n\nThis event bubbles: 'remove' will also be fired when Component is removed from any of\nthe child containers or their children or ...
\nThe component that was removed
\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 when a color is selected
\nThe 6-digit color hex code (without the # symbol)
\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\nFires after the Panel title has been set or changed.
\nthe Panel which has been resized.
\nThe new title.
\nThe previous panel title.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nCreate the base structure of an Ext.Panel
\nCreates a visual theme for an Ext.Panel
\n