| 
 | 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.mxStyleSheetManager
public class mxStyleSheetManager
This is a singleton class that contains a map with the stylesheets elements of the document. The stylesheets elements are wrapped in instances of mxStyleSheet and may to be access by ID.
| Method Summary | |
|---|---|
| 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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
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.
| 
 | JGraph X 1.4.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||