|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mxgraph.io.vdx.mxPropertiesManager
public class mxPropertiesManager
This is a singleton class that stores various global properties to document.
The properties are:
Method Summary | |
---|---|
String |
getColor(String ix)
Returns the color of index indicated in 'ix'. |
mxStyleSheet |
getFillStyle()
Returns the default fill style. |
String |
getFont(String id)
Returns the font of id indicated in 'id' |
static mxPropertiesManager |
getInstance()
Returns the instance of mxPropertiesManager. If no instance has been created until the moment, a new instance is returned. Ths method don't load the properties. |
mxStyleSheet |
getLineStyle()
Returns the default line style. |
mxStyleSheet |
getTextStyle()
Returns the default text style. |
void |
initialise(Document doc)
Loads the properties of the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static mxPropertiesManager getInstance()
public void initialise(Document doc)
doc
- Document with the properties.public String getColor(String ix)
ix
- Index of the color.
public String getFont(String id)
id
- font's ID
public mxStyleSheet getFillStyle()
public mxStyleSheet getLineStyle()
public mxStyleSheet getTextStyle()
|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |