public class mxStyleSheetManager
extends java.lang.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(java.lang.String id)
Returns the wrapper of the stylesheet element with id indicated by 'id'
|
java.util.HashMap<java.lang.String,mxStyleSheet> |
getStyleSheetsMap()
Returns the mxStyleSheet HashMap
|
void |
initialise(org.w3c.dom.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(org.w3c.dom.Document doc)
doc
- Document with the stylesheets.public java.util.HashMap<java.lang.String,mxStyleSheet> getStyleSheetsMap()
public mxStyleSheet getSheet(java.lang.String id)
id
- StyleSheet's ID.Copyright (c) 2010 Gaudenz Alder. All rights reserved.