com.mxgraph.view
Class mxStyleRegistry
- java.lang.Object
-
- com.mxgraph.view.mxStyleRegistry
-
public class mxStyleRegistry extends java.lang.ObjectSingleton 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.
-
-
Constructor Summary
Constructors Constructor and Description mxStyleRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringgetName(java.lang.Object value)Returns the name for the given value.static java.lang.ObjectgetValue(java.lang.String name)Returns the value associated with the given name.static voidputValue(java.lang.String name, java.lang.Object value)Puts the given object into the registry under the given name.
-
-
-
Method Detail
-
putValue
public static void putValue(java.lang.String name, java.lang.Object value)Puts the given object into the registry under the given name.
-
getValue
public static java.lang.Object getValue(java.lang.String name)
Returns the value associated with the given name.
-
getName
public static java.lang.String getName(java.lang.Object value)
Returns the name for the given value.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG