com.mxgraph.io.vdx
public class mxStyleSheetManager extends Object
Modifier and Type | Method and Description |
---|---|
static mxStyleSheetManager |
getInstance()
Returns the instance of mxStyleSheetManager.
If no instance has been created until the moment, a new instance is returned. This method don't load the map. |
mxStyleSheet |
getSheet(String id)
Returns the wrapper of the stylesheet element with id indicated by 'id'
|
HashMap<String,mxStyleSheet> |
getStyleSheetsMap()
Returns the mxStyleSheet HashMap
|
void |
initialise(Document doc)
Load the map with the stylesheets elements in the document.
The masters are wrapped for instances of mxStyleSheet. |
public static mxStyleSheetManager getInstance()
public void initialise(Document doc)
doc
- Document with the stylesheets.public HashMap<String,mxStyleSheet> getStyleSheetsMap()
public mxStyleSheet getSheet(String id)
id
- StyleSheet's ID.Copyright (c) 2010 Gaudenz Alder. All rights reserved.