| Package: | Ext | 
| Class: | SplitLayoutRegion | 
| Extends: | LayoutRegion | 
| Defined In: | SplitLayoutRegion.js | 
| Property | Defined By | |
|---|---|---|
| bodyEl : Ext.Element | LayoutRegion | |
| This regions body element | ||
| collapsedEl : Ext.Element | LayoutRegion | |
| This region's collapsed element | ||
| el : Ext.Element | LayoutRegion | |
| This regions container element | ||
| panels : Ext.util.MixedCollection | BasicLayoutRegion | |
| A collection of panels in this region. | ||
| split : Ext.SplitBar | SplitLayoutRegion | |
| The SplitBar for this region | ||
| titleEl : Ext.Element | LayoutRegion | |
| This regions title element | ||
| titleTextEl : HTMLElement | LayoutRegion | |
| This regions title text element | ||
| Method | Defined By | |
|---|---|---|
add(ContentPanel... panel) : Ext.ContentPanel | 
        BasicLayoutRegion | |
| Add the passed ContentPanel(s) | ||
addEvents(Object object) : void | 
        Observable | |
| Copies any events from the passed object onto this object if they do not already exist. The passed object must also ... | ||
addListener(String eventName, Function handler, [Object options]) : void | 
        Observable | |
| Appends an event handler to this component | ||
collapse([Boolean skipAnim]) : void | 
        LayoutRegion | |
| Collapses this region. | ||
expand(Ext.EventObject e, [Boolean skipAnim]) : void | 
        LayoutRegion | |
| Expand this region if it was previously collapsed. | ||
fireEvent(String eventName, Object... args) : Boolean | 
        Observable | |
| Fires the specified event with the passed parameters (minus the event name). | ||
| getActivePanel() : Ext.ContentPanel | BasicLayoutRegion | |
| Get the active panel for this region. | ||
| getEl() : Ext.Element | BasicLayoutRegion | |
| Returns the container element for this region. | ||
getPanel(Number/String/ContentPanel panel) : Ext.ContentPanel | 
        BasicLayoutRegion | |
| Returns the panel specified or null if it's not in this region. | ||
| getPosition() : String | BasicLayoutRegion | |
| Returns this regions position (north/south/east/west/center). | ||
| getSplitBar() : Ext.SplitBar | SplitLayoutRegion | |
| Returns the SplitBar for this region. | ||
| getTabs() : Ext.TabPanel | LayoutRegion | |
| Returns the TabPanel component used by this region | ||
hasListener(String eventName) : Boolean | 
        Observable | |
| Checks to see if this object is currently listening for a specified event | ||
hasPanel(Number/String/ContentPanel panel) : Boolean | 
        BasicLayoutRegion | |
| Returns true if the panel is in this region. | ||
| hide() : void | LayoutRegion | |
| Hides this region. | ||
hidePanel(Number/String/ContentPanel panel) : void | 
        LayoutRegion | |
| Hides the tab for the specified panel. | ||
| isVisible() : Boolean | BasicLayoutRegion | |
| Returns true if this region is currently visible. | ||
on(String eventName, Function handler, [Object options]) : void | 
        Observable | |
| Appends an event handler to this element (shorthand for addListener) | ||
| purgeListeners() : void | Observable | |
| Removes all listeners for this object | ||
remove(Number/String/ContentPanel panel, Boolean preservePanel) : Ext.ContentPanel | 
        BasicLayoutRegion | |
| Removes the specified panel. If preservePanel is not true (either here or in the config), the panel is destroyed. | ||
removeListener(String eventName, Function handler, [Object scope]) : void | 
        Observable | |
| Removes a listener | ||
resizeTo(Number newSize) : void | 
        BasicLayoutRegion | |
| Resizes the region to the specified size. For vertical regions (west, east) this adjusts the width, for horizontal (... | ||
| setCollapsedTitle() : void | LayoutRegion | |
| Updates the collapsed text for north/south regions (used with collapsedTitle config option) | ||
| show() : void | LayoutRegion | |
| Shows this region if it was previously hidden. | ||
showPanel(Number/String/ContentPanel panelId) : Ext.ContentPanel | 
        BasicLayoutRegion | |
| Show the specified panel. | ||
un(String eventName, Function handler, [Object scope]) : void | 
        Observable | |
| Removes a listener (shorthand for removeListener) | ||
unhidePanel(Number/String/ContentPanel panel) : void | 
        LayoutRegion | |
| Unhides the tab for a previously hidden panel. | ||
| Event | Defined By | |
|---|---|---|
beforeremove : (Ext.LayoutRegion this, Ext.ContentPanel panel, Object e) | 
        BasicLayoutRegion | |
| Fires before a panel is removed (or closed). To cancel the removal set "e.cancel = true" on the event argument. | ||
collapsed : (Ext.LayoutRegion this) | 
        BasicLayoutRegion | |
| Fires when this region is collapsed. | ||
expanded : (Ext.LayoutRegion this) | 
        BasicLayoutRegion | |
| Fires when this region is expanded. | ||
invalidated : (Ext.LayoutRegion this) | 
        BasicLayoutRegion | |
| Fires when the layout for this region is changed. | ||
panelactivated : (Ext.LayoutRegion this, Ext.ContentPanel panel) | 
        BasicLayoutRegion | |
| Fires when a panel is activated. | ||
paneladded : (Ext.LayoutRegion this, Ext.ContentPanel panel) | 
        BasicLayoutRegion | |
| Fires when a panel is added. | ||
panelremoved : (Ext.LayoutRegion this, Ext.ContentPanel panel) | 
        BasicLayoutRegion | |
| Fires when a panel is removed. | ||
resized : (Ext.LayoutRegion this, Number newSize) | 
        BasicLayoutRegion | |
| Fires when the user resizes this region. | ||
slidehide : (Ext.LayoutRegion this) | 
        BasicLayoutRegion | |
| Fires when this region slides out of view. | ||
slideshow : (Ext.LayoutRegion this) | 
        BasicLayoutRegion | |
| Fires when this region is slid into view. | ||
visibilitychange : (Ext.LayoutRegion this, Boolean visibility) | 
        BasicLayoutRegion | |
| Fires when this region is shown or hidden | ||
| Config Options | Defined By | |
|---|---|---|
| alwaysShowTabs : Boolean | LayoutRegion | |
| True to always display tabs even when only 1 panel (defaults to false) | ||
| animate : Boolean | LayoutRegion | |
| True to animate expand/collapse (defaults to false) | ||
| autoHide : Boolean | LayoutRegion | |
| False to disable autoHide when the mouse leaves the "floated" region (defaults to true) | ||
| autoScroll : Boolean | LayoutRegion | |
| True to enable overflow scrolling (defaults to false) | ||
| closeOnTab : Boolean | LayoutRegion | |
| True to place the close icon on the tabs instead of the region titlebar (defaults to false) | ||
| cmargins : Object | LayoutRegion | |
| Margins for the element when collapsed (defaults to: north/south {top: 2, left: 0, right:0, bottom: 2} or east/west {... | ||
| collapsedTitle : String | LayoutRegion | |
| Optional string message to display in the collapsed block of a north or south region | ||
| collapsible : Boolean | LayoutRegion | |
| False to disable collapsing (defaults to true) | ||
| disableTabTips : Boolean | LayoutRegion | |
| True to disable tab tooltips | ||
| floatable : Boolean | LayoutRegion | |
| False to disable floating (defaults to true) | ||
| hidden : Boolean | LayoutRegion | |
| True to start the region hidden | ||
| hideTabs : Boolean | LayoutRegion | |
| True to hide the tab strip (defaults to false) | ||
| hideWhenEmpty : Boolean | LayoutRegion | |
| True to hide the region when it has no panels | ||
| margins : Object | LayoutRegion | |
| Margins for the element (defaults to {top: 0, left: 0, right:0, bottom: 0}) | ||
| minTabWidth : Number | LayoutRegion | |
| The minimum tab width (defaults to 40) | ||
| preferredTabWidth : Number | LayoutRegion | |
| The preferred tab width (defaults to 150) | ||
| preservePanels : Boolean | LayoutRegion | |
| True to preserve removed panels so they can be readded later (defaults to false) | ||
| resizeTabs : Boolean | LayoutRegion | |
| True to enable automatic tab resizing. This will resize the tabs so they are all the same size and fit within the spa... | ||
| showPin : Boolean | LayoutRegion | |
| True to show a pin button | ||
| tabPosition : String | LayoutRegion | |
| "top" or "bottom" (defaults to "bottom") | ||
| title : String | LayoutRegion | |
| The title for the region (overrides panel titles) | ||
| titlebar : Boolean | LayoutRegion | |
| True to display a title bar (defaults to true) | ||
public Ext.Element bodyEl
                public Ext.Element collapsedEl
                public Ext.util.MixedCollection panels
                public Ext.SplitBar split
                public Ext.Element titleEl
                public HTMLElement titleTextEl
                public function add(ContentPanel... panel)
                panel : ContentPanel...Ext.ContentPanelpublic function addEvents(Object object)
                object : Objectvoidpublic function addListener(String eventName, Function handler, [Object options])
                eventName : Stringhandler : Functionoptions : Objectvoidpublic function collapse([Boolean skipAnim])
                skipAnim : Booleanvoidpublic function expand(Ext.EventObject e, [Boolean skipAnim])
                e : Ext.EventObjectskipAnim : Booleanvoidpublic function fireEvent(String eventName, Object... args)
                eventName : Stringargs : Object...Booleanpublic function getActivePanel()
                Ext.ContentPanelpublic function getEl()
                Ext.Elementpublic function getPanel(Number/String/ContentPanel panel)
                panel : Number/String/ContentPanelExt.ContentPanelpublic function getPosition()
                Stringpublic function getSplitBar()
                Ext.SplitBarpublic function getTabs()
                Ext.TabPanelpublic function hasListener(String eventName)
                eventName : StringBooleanpublic function hasPanel(Number/String/ContentPanel panel)
                panel : Number/String/ContentPanelBooleanpublic function hide()
                voidpublic function hidePanel(Number/String/ContentPanel panel)
                panel : Number/String/ContentPanelvoidpublic function isVisible()
                Booleanpublic function on(String eventName, Function handler, [Object options])
                eventName : Stringhandler : Functionoptions : Objectvoidpublic function purgeListeners()
                voidpublic function remove(Number/String/ContentPanel panel, Boolean preservePanel)
                panel : Number/String/ContentPanelpreservePanel : BooleanExt.ContentPanelpublic function removeListener(String eventName, Function handler, [Object scope])
                eventName : Stringhandler : Functionscope : Objectvoidpublic function resizeTo(Number newSize)
                newSize : Numbervoidpublic function setCollapsedTitle()
                voidpublic function show()
                voidpublic function showPanel(Number/String/ContentPanel panelId)
                panelId : Number/String/ContentPanelExt.ContentPanelpublic function un(String eventName, Function handler, [Object scope])
                eventName : Stringhandler : Functionscope : Objectvoidpublic function unhidePanel(Number/String/ContentPanel panel)
                panel : Number/String/ContentPanelvoidpublic event beforeremove
                this : Ext.LayoutRegionpanel : Ext.ContentPanele : Objectpublic event collapsed
                this : Ext.LayoutRegionpublic event expanded
                this : Ext.LayoutRegionpublic event invalidated
                this : Ext.LayoutRegionpublic event panelactivated
                this : Ext.LayoutRegionpanel : Ext.ContentPanelpublic event paneladded
                this : Ext.LayoutRegionpanel : Ext.ContentPanelpublic event panelremoved
                this : Ext.LayoutRegionpanel : Ext.ContentPanelpublic event resized
                this : Ext.LayoutRegionnewSize : Numberpublic event slidehide
                this : Ext.LayoutRegionpublic event slideshow
                this : Ext.LayoutRegionpublic event visibilitychange
                this : Ext.LayoutRegionvisibility : BooleanalwaysShowTabs : Boolean
                animate : Boolean
                autoHide : Boolean
                autoScroll : Boolean
                closeOnTab : Boolean
                cmargins : Object
                collapsedTitle : String
                collapsible : Boolean
                disableTabTips : Boolean
                floatable : Boolean
                hidden : Boolean
                hideTabs : Boolean
                hideWhenEmpty : Boolean
                margins : Object
                minTabWidth : Number
                preferredTabWidth : Number
                preservePanels : Boolean
                resizeTabs : Boolean
                tabPosition : String
                title : String
                titlebar : Boolean