Package com.mxgraph.view
Class mxStyleRegistry
java.lang.Object
com.mxgraph.view.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.
-
Field Details
-
values
Maps from strings to objects.
-
-
Constructor Details
-
mxStyleRegistry
public mxStyleRegistry()
-
-
Method Details
-
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.
-