Clear Up
SharpKit Reference

Container Class

Namespace: Ext

Derived Types

Methods

Name Description
add(JsArray) Adds one or more Components to this Container. Example: * var myPanel = Ext.create('Ext.Panel', { html: 'This will be added to a Container' }); * myContainer.add([myPanel]) * @param {Array} newItems The new items to add to the Container
applyActiveItem(object) @private
applyDefaults(object)
applyItems(object)
applyScrollable(object) @private
child(JsString) Retrieves the first direct child of this container which matches the passed selector. The passed in selector must comply with an Ext.ComponentQuery selector. @param {String} selector An Ext.ComponentQuery selector @return Ext.Component
destroy()
doAdd(object) @private @param item
doInsert(object, object) @private @param index @param item
doSetActiveItem(object, object) @private
down(JsString) Retrieves the first descendant of this container which matches the passed selector. The passed in selector must comply with an Ext.ComponentQuery selector. @param {String} selector An Ext.ComponentQuery selector @return Ext.Component
factoryItem(object)
factoryItemWithDefaults(object)
getAt(JsNumber) Returns the Component for a given index in the Container's {@link #items} @param {Number} index The index of the Component to return @return {Ext.Component} The item at the specified index, if found
getComponent(object)
getElementConfig()
getInnerItems() @private
getRefItems(object)
getScrollable() @private
getScrollableBehavior() @private
has(object) @private
hasInnerItem(object) @private
indexOf(object) @private
insert(JsNumber, object) Adds a child Component at the given index. For example, here's how we can add a new item, making it the first child Component of this Container: * myContainer.insert(0, {xtype: 'panel', html: 'new item'}); * @param {Number} index The index to insert the Component at @param {Object} item The Component to insert
insertAfter(object, object) @private
insertBefore(object, object) @private
insertFirst(object) @private
insertInner(object, object) @private @param item @param index
insertLast(object) @private
onAdd(object, object) @private
onClassExtended(object, object)
onFirstAdd() Initialize layout and event listeners the very first time an item is added @private
onItemCenteredChange(object, object) @private
onItemDockedChange(object, object, object) @private
onItemFloatingChange(object, object) @private
onMove(object, object, object) @private
onRemove(object, object) @private
query(JsString) Retrieves all descendant components which match the passed selector. Executes an Ext.ComponentQuery.query using this container as its root. @param {String} selector Selector complying to an Ext.ComponentQuery selector @return {Array} Ext.Component's which matched the selector
remove(object, bool) Removes an item from this Container, optionally destroying it @param {Object} item The item to remove @param {Boolean} destroy Calls the Component's {@link Ext.Component#destroy destroy} method if true @return {Ext.Component} this
removeAll(bool) Removes all items currently in the Container, optionally destroying them all @param {Boolean} destroy If true, {@link Ext.Component#destroy destroys} each removed Component @return {Ext.Component} this
removeAt(JsNumber) Removes the Component at the specified index: * myContainer.removeAt(0); //removes the first item * @param {Number} index The index of the Component to remove
removeInner(object) @private @param item
setRendered(object) @private
updateBaseCls(object, object)
updateDefaultType(object)
updateUseBodyElement(object)

Properties

Name Description
alternateClassName
extend
isContainer
Rendered @private
xtype
© Copyright 2005-2011 SharpKit. All rights reserved.