X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..refs/heads/old:/docs/output/Ext.tree.TreePanel.html diff --git a/docs/output/Ext.tree.TreePanel.html b/docs/output/Ext.tree.TreePanel.html index 6c268dab..fe42ec9d 100644 --- a/docs/output/Ext.tree.TreePanel.html +++ b/docs/output/Ext.tree.TreePanel.html @@ -1,4 +1,9 @@ -
Observable Component BoxComponent Container Panel TreePanel
Package: | Ext.tree |
Defined In: | TreePanel.js |
Class: | TreePanel |
Extends: | Panel |
The TreePanel provides tree-structured UI representation of tree-structured data.
+Observable + Component + BoxComponent + Container + Panel + TreePanel
Package: | Ext.tree |
Defined In: | TreePanel.js |
Class: | TreePanel |
Extends: | Panel |
The TreePanel provides tree-structured UI representation of tree-structured data.
TreeNodes added to the TreePanel may each contain metadata used by your application in their attributes property.
A TreePanel must have a root node before it is rendered. This may either be @@ -141,7 +146,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 @@ -1000,12 +1005,12 @@ Or a shorthand syntax:Function fn
, [Object scope
], [Array args
] )
+});Returns:Function fn
, [Object scope
], [Array args
] )
:
- Ext.Containerfn
: Functionscope
: Objectargs
: ArrayExt.Container
Object overrides
)
+the bubble is stopped.fn
: Functionscope
: Objectargs
: ArrayExt.Component
Object overrides
)
:
Ext.Componentoverrides
: ObjectExt.Component
Boolean animate
)
@@ -1069,9 +1074,11 @@ cancel the expand action if it returns false.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).
@@ -1199,7 +1206,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 @@ -1211,7 +1218,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