| Package: | YAHOO.ext |
| Class: | SplitLayoutRegion |
| Extends: | LayoutRegion |
| Defined In: | SplitLayoutRegion.js |
| Property | Defined By | |
|---|---|---|
| bodyEl : YAHOO.ext.Element | LayoutRegion | |
| This regions body element | ||
| collapsedEl : YAHOO.ext.Element | LayoutRegion | |
| This regions collapsed element | ||
| el : YAHOO.ext.Element | LayoutRegion | |
| This regions container element | ||
| panels : YAHOO.ext.util.MixedCollection | LayoutRegion | |
| A collection of panels in this region. | ||
| split : YAHOO.ext.SplitBar | SplitLayoutRegion | |
| The SplitBar for this region | ||
| titleEl : YAHOO.ext.Element | LayoutRegion | |
| This regions title element | ||
| titleTextEl : HTMLElement | LayoutRegion | |
| This regions title text element | ||
| Method | Defined By | |
|---|---|---|
add(ContentPanel... panel) : YAHOO.ext.ContentPanel |
LayoutRegion | |
| Add the passed ContentPanel(s) | ||
addListener(String eventName, Function handler, [Object scope], [boolean override]) : void |
Observable | |
| Appends an event handler to this element | ||
collapse([Boolean skipAnim]) : void |
LayoutRegion | |
| Collapses this region. | ||
delayedListener(String eventName, Function handler, [Object scope], [Number delay]) : Function |
Observable | |
| Appends an event handler to this element that is delayed the specified number of milliseconds. | ||
expand(YAHOO.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() : YAHOO.ext.ContentPanel | LayoutRegion | |
| Get the active panel for this region. | ||
| getEl() : YAHOO.ext.Element | LayoutRegion | |
| Returns the container element for this region. | ||
getPanel(Number/String/ContentPanel panel) : YAHOO.ext.ContentPanel |
LayoutRegion | |
| Returns the panel specified or null if it's not in this region. | ||
| getPosition() : String | LayoutRegion | |
| Returns this regions position (north/south/east/west/center). | ||
| getSplitBar() : YAHOO.ext.SplitBar | SplitLayoutRegion | |
| Returns the SplitBar for this region. | ||
| getTabs() : YAHOO.ext.TabPanel | LayoutRegion | |
| Returns the TabPanel component used by this region | ||
hasPanel(Number/String/ContentPanel panel) : Boolean |
LayoutRegion | |
| 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 | LayoutRegion | |
| Returns true if this region is currently visible. | ||
| purgeListeners() : void | Observable | |
| Removes all listeners for this object | ||
remove(Number/String/ContentPanel panel, Boolean preservePanel) : YAHOO.ext.ContentPanel |
LayoutRegion | |
| 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 |
LayoutRegion | |
| Resizes the region to the specified size. For vertical regions (west, east) this adjusts the width, for horizontal (... | ||
| show() : void | LayoutRegion | |
| Shows this region if it was previously hidden. | ||
showPanel(Number/String/ContentPanel panelId) : YAHOO.ext.ContentPanel |
LayoutRegion | |
| Show the specified panel. | ||
unhidePanel(Number/String/ContentPanel panel) : void |
LayoutRegion | |
| Unhides the tab for a previously hidden panel. | ||
| Event | Defined By | |
|---|---|---|
collapsed : (YAHOO.ext.LayoutRegion this) |
LayoutRegion | |
| Fires when this region is collapsed. | ||
expanded : (YAHOO.ext.LayoutRegion this) |
LayoutRegion | |
| Fires when this region is expanded. | ||
invalidated : (YAHOO.ext.LayoutRegion this) |
LayoutRegion | |
| Fires when the layout for this region is changed. | ||
panelactivated : (YAHOO.ext.LayoutRegion this, YAHOO.ext.ContentPanel panel) |
LayoutRegion | |
| Fires when a panel is activated. | ||
paneladded : (YAHOO.ext.LayoutRegion this, YAHOO.ext.ContentPanel panel) |
LayoutRegion | |
| Fires when a panel is added. | ||
panelremoved : (YAHOO.ext.LayoutRegion this, YAHOO.ext.ContentPanel panel) |
LayoutRegion | |
| Fires when a panel is removed. | ||
resized : (YAHOO.ext.LayoutRegion this, Number newSize) |
LayoutRegion | |
| Fires when the user resizes this region. | ||
visibilitychange : (YAHOO.ext.LayoutRegion this, Boolean visibility) |
LayoutRegion | |
| Fires when this region is shown or hidden | ||
public YAHOO.ext.Element bodyEl
public YAHOO.ext.Element collapsedEl
public YAHOO.ext.Element el
public YAHOO.ext.util.MixedCollection panels
public YAHOO.ext.SplitBar split
public YAHOO.ext.Element titleEl
public HTMLElement titleTextEl
public function add(ContentPanel... panel)
panel : ContentPanel...YAHOO.ext.ContentPanelpublic function addListener(String eventName, Function handler, [Object scope], [boolean override])
eventName : Stringhandler : Functionscope : Objectoverride : booleanvoidpublic function collapse([Boolean skipAnim])
skipAnim : Booleanvoidpublic function delayedListener(String eventName, Function handler, [Object scope], [Number delay])
eventName : Stringhandler : Functionscope : Objectdelay : NumberFunctionpublic function expand(YAHOO.ext.EventObject e, [Boolean skipAnim])
e : YAHOO.ext.EventObjectskipAnim : Booleanvoidpublic function fireEvent(String eventName, Object... args)
eventName : Stringargs : Object...Booleanpublic function getActivePanel()
YAHOO.ext.ContentPanelpublic function getEl()
YAHOO.ext.Elementpublic function getPanel(Number/String/ContentPanel panel)
panel : Number/String/ContentPanelYAHOO.ext.ContentPanelpublic function getPosition()
Stringpublic function getSplitBar()
YAHOO.ext.SplitBarpublic function getTabs()
YAHOO.ext.TabPanelpublic 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 purgeListeners()
voidpublic function remove(Number/String/ContentPanel panel, Boolean preservePanel)
panel : Number/String/ContentPanelpreservePanel : BooleanYAHOO.ext.ContentPanelpublic function removeListener(String eventName, Function handler, [Object scope])
eventName : Stringhandler : Functionscope : Objectvoidpublic function resizeTo(Number newSize)
newSize : Numbervoidpublic function show()
voidpublic function showPanel(Number/String/ContentPanel panelId)
panelId : Number/String/ContentPanelYAHOO.ext.ContentPanelpublic function unhidePanel(Number/String/ContentPanel panel)
panel : Number/String/ContentPanelvoidpublic event collapsed
this : YAHOO.ext.LayoutRegionpublic event expanded
this : YAHOO.ext.LayoutRegionpublic event invalidated
this : YAHOO.ext.LayoutRegionpublic event panelactivated
this : YAHOO.ext.LayoutRegionpanel : YAHOO.ext.ContentPanelpublic event paneladded
this : YAHOO.ext.LayoutRegionpanel : YAHOO.ext.ContentPanelpublic event panelremoved
this : YAHOO.ext.LayoutRegionpanel : YAHOO.ext.ContentPanelpublic event resized
this : YAHOO.ext.LayoutRegionnewSize : Numberpublic event visibilitychange
this : YAHOO.ext.LayoutRegionvisibility : Boolean