| activeItem : String/NumberA string component id or the numeric index of the component that should be initially activated within the
+ Config Options|
| activeItem : String/NumberA string component id or the numeric index of the component that should be initially activated within the
container's... A string component id or the numeric index of the component that should be initially activated within the
container's layout on render. For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first
item in the container's collection). activeItem only applies to layout styles that can display
@@ -203,8 +203,8 @@ which assigns a value by default:
To configure the above Class with an extra CSS class append to the default. For example,
for BoxLayout (Hbox and Vbox): ctCls: 'x-box-layout-ct custom-class'
| Component | | data : MixedThe initial set of data to apply to the tpl to
-update the content area of the Component. | Component | | defaultAlign : StringExperimental. The default Ext.Element.alignTo anchor position value
-for this tip relative to its element of origin (... Experimental. The default Ext.Element.alignTo anchor position value
+update the content area of the Component. | Component | | defaultAlign : StringExperimental. The default Ext.Element.alignTo anchor position value
+for this tip relative to its element of origin (d... Experimental. The default Ext.Element.alignTo anchor position value
for this tip relative to its element of origin (defaults to "tl-bl?"). | Tip | | defaultType : StringThe default xtype of child Components to create in this Container when
a child item is specified as a raw configurati... The default xtype of child Components to create in this Container when
a child item is specified as a raw configuration object, rather than as an instantiated Component.
@@ -816,8 +816,8 @@ to render and manage its child items.
When using this config, a call to render() is not required.
-See render also. | Component | | resizeEvent : String The event to listen to for resizing in layouts. Defaults to 'bodyresize'. | Panel | | shadow : Boolean/StringTrue or "sides" for the default effect, "frame" for 4-way shadow, and "drop"
-for bottom-right shadow (defaults to "s... True or "sides" for the default effect, "frame" for 4-way shadow, and "drop"
+ See render also. | Component | | resizeEvent : String The event to listen to for resizing in layouts. Defaults to 'bodyresize'. | Panel | | shadow : Boolean/StringTrue or "sides" for the default effect, "frame" for 4-way shadow, and "drop"
+for bottom-right shadow (defaults to "si... True or "sides" for the default effect, "frame" for 4-way shadow, and "drop"
for bottom-right shadow (defaults to "sides"). | Tip | | shadowOffset : NumberThe number of pixels to offset the shadow if displayed (defaults to 4). Note that this
option only applies when float... The number of pixels to offset the shadow if displayed (defaults to 4 ). Note that this
option only applies when floating = true . | Panel | | shim : Booleanfalse to disable the iframe shim in browsers which need one (defaults to true).
@@ -1021,8 +1021,8 @@ updating the content area of the Component. Defaults to 'overwrite'
updating the content area of the Component. Defaults to 'overwrite'
(see Ext.XTemplate.overwrite ). | Component | | unstyled : BooleanOverrides the baseCls setting to baseCls = 'x-plain' which renders
the panel unstyled except for required attributes ... Overrides the baseCls setting to baseCls = 'x-plain' which renders
-the panel unstyled except for required attributes for Ext layouts to function (e.g. overflow:hidden). | Panel | | width : NumberWidth in pixels of the tip (defaults to auto). Width will be ignored if it exceeds the bounds of
-minWidth or maxWid... Width in pixels of the tip (defaults to auto). Width will be ignored if it exceeds the bounds of
+the panel unstyled except for required attributes for Ext layouts to function (e.g. overflow:hidden). | Panel | | width : NumberWidth in pixels of the tip (defaults to auto). Width will be ignored if it exceeds the bounds of
+minWidth or maxWidt... Width in pixels of the tip (defaults to auto). Width will be ignored if it exceeds the bounds of
minWidth or maxWidth. The maximum supported value is 500. | Tip | | x : Number The local x (left) coordinate for this component if contained within a positioning container. | BoxComponent | | xtype : StringThe registered xtype to create. This config option is not used when passing
a config object into a constructor. This ... The registered xtype to create. This config option is not used when passing
a config object into a constructor. This config option is used only when
@@ -1077,14 +1077,12 @@ Note: see the Note for el al... | Panel | | hidden : Boolean True if this component is hidden. Read-only. | Component | | initialConfig : Object This Component's initial configuration specification. Read-only. | Component | | items : MixedCollection | Container | | ownerCt : Ext.ContainerThis Component's owner Container (defaults to undefined, and is set automatically when
this Component is added to a C... This Component's owner Container (defaults to undefined, and is set automatically when
this Component is added to a Container). Read-only.
- Note: to access items within the Container see itemId. | Component | | private : ObjectWe can only lay out if there is a view area in which to layout.
-display:none on the layout target, *or any of its par... We can only lay out if there is a view area in which to layout.
-display:none on the layout target, *or any of its parent elements* will mean it has no view area. | Container | | refOwner : Ext.ContainerThe ancestor Container into which the ref reference was inserted if this Component
+ Note: to access items within the Container see itemId. | Component | | refOwner : Ext.ContainerThe ancestor Container into which the ref reference was inserted if this Component
is a child of a Container, and has... The ancestor Container into which the ref reference was inserted if this Component
is a child of a Container, and has been configured with a ref . | Component | | rendered : Boolean True if this component has been rendered. Read-only. | Component |
Public Methods|
| Tip( Object config )
- | Tip | | add( Object/Array component , Object (Optional) , Object (Optional) )
+ | Tip | | 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... Parameters:component : Object/ArrayEither a single component or an Array of components to add. See
-items for additional information. (Optional) : Objectcomponent_2 (Optional) : Objectcomponent_n Returns: | Container | | addButton( String/Object config , Function handler , Object scope )
+Parameters:component : ...Object/ArrayEither one or more Components to add or an Array of Components to add. See
+items for additional information. Returns: | 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
@@ -1210,38 +1208,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. | 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.getBubbleTarget() if present. There is no implementation in the Observable base class.
- 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: Ext.override(Ext.form.Field, {
- // Add functionality to Field's initComponent to enable the change event to bubble
- initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
- this.enableBubble('change');
- }),
-
- // We know that we want Field's events to bubble directly to the FormPanel.
- getBubbleTarget : function() {
- if (!this.formPanel) {
- this.formPanel = this.findParentByType('form');
- }
- return this.formPanel;
- }
-});
-
-var myForm = new Ext.formPanel({
- title: 'User Details',
- items: [{
- ...
- }],
- listeners: {
- change: function() {
- // Title goes red if form has been modified.
- myForm.header.setStyle('color', 'red');
- }
- }
+ 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.getBubbleTarget() if present. There is no implementation in the Observable base class.
+ 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: Ext.override(Ext.form.Field, {
+ // Add functionality to Field's initComponent to enable the change event to bubble
+ initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+ this.enableBubble('change');
+ }),
+
+ // We know that we want Field's events to bubble directly to the FormPanel.
+ getBubbleTarget : function() {
+ if (!this.formPanel) {
+ this.formPanel = this.findParentByType('form');
+ }
+ return this.formPanel;
+ }
+});
+
+var myForm = new Ext.formPanel({
+ title: 'User Details',
+ items: [{
+ ...
+ }],
+ listeners: {
+ change: function() {
+ // Title goes red if form has been modified.
+ myForm.header.setStyle('color', 'red');
+ }
+ }
});
| Observable | | expand( Boolean animate )
:
Ext.PanelExpands the panel body so that it becomes visible. Fires the beforeexpand event which will
@@ -1308,7 +1306,9 @@ or use a render listener directly: new Ext.Panel({
},
single: true // Remove the listener after first invocation
}
-});
| Component | | getFrameHeight()
+}); | Component | | getFooterToolbar()
+ :
+ Ext.ToolbarReturns the toolbar from the footer (fbar) section of the panel. Returns the toolbar from the footer ( fbar ) section of the panel. | Panel | | getFrameHeight()
:
NumberReturns 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
@@ -1515,10 +1515,10 @@ events fired during event suspension will be sent to any listeners now. Sets the overflow on the content element of the component. Sets the overflow on the content element of the component. | BoxComponent | | setDisabled( Boolean disabled )
:
- Ext.ComponentConvenience function for setting disabled/enabled by boolean. Convenience function for setting disabled/enabled by boolean. | Component | | setHeight( Number height )
+ Ext.ComponentConvenience function for setting disabled/enabled by boolean. Convenience function for setting disabled/enabled by boolean. | 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:height : NumberThe new height to set. This may be one of:
| BoxComponent | | setIconClass( String cls )
@@ -1555,10 +1555,10 @@ In order to be able to set the title, a header eleme...<
for the Panel. This is triggered either by configuring the Panel with a non-blank title ,
or configuring it with header: true . Parameters:title : StringThe title text to set iconCls : String(optional) iconCls A user-defined CSS class that provides the icon image for this panel Returns: | 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. | 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. | 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:width : NumberThe new width to setThis may be one of:
| BoxComponent | | show()
:
@@ -1567,20 +1567,20 @@ false to cancel showing the component. Fires the '...Sh
false to cancel showing the component. Fires the ' show'
event after showing the component. | Component | | showAt( Array xy )
:
- voidShows this tip at the specified XY position. Example usage:
-// Show the tip at x:50 and y:100
-tip.showAt([50,100])... Shows this tip at the specified XY position. Example usage:
- // Show the tip at x:50 and y:100
+ voidShows this tip at the specified XY position. Example usage:
+// Show the tip at x:50 and y:100
+tip.showAt([50,100]); Shows this tip at the specified XY position. Example usage:
+ // Show the tip at x:50 and y:100
tip.showAt([50,100]);
| Tip | | showBy( Mixed el , [String position ] )
:
- voidExperimental. Shows this tip at a position relative to another element using a standard Ext.Element.alignTo
-anchor p... Experimental. Shows this tip at a position relative to another element using a standard Ext.Element.alignTo
-anchor position value. Example usage:
- // Show the tip at the default position ('tl-br?')
-tip.showBy('my-el');
-
-// Show the tip's top-left corner anchored to the element's top-right corner
-tip.showBy('my-el', 'tl-tr');
| Tip | | suspendEvents( Boolean queueSuspended )
:
voidSuspend the firing of all events. (see resumeEvents) |
|