Adds a splitbar and other (private) useful functionality to a LayoutRegion
|
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 component |
|
bufferedListener(String eventName , Function handler , [Object scope ], [Number millis ]) : Function |
Observable |
Appends an event handler to this component that is buffered. If the event is triggered more than once
in the specifie... |
|
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 component that is delayed the specified number of milliseconds. This
is useful for e... |
|
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. |
|
on(String eventName , Function handler , [Object scope ], [boolean override ]) : 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 ) : 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. |
|
beforeremove : (YAHOO.ext.LayoutRegion this , YAHOO.ext.ContentPanel panel , Object e ) |
LayoutRegion |
Fires before a panel is removed (or closed). To cancel the removal set "e.cancel = true" on the event argument. |
|
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 |
bodyEl
public YAHOO.ext.Element bodyEl
This regions body element
collapsedEl
public YAHOO.ext.Element collapsedEl
This regions collapsed element
el
public YAHOO.ext.Element el
This regions container element
panels
public YAHOO.ext.util.MixedCollection panels
A collection of panels in this region.
split
public YAHOO.ext.SplitBar split
The SplitBar for this region
This property is defined by SplitLayoutRegion.
titleEl
public YAHOO.ext.Element titleEl
This regions title element
titleTextEl
public HTMLElement titleTextEl
This regions title text element