| Package: | YAHOO.ext |
| Class: | NestedLayoutPanel |
| Extends: | ContentPanel |
| Defined In: | ContentPanels.js |
| Method | Defined By | |
|---|---|---|
NestedLayoutPanel(YAHOO.ext.BorderLayout layout, String/Object config) |
NestedLayoutPanel | |
| Create a new NestedLayoutPanel. | ||
addListener(String eventName, Function handler, [Object scope], [boolean override]) : void |
Observable | |
| Appends an event handler to this element | ||
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. | ||
| destroy() : void | ContentPanel | |
| Destroys this panel | ||
fireEvent(String eventName, Object... args) : Boolean |
Observable | |
| Fires the specified event with the passed parameters (minus the event name). | ||
| getEl() : YAHOO.ext.Element | ContentPanel | |
| Returns this panel's element | ||
| getId() : String | ContentPanel | |
| Returns this panel's id | ||
| getLayout() : YAHOO.ext.BorderLayout | NestedLayoutPanel | |
| Returns the nested BorderLayout for this panel | ||
| getTitle() : String | ContentPanel | |
| Returns this panel's title | ||
| getToolbar() : YAHOO.ext.Toolbar | ContentPanel | |
| Returns the toolbar for this Panel if one was configured | ||
| getUpdateManager() : YAHOO.ext.UpdateManager | ContentPanel | |
| Get the YAHOO.ext.UpdateManager for this panel. Enables you to perform Ajax updates. | ||
| isClosable() : Boolean | ContentPanel | |
| Returns true is this panel was configured to be closable | ||
| purgeListeners() : void | Observable | |
| Removes all listeners for this object | ||
removeListener(String eventName, Function handler, [Object scope]) : void |
Observable | |
| Removes a listener | ||
setContent(String content, [Boolean loadScripts]) : void |
ContentPanel | |
| Updates this panel's element | ||
setTitle(String title) : void |
ContentPanel | |
| Set this panel's title | ||
setUrl(String/Function url, [String/Object params], [Boolean loadOnce]) : YAHOO.ext.UpdateManager |
ContentPanel | |
| Set a URL to be used to load the content for this panel. | ||
| Event | Defined By | |
|---|---|---|
activate : (YAHOO.ext.ContentPanel this) |
ContentPanel | |
| Fires when this panel is activated. | ||
deactivate : (YAHOO.ext.ContentPanel this) |
ContentPanel | |
| Fires when this panel is activated. | ||
public function NestedLayoutPanel(YAHOO.ext.BorderLayout layout, String/Object config)
layout : YAHOO.ext.BorderLayoutconfig : String/Objectpublic function addListener(String eventName, Function handler, [Object scope], [boolean override])
eventName : Stringhandler : Functionscope : Objectoverride : booleanvoidpublic function delayedListener(String eventName, Function handler, [Object scope], [Number delay])
eventName : Stringhandler : Functionscope : Objectdelay : NumberFunctionpublic function destroy()
voidpublic function fireEvent(String eventName, Object... args)
eventName : Stringargs : Object...Booleanpublic function getEl()
YAHOO.ext.Elementpublic function getId()
Stringpublic function getLayout()
YAHOO.ext.BorderLayoutpublic function getTitle()
Stringpublic function getToolbar()
YAHOO.ext.Toolbarpublic function getUpdateManager()
YAHOO.ext.UpdateManagerpublic function isClosable()
Booleanpublic function purgeListeners()
voidpublic function removeListener(String eventName, Function handler, [Object scope])
eventName : Stringhandler : Functionscope : Objectvoidpublic function setContent(String content, [Boolean loadScripts])
content : StringloadScripts : Booleanvoidpublic function setTitle(String title)
title : Stringvoidpublic function setUrl(String/Function url, [String/Object params], [Boolean loadOnce])
url : String/Functionparams : String/ObjectloadOnce : BooleanYAHOO.ext.UpdateManagerpublic event activate
this : YAHOO.ext.ContentPanelpublic event deactivate
this : YAHOO.ext.ContentPanel