Login Register Help
API Documentation
Choose a stylesheet:

Constructordojox.layout.ContentPane

dojo.require("dojox.layout.ContentPane");
defined in dojox/layout/ContentPane.js

useful if you send contentpane a complete page, instead of a html fragment scans for

  • style nodes, inserts in Document head
  • title Node, remove
  • DOCTYPE tag, remove
  • <!-- *JS code here* -->
  • <![CDATA[ *JS code here* ]]>

Usage

var foo=new dojox.layout.ContentPane();

Jump to PropertiesJump to FunctionsJump to ConstructorsNamespacesBack to top

Jump to PropertiesJump to FunctionsJump to NamespacesConstructorsBack to top

cancels a inflight download

Jump to PropertiesJump to ConstructorsJump to NamespacesFunctionsBack to top

Functionattr(name: String|Object, value: Object?)
Defined by dijit._Widget
Set or get properties on a widget instance.
Cancels a inflight download of content
Functionconnect(obj: Object|null, event: String|Function, method: String|Function)
Defined by dijit._Widget
Connects specified obj/event to specified method of this object and registers for disconnect() on widget destroy.
Functiondestroy(preserveDom: Boolean)
Defined by dijit._Widget
Destroy this widget, but not its descendants. Will, however, destroy internal widgets such as those used within a template.
Defined by dijit._Widget
Recursively destroy the children of this widget and their descendants.
FunctiondestroyRecursive(preserveDom: Boolean?)
Defined by dijit._Widget
Destroy this widget and it's descendants. This is the generic "destructor" function that all widget users should call to cleanly discard with a widget. Once a widget is destroyed, it's removed from the manager object.
FunctiondestroyRendering(preserveDom: Boolean?)
Defined by dijit._Widget
Destroys the DOM nodes associated with this widget
Functiondisconnect(handles: Object)
Defined by dijit._Widget
Disconnects handle created by this.connect. Also removes handle from this widget's list of connects
Defined by dijit._Widget
Returns all the widgets that contained by this, i.e., all widgets underneath this.containerNode.
Defined by dijit._Widget
Return true if this widget can currently be focused and false if not
Defined by dijit._Widget
Checks the page for text direction
Defined by dijit._Widget
stub function. Override or connect to this method to receive notifications for when the widget moves out of focus.
FunctiononClick(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of mouse click events.
Defined by dijit._Widget
Callback if someone tries to close the child, child will be closed if func returns true
called on DOM faults, require fault etc in content default is to display errormessage inside pane
FunctiononDblClick(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of mouse double click events.
called when download is finished
Called when download error occurs, default is to display errormessage inside pane. Overide function to change that. The string returned by this function will be the html that tells the user a error happend
called before download starts the string returned by this function will be the html that tells the user we are loading something override with your own function if you want to change text
Defined by dijit._Widget
stub function. Override or connect to this method to receive notifications for when the widget moves into focus.
FunctiononKeyDown(event: key)
Defined by dijit._Widget
Connect to this function to receive notifications of keys being pressed down.
FunctiononKeyPress(event: key)
Defined by dijit._Widget
Connect to this function to receive notifications of printable keys being typed.
FunctiononKeyUp(event: key)
Defined by dijit._Widget
Connect to this function to receive notifications of keys being released.
FunctiononLoad(data)
Event hook, is called after everything is loaded and widgetified
FunctiononMouseDown(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of when the mouse button is pressed down.
FunctiononMouseEnter(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of when the mouse moves onto this widget.
FunctiononMouseLeave(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of when the mouse moves off of this widget.
FunctiononMouseMove(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of when the mouse moves over nodes contained within this widget.
FunctiononMouseOut(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of when the mouse moves off of nodes contained within this widget.
FunctiononMouseOver(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of when the mouse moves onto nodes contained within this widget.
FunctiononMouseUp(event: mouse)
Defined by dijit._Widget
Connect to this function to receive notifications of when the mouse button is released.
Event hook, is called before old content is cleared
FunctionplaceAt(reference: String|DomNode|_Widget, position: String|Integer?)
Defined by dijit._Widget
Place this widget's domNode reference somewhere in the DOM based on standard dojo.place conventions, or passing a Widget reference that contains and addChild member.
Overrides dijit._Widget
Called after a widget's dom has been setup
Defined by dijit._Widget
Called after the parameters to the widget have been read-in, but before the widget template is instantiated. Especially useful to set properties that are referenced in the widget template.
FunctionsetAttribute(attr: String, value: anything)
Defined by dijit._Widget
replace current content with url's content
Defined by dijit._Widget
returns a string that represents the widget. When a widget is cast to a string, this method will be used to generate the output. Currently, it does not implement any sort of reversable serialization.
Defined by dijit._Widget
stub function. Override to implement custom widget tear-down behavior.
Defined by dijit._Widget
Step during widget creation to copy all widget attributes to the DOM as per attributeMap and _setXXXAttr functions.
Function_attrToDom(attr: String, value: String)
Defined by dijit._Widget
Reflect a widget attribute (title, tabIndex, duration etc.) to the widget DOM, as specified in attributeMap.
scan my contents and create subwidgets
hook to make attr("content") work
Defined by dijit._Widget
Defined by dijit._Widget
Called when someone connects to one of my handlers. "Turn on" that handler if it isn't active yet.
Function_onError(type, err)
Defined by dijit._Widget
Function_prepareLoad(forceLoad)

Jump to FunctionsJump to ConstructorsJump to NamespacesPropertiesBack to top

Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Widget
Defined by dijit._Widget