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. | |
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. |
Static class that acts as a global registry for codecs. See mxCodec for an example of using this class.
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.
Dictionary<string, Object> com::mxgraph::mxStyleRegistry::values = new Dictionary<string, Object>() [static, protected] |
Maps from strings to objects.