Layout ComponentLayout
Package: | Ext.layout |
Defined In: | ComponentLayout.js |
Class: | ComponentLayout |
Subclasses: | AutoComponentLayout, DockLayout, FieldLayout |
Extends: | Layout |
This class is intended to be extended or created via the layout configuration property. See Ext.Component.componentLayout for additional details.
Method | Defined By | |
---|---|---|
getTarget()
:
Ext.Element Returns the owner component's resize element. Returns the owner component's resize element. Parameters:
| ComponentLayout | |
needsLayout( Mixed width , Mixed height )
:
voidCheck if the new size is different from the current size and only
trigger a layout if it is necessary. Check if the new size is different from the current size and only
trigger a layout if it is necessary. Parameters:
| ComponentLayout | |
setElementSize( Mixed width , Mixed height )
:
voidSet the size of any element supporting undefined, null, and values. Set the size of any element supporting undefined, null, and values. Parameters:
| ComponentLayout | |
setTargetSize( Mixed width , Mixed height )
:
voidSet the size of the target element. Set the size of the target element. Parameters:
| ComponentLayout |