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 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... | ||
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... | ||
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 | ||
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 | ||
refresh() : void | ContentPanel | |
Force a content refresh from the URL specified in the setUrl() method. Will fail silently if the setUrl method has no... | ||
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
: booleanvoid
public function bufferedListener(String eventName
, Function handler
, [Object scope
], [Number millis
])
eventName
: Stringhandler
: Functionscope
: Objectmillis
: NumberFunction
public function delayedListener(String eventName
, Function handler
, [Object scope
], [Number delay
])
eventName
: Stringhandler
: Functionscope
: Objectdelay
: NumberFunction
public function destroy()
void
public function fireEvent(String eventName
, Object... args
)
eventName
: Stringargs
: Object...Boolean
public function getEl()
YAHOO.ext.Element
public function getId()
String
public function getLayout()
YAHOO.ext.BorderLayout
public function getTitle()
String
public function getToolbar()
YAHOO.ext.Toolbar
public function getUpdateManager()
YAHOO.ext.UpdateManager
public function isClosable()
Boolean
public function on(String eventName
, Function handler
, [Object scope
], [boolean override
])
eventName
: Stringhandler
: Functionscope
: Objectoverride
: booleanvoid
public function purgeListeners()
void
public function refresh()
void
public function removeListener(String eventName
, Function handler
, [Object scope
])
eventName
: Stringhandler
: Functionscope
: Objectvoid
public function setContent(String content
, [Boolean loadScripts
])
content
: StringloadScripts
: Booleanvoid
public function setTitle(String title
)
title
: Stringvoid
public function setUrl(String/Function url
, [String/Object params
], [Boolean loadOnce
])
url
: String/Functionparams
: String/ObjectloadOnce
: BooleanYAHOO.ext.UpdateManager
public event activate
this
: YAHOO.ext.ContentPanelpublic event deactivate
this
: YAHOO.ext.ContentPanel