com.mxgraph.io.vdx
public class mxPropertiesManager extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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 IDpublic mxStyleSheet getFillStyle()
public mxStyleSheet getLineStyle()
public mxStyleSheet getTextStyle()
Copyright (c) 2010 Gaudenz Alder. All rights reserved.