mxRootChangeCodec

Codec for mxRootChanges.  This class is created and registered dynamically at load time and used implicitly via mxCodec and the mxCodecRegistry.

Transient Fields

  • model
  • previous
  • root
Summary
mxRootChangeCodecCodec for mxRootChanges.
Functions
onEncodeEncodes the child recursively.
beforeDecodeDecodes the optional children as cells using the respective decoder.
afterDecodeRestores the state by assigning the previous value.

Functions

onEncode

Encodes the child recursively.

beforeDecode

codec.beforeDecode = function(dec,
node,
obj)

Decodes the optional children as cells using the respective decoder.

afterDecode

codec.afterDecode = function(dec,
node,
obj)

Restores the state by assigning the previous value.

Action to change the root in a model.
codec.beforeDecode = function(dec,
node,
obj)
Decodes the optional children as cells using the respective decoder.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
XML codec for JavaScript object graphs.
Singleton class that acts as a global registry for codecs.
Close