public class mxPropertiesManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColor(java.lang.String ix)
Returns the color of index indicated in 'ix'.
|
mxStyleSheet |
getFillStyle()
Returns the default fill style.
|
java.lang.String |
getFont(java.lang.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(org.w3c.dom.Document doc)
Loads the properties of the document.
|
public static mxPropertiesManager getInstance()
public void initialise(org.w3c.dom.Document doc)
doc
- Document with the properties.public java.lang.String getColor(java.lang.String ix)
ix
- Index of the color.public java.lang.String getFont(java.lang.String id)
id
- font's IDpublic mxStyleSheet getFillStyle()
public mxStyleSheet getLineStyle()
public mxStyleSheet getTextStyle()
Copyright (c) 2010 Gaudenz Alder. All rights reserved.