mxStyleRegistry

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.

Summary
mxStyleRegistrySingleton class that acts as a global converter from string to object values in a style.
Variables
valuesMaps from strings to objects.
Functions
putValuePuts the given object into the registry under the given name.
getValueReturns the value associated with the given name.
getNameReturns the name for the given value.

Variables

values

values: []

Maps from strings to objects.

Functions

putValue

putValue: function(name,
obj)

Puts the given object into the registry under the given name.

getValue

getValue: function(name)

Returns the value associated with the given name.

getName

getName: function(value)

Returns the name for the given value.

values: []
Maps from strings to objects.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
getValue: function(name)
Returns the value associated with the given name.
getName: function(value)
Returns the name for the given value.
Close