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...

List of all members.

Static Public Member Functions

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

Static Protected Attributes

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

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  )  [inline, static]

Returns the value associated with the given name.

static Object com::mxgraph::mxStyleRegistry::GetValue ( String  name  )  [inline, static]

Returns the value associated with the given name.

static void com::mxgraph::mxStyleRegistry::PutValue ( String  name,
Object  value 
) [inline, static]

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>() [static, protected]

Maps from strings to objects.


The documentation for this class was generated from the following file:
Generated on Wed Jun 6 13:45:14 2012 for mxGraph by  doxygen 1.6.3