Singleton class that acts as a global converter from string to object values in a style. This is currently only used to perimeters and edge styles.
mxStyleRegistry | Singleton class that acts as a global converter from string to object values in a style. |
Variables | |
values | Maps from strings to objects. |
Functions | |
putValue | Puts the given object into the registry under the given name. |
getValue | Returns the value associated with the given name. |
getName | Returns the name for the given value. |
Puts the given object into the registry under the given name.
putValue: function( name, obj )
Returns the value associated with the given name.
getValue: function( name )
Returns the name for the given value.
getName: function( value )