X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/f5240829880f87e0cf581c6a296e436fdef0ef80..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.BoxComponent.html diff --git a/docs/output/Ext.BoxComponent.html b/docs/output/Ext.BoxComponent.html deleted file mode 100644 index 7a3b72e4..00000000 --- a/docs/output/Ext.BoxComponent.html +++ /dev/null @@ -1,1000 +0,0 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent

Class Ext.BoxComponent

Package:Ext
Defined In:BoxComponent.js
Class:BoxComponent
Subclasses:Button, Container, DataView, FlashComponent, ProgressBar, Spacer, Toolbar.Item, Field, Label, MultiSlider
Extends:Component

Base class for any Component that is to be sized as a box, using width and height.

-

BoxComponent provides automatic box model adjustments for sizing and positioning and will work correctly -within the Component rendering model.

-

A BoxComponent may be created as a custom Component which encapsulates any HTML element, either a pre-existing -element, or one that is created to your specifications at render time. Usually, to participate in layouts, -a Component will need to be a BoxComponent in order to have its width and height managed.

-

To use a pre-existing element as a BoxComponent, configure it so that you preset the el property to the -element to reference:

var pageHeader = new Ext.BoxComponent({
-    el: 'my-header-div'
-});
-This may then be added to a Container as a child item.

-

To create a BoxComponent based around a HTML element to be created at render time, use the -autoEl config option which takes the form of a -DomHelper specification:

var myImage = new Ext.BoxComponent({
-    autoEl: {
-        tag: 'img',
-        src: '/images/my-image.jpg'
-    }
-});

Config Options

Config OptionsDefined By
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 data : Mixed
The initial set of data to apply to the tpl to -update the content area of the Component.
Component
 disabled : Boolean
Render this component disabled (default is false).
Component
 disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
 hidden : Boolean
Render this component hidden (default is false). If true, the -hide method will be called internally.
Component
 pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
 pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
 x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
 y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent

Public Properties

PropertyDefined By
 disabled : Boolean
True if this component is disabled. Read-only.
Component
 hidden : Boolean
True if this component is hidden. Read-only.
Component
 initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By

Public Events

EventDefined By
\ No newline at end of file