Codec for mxEditors. This class is created and registered dynamically at load time and used implicitly via mxCodec and the mxCodecRegistry.
| mxEditorCodec | Codec for mxEditors. | 
| Functions | |
| beforeDecode | Decodes the ui-part of the configuration node by reading a sequence of the following child nodes and attributes and passes the control to the default decoding mechanism: | 
| decodeChild | Overrides decode child to handle special child nodes. | 
| decodeUi | Decodes the ui elements from the given node. | 
| decodeTemplates | Decodes the cells from the given node as templates. | 
Decodes the ui-part of the configuration node by reading a sequence of the following child nodes and attributes and passes the control to the default decoding mechanism:
| stylesheet | Adds a CSS stylesheet to the document. | 
| resource | Adds the basename of a resource bundle. | 
| add | Creates or configures a known UI element. | 
These elements may appear in any order given that the graph UI element is added before the toolbar element (see Known Keys).
| as | Key for the UI element (see below). | 
| element | ID for the element in the document. | 
| style | CSS style to be used for the element or window. | 
| x | X coordinate for the new window. | 
| y | Y coordinate for the new window. | 
| width | Width for the new window. | 
| height | Optional height for the new window. | 
| name | Name of the stylesheet (absolute/relative URL). | 
| basename | Basename of the resource bundle (see mxResources). | 
The x, y, width and height attributes are used to create a new mxWindow if the element attribute is not specified in an add node. The name and basename are only used in the stylesheet and resource nodes, respectively.
| graph | Main graph element (see mxEditor.setGraphContainer). | 
| title | Title element (see mxEditor.setTitleContainer). | 
| toolbar | Toolbar element (see mxEditor.setToolbarContainer). | 
| status | Status bar element (see mxEditor.setStatusContainer). | 
<ui>
  <stylesheet name="css/process.css"/>
  <resource basename="resources/app"/>
  <add as="graph" element="graph"
    style="left:70px;right:20px;top:20px;bottom:40px"/>
  <add as="status" element="status"/>
  <add as="toolbar" x="10" y="20" width="54"/>
</ui>Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj ) 
Decodes the ui elements from the given node.
codec.decodeUi = function( dec, node, editor ) 
Decodes the cells from the given node as templates.
codec.decodeTemplates = function( dec, node, editor ) 
Sets the graph’s container using mxGraph.init.
mxEditor.prototype.setGraphContainer = function ( container ) 
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxEditor.prototype.setTitleContainer = function ( container ) 
Initializes the toolbar for the given container.
mxEditor.prototype.setToolbarContainer = function ( container ) 
Creates the status using the specified container.
mxEditor.prototype.setStatusContainer = function ( container )