Pane was created to allow widgets manipulate content in usable way. Mostly this is system widget - for internal usage.
Pane has following config options:
parent
Created pane will be added to this element.
width
Pane width.
height
Pane height.
containerType
Possible values:
iframe
New IFRAME element will be created.
div
New DIV element will be created.
current
Use element given in "parent" option as pane container.
sourceType
source
See southprojects.Widget documentation for this options.
Public methods:
getContainer()
Returns reference to Pane container - DIV or IFRAME element.
getContentElement()
Returns reference to Pane element which you can use for working with content - if containerType='div' - DIV element itself. If IFRAME - IFRAME.document.body
getIframeDocument()
If containerType='iframe' - this will return reference to iframe's document object.
isReady()
Returns true if containerType='iframe' and iframe was created.
setContent(value)
Sets pane content to given value.
setWidth(newWidth)/setHeight(newHeight)
Resize pane to given dimensions.
getWidth()/getHeight
Returns current pane dimensions.