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 ) : void |
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.ContentPanel
public function addListener(String eventName
, Function handler
, [Object scope
], [boolean override
])
eventName
: Stringhandler
: Functionscope
: Objectoverride
: booleanvoid
public function collapse([Boolean skipAnim
])
skipAnim
: Booleanvoid
public function delayedListener(String eventName
, Function handler
, [Object scope
], [Number delay
])
eventName
: Stringhandler
: Functionscope
: Objectdelay
: NumberFunction
public function expand(YAHOO.ext.EventObject e
, [Boolean skipAnim
])
e
: YAHOO.ext.EventObjectskipAnim
: Booleanvoid
public function fireEvent(String eventName
, Object... args
)
eventName
: Stringargs
: Object...void
public function getActivePanel()
YAHOO.ext.ContentPanel
public function getEl()
YAHOO.ext.Element
public function getPanel(Number/String/ContentPanel panel
)
panel
: Number/String/ContentPanelYAHOO.ext.ContentPanel
public function getPosition()
String
public function getSplitBar()
YAHOO.ext.SplitBar
public function getTabs()
YAHOO.ext.TabPanel
public function hasPanel(Number/String/ContentPanel panel
)
panel
: Number/String/ContentPanelBoolean
public function hide()
void
public function hidePanel(Number/String/ContentPanel panel
)
panel
: Number/String/ContentPanelvoid
public function isVisible()
Boolean
public function purgeListeners()
void
public function remove(Number/String/ContentPanel panel
, Boolean preservePanel
)
panel
: Number/String/ContentPanelpreservePanel
: BooleanYAHOO.ext.ContentPanel
public function removeListener(String eventName
, Function handler
, [Object scope
])
eventName
: Stringhandler
: Functionscope
: Objectvoid
public function resizeTo(Number newSize
)
newSize
: Numbervoid
public function show()
void
public function showPanel(Number/String/ContentPanel panelId
)
panelId
: Number/String/ContentPanelYAHOO.ext.ContentPanel
public function unhidePanel(Number/String/ContentPanel panel
)
panel
: Number/String/ContentPanelvoid
public 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