X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.TabPanel.html?ds=inline diff --git a/docs/output/Ext.TabPanel.html b/docs/output/Ext.TabPanel.html index 0f2ee153..f3151c8a 100644 --- a/docs/output/Ext.TabPanel.html +++ b/docs/output/Ext.TabPanel.html @@ -1,4 +1,9 @@ -
Observable Component BoxComponent Container Panel TabPanel
Package: | Ext |
Defined In: | TabPanel.js |
Class: | TabPanel |
Extends: | Panel |
A basic tab container. TabPanels can be used exactly like a standard Ext.Panel +
Observable + Component + BoxComponent + Container + Panel + TabPanel
Package: | Ext |
Defined In: | TabPanel.js |
Class: | TabPanel |
Extends: | Panel |
A basic tab container. TabPanels can be used exactly like a standard Ext.Panel for layout purposes, but also have special support for containing child Components (items) that are managed using a CardLayout layout manager, and displayed as separate tabs.
@@ -256,7 +261,7 @@ element: }, footerCfg: { tag: 'h2', - cls: 'x-panel-footer' // same as the Default class + cls: 'x-panel-footer', // same as the Default class html: 'footer html' }, footerCssClass: 'custom-footer', // additional css class, see addClass @@ -1122,18 +1127,16 @@ Note: see the Note ...Note: to access items within the Container see itemId.
ref
.Method | Defined By | |
---|---|---|
TabPanel( Object config )
Parameters:
| TabPanel | |
activate( String/Panel tab )
:
voidSee setActiveTab. Sets the specified tab as the active tab. This method fires
the beforetabchange event which can ret... See setActiveTab. Sets the specified tab as the active tab. This method fires
-the beforetabchange event which can return false to cancel the tab change. Parameters:
| TabPanel | |
add( Object/Array component , Object (Optional) , Object (Optional) )
+the beforetabchange event which can return false to cancel the tab change.Parameters:
| TabPanel | |
add( ...Object/Array component )
:
- Ext.ComponentAdds Component(s) to this Container.
+ Ext.Component/Array Adds Component(s) to this Container.
Description :
<ul class="mdetail-params">
Fires the beforeadd event before addin... Adds Component(s) to this Container. @@ -1158,8 +1161,8 @@ tb.BorderLayout for more details. -Parameters:
| Container | |
addButton( String/Object config , Function handler , Object scope )
+Parameters:
| Container | |
addButton( String/Object config , Function handler , Object scope )
:
Ext.ButtonAdds a button to this panel. Note that this method must be called prior to rendering. The preferred
approach is to ... Adds a button to this panel. Note that this method must be called prior to rendering. The preferred
@@ -1225,12 +1228,12 @@ Or a shorthand syntax: : void Apply this component to existing markup that is valid. With this function, no call to render() is required. Apply this component to existing markup that is valid. With this function, no call to render() is required. Parameters:
| Component | |
beginUpdate()
:
- void Suspends any internal calculations or scrolling while doing a bulk operation. See endUpdate Suspends any internal calculations or scrolling while doing a bulk operation. See endUpdate Parameters:
| TabPanel | |
bubble( Function fn , [Object scope ], [Array args ] )
+ voidSuspends any internal calculations or scrolling while doing a bulk operation. See endUpdate Suspends any internal calculations or scrolling while doing a bulk operation. See endUpdate Parameters:
| TabPanel | |
bubble( Function fn , [Object scope ], [Array args ] )
:
- Ext.ContainerBubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of... Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of
+ Ext.Component Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of... Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of
function call will be the scope provided or the current component. The arguments to the function
will be the args provided or the current component. If the function returns false at any point,
-the bubble is stopped. Parameters:
| Container | |
cascade( Function fn , [Object scope ], [Array args ] )
+the bubble is stopped.Parameters:
| Component | |
cascade( Function fn , [Object scope ], [Array args ] )
:
Ext.ContainerCascades down the component/container heirarchy from this component (called first), calling the specified function wi... Cascades down the component/container heirarchy from this component (called first), calling the specified function with
each component. The scope (this) of
@@ -1261,38 +1264,38 @@ calc layouts as required (defaults to false, which calls doLayout recursively fo
:
Ext.Component Enable this component and fire the 'enable' event. Enable this component and fire the 'enable' event. Parameters:
| Component | |
enableBubble( String/Array events )
:
- voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
-this.getBubbleTarget() if present... Enables events fired by this Observable to bubble up an owner hierarchy by calling
- This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default -implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to -access the required target more quickly. -Example:
| Observable | |
endUpdate()
:
void Resumes calculations and scrolling at the end of a bulk operation. See beginUpdate Resumes calculations and scrolling at the end of a bulk operation. See beginUpdate Parameters:
| TabPanel | |
expand( Boolean animate )
@@ -1315,9 +1318,11 @@ the default), or true to check whether this Component is directly of the specifi
:
Ext.ContainerFind a container above this component at any level by a custom function. If the passed function returns
true, the con... Find a container above this component at any level by a custom function. If the passed function returns
-true, the container will be returned. Parameters:
| Component | |
findParentByType( String/Class xtype )
+true, the container will be returned.Parameters:
| Component | |
findParentByType( String/Ext.Component/Class xtype , [Boolean shallow ] )
:
- Ext.ContainerFind a container above this component at any level by xtype or class Find a container above this component at any level by xtype or class Parameters:
| Component | |
fireEvent( String eventName , Object... args )
+ Ext.ContainerFind a container above this component at any level by xtype or class Find a container above this component at any level by xtype or class Parameters:
| Component | |
fireEvent( String eventName , Object... args )
:
BooleanFires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Obse... Fires the specified event with the passed parameters (minus the event name). @@ -1366,7 +1371,9 @@ or use a render listener directly:
Parameters:
| Component | |
getFrameHeight()
+}); Parameters:
| Component | |
getFooterToolbar() + : + Ext.Toolbar | Panel | |
getFrameHeight()
:
Number Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
header and ... Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
@@ -1426,7 +1433,7 @@ This Element is returned as the resizeEl .Gets the DOM element for the tab strip item which activates the child panel with the specified
ID. Access this to cha... Gets the DOM element for the tab strip item which activates the child panel with the specified
-ID. Access this to change the visual treatment of the item, for example by changing the CSS class name. Parameters:
| TabPanel | |
getTemplateArgs( BoxComponent item )
+ID. Access this to change the visual treatment of the item, for example by changing the CSS class name.Parameters:
| TabPanel | |
getTemplateArgs( Ext.BoxComponent item )
:
ObjectProvides template arguments for rendering a tab selector item in the tab strip.
This method returns an object hash co... Provides template arguments for rendering a tab selector item in the tab strip. @@ -1437,7 +1444,7 @@ are:
Parameters:
| TabPanel | |
getTool( String id )
+Parameters:
| TabPanel | |
getTool( String id )
:
ObjectRetrieve a tool by id. Retrieve a tool by id. Parameters:
| Panel | |
getTopToolbar()
:
@@ -1487,7 +1494,7 @@ property to the registered type of the Component wanted. For a list of all available xtypes, see Ext.Component.Returns:
| Container | |
isVisible()
:
- Boolean Returns true if this component is visible. Returns true if this component is visible. Parameters:
| Component | |
isXType( String xtype , [Boolean shallow ] )
+ BooleanReturns true if this component is visible. Returns true if this component is visible. Parameters:
| Component | |
isXType( String/Ext.Component/Class xtype , [Boolean shallow ] )
:
BooleanTests whether or not this Component is of a specific xtype. This can test whether this Component is descended
from th... Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended @@ -1499,7 +1506,11 @@ to participate in determination of inherited xtypes.
Parameters:
| Component | |
load( Object/String/Function config )
:
Ext.PanelLoads this content panel immediately with content returned from an XHR call. Loads this content panel immediately with content returned from an XHR call. Parameters:
| BoxComponent | |
setDisabled( Boolean disabled )
:
- Ext.ComponentConvenience function for setting disabled/enabled by boolean. Convenience function for setting disabled/enabled by boolean. Parameters:
| Component | |
setHeight( Number height )
+ Ext.ComponentConvenience function for setting disabled/enabled by boolean. Convenience function for setting disabled/enabled by boolean. Parameters:
| Component | |
setHeight( Mixed height )
:
- Ext.BoxComponentSets the height of the component. This method fires the resize event. Sets the height of the component. This method fires the resize event. Parameters:
| BoxComponent | |
setIconClass( String cls )
@@ -1649,10 +1660,10 @@ In order to be able to set the title, a header eleme... | Panel | |
setVisible( Boolean visible )
:
- Ext.ComponentConvenience function to hide or show this component by boolean. Convenience function to hide or show this component by boolean. Parameters:
| Component | |
setWidth( Number width )
+ Ext.ComponentConvenience function to hide or show this component by boolean. Convenience function to hide or show this component by boolean. Parameters:
| Component | |
setWidth( Mixed width )
:
- Ext.BoxComponentSets the width of the component. This method fires the resize event. Sets the width of the component. This method fires the resize event. Parameters:
| BoxComponent | |
show() : |