|
JGraph X 1.9.2.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mxgraph.view.mxStyleRegistry
public class mxStyleRegistry
Singleton 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.
Field Summary | |
---|---|
protected static java.util.Map<java.lang.String,java.lang.Object> |
values
Maps from strings to objects. |
Constructor Summary | |
---|---|
mxStyleRegistry()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.Map<java.lang.String,java.lang.Object> values
Constructor Detail |
---|
public mxStyleRegistry()
Method Detail |
---|
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)
|
JGraph X 1.9.2.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |