X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.Component.html?ds=inline diff --git a/docs/output/Ext.Component.html b/docs/output/Ext.Component.html index 51f3947e..4aedbdd1 100644 --- a/docs/output/Ext.Component.html +++ b/docs/output/Ext.Component.html @@ -1,4 +1,5 @@ -
Observable Component
Package: | Ext |
Defined In: | Component.js |
Class: | Component |
Subclasses: | BoxComponent, ColorPalette, DatePicker, Editor, BaseItem |
Extends: | Observable |
Base class for all Ext components. All subclasses of Component may participate in the automated +
Observable + Component
Package: | Ext |
Defined In: | Component.js |
Class: | Component |
Subclasses: | BoxComponent, ColorPalette, DatePicker, Editor, PivotAxis, BaseItem |
Extends: | Observable |
Base class for all Ext components. All subclasses of Component may participate in the automated Ext component lifecycle of creation, rendering and destruction which is provided by the Container class. Components may be added to a Container through the items config option at the time the Container is created, or they may be added dynamically via the add method.
@@ -28,10 +29,11 @@ editorgrid Ext.FlashComponent grid Ext.grid.GridPanel listview Ext.ListView +multislider Ext.slider.MultiSlider panel Ext.Panel progress Ext.ProgressBar propertygrid Ext.grid.PropertyGrid -slider Ext.Slider +slider Ext.slider.SingleSlider spacer Ext.Spacer splitbutton Ext.SplitButton tabpanel Ext.TabPanel @@ -68,6 +70,7 @@ form Ext.form.Checkbox checkboxgroup Ext.form.CheckboxGroup combo Ext.form.ComboBox +compositefield Ext.form.CompositeField datefield Ext.form.DateField displayfield Ext.form.DisplayField field Ext.form.Field @@ -628,7 +631,12 @@ Or a shorthand syntax:String/HTMLElement el
)
:
- voidel
: String/HTMLElementObject overrides
)
+ voidel
: String/HTMLElementFunction fn
, [Object scope
], [Array args
] )
+ :
+ Ext.Componentfn
: Functionscope
: Objectargs
: ArrayExt.Component
Object overrides
)
:
Ext.Componentoverrides
: ObjectExt.Component
fn
: FunctionExt.Container
String/Class xtype
)
+true, the container will be returned.fn
: FunctionExt.Container
String/Ext.Component/Class xtype
, [Boolean shallow
] )
:
- Ext.Containerxtype
: String/ClassExt.Container
String eventName
, Object... args
)
+ Ext.Containerxtype
: String/Ext.Component/Classshallow
: BooleanExt.Container
String eventName
, Object... args
)
:
BooleanFires the specified event with the passed parameters (minus the event name).
@@ -743,7 +753,7 @@ false to cancel hiding the component. Fires the 'h...hidden
.Ext.Component
Boolean
String xtype
, [Boolean shallow
] )
+ BooleanBoolean
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 @@ -755,7 +765,11 @@ to participate in determination of inherited xtypes.
var t = new Ext.form.TextField();
var isText = t.isXType('textfield'); // true
var isBoxSubclass = t.isXType('box'); // true, descended from BoxComponent
-var isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance
xtype
: Stringshallow
: Booleanxtype
: String/Ext.Component/Classvar c = new Ext.Component();
+console.log(c.isXType(c));
+console.log(c.isXType(Ext.Component));
shallow
: BooleanBoolean
Observable|Element item
, Object|String ename
, Function fn
, Object scope
, Object opt
)
:
void