public class mxStyleRegistry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,java.lang.Object> |
values
Maps from strings to objects.
|
Constructor and Description |
---|
mxStyleRegistry() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getName(java.lang.Object value)
Returns the name for the given value.
|
static java.lang.Object |
getValue(java.lang.String name)
Returns the value associated with the given name.
|
static void |
putValue(java.lang.String name,
java.lang.Object value)
Puts the given object into the registry under the given name.
|
protected static java.util.Map<java.lang.String,java.lang.Object> values
public static void putValue(java.lang.String name, java.lang.Object value)
public static java.lang.Object getValue(java.lang.String name)
public static java.lang.String getName(java.lang.Object value)
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.