mxGraph
Static Public Member Functions | Static Protected Attributes | List of all members
com.mxgraph.mxStyleRegistry Class Reference

Static class that acts as a global registry for codecs. See mxCodec for an example of using this class. More...

Static Public Member Functions

static void PutValue (String name, Object value)
 Puts the given object into the registry under the given name. More...
 
static Object GetValue (String name)
 Returns the value associated with the given name. More...
 
static String GetName (Object value)
 Returns the value associated with the given name. More...
 

Static Protected Attributes

static Dictionary< string, Object > values = new Dictionary<string, Object>()
 Maps from strings to objects. More...
 

Detailed Description

Static class that acts as a global registry for codecs. See mxCodec for an example of using this class.

Member Function Documentation

static String com.mxgraph.mxStyleRegistry.GetName ( Object  value)
inlinestatic

Returns the value associated with the given name.

static Object com.mxgraph.mxStyleRegistry.GetValue ( String  name)
inlinestatic

Returns the value associated with the given name.

static void com.mxgraph.mxStyleRegistry.PutValue ( String  name,
Object  value 
)
inlinestatic

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

Member Data Documentation

Dictionary<string, Object> com.mxgraph.mxStyleRegistry.values = new Dictionary<string, Object>()
staticprotected

Maps from strings to objects.


The documentation for this class was generated from the following file: