Codec for mxValueChanges, mxStyleChanges, mxGeometryChanges, mxCollapseChanges and mxVisibleChanges. This class is created and registered dynamically at load time and used implicitly via mxCodec and the mxCodecRegistry.
mxGenericChangeCodec | Codec for mxValueChanges, mxStyleChanges, mxGeometryChanges, mxCollapseChanges and mxVisibleChanges. |
Functions | |
mxGenericChangeCodec | Factory function that creates a mxObjectCodec for the specified change and fieldname. |
afterDecode | Restores the state by assigning the previous value. |
let mxGenericChangeCodec = function( obj, variable )
Factory function that creates a mxObjectCodec for the specified change and fieldname.
obj | An instance of the change object. |
variable | The fieldname for the change data. |
Factory function that creates a mxObjectCodec for the specified change and fieldname.
let mxGenericChangeCodec = function( obj, variable )
Restores the state by assigning the previous value.
codec.afterDecode = function( dec, node, obj )