com.mxgraph.io.vdx
public class mxMastersManager extends Object
Modifier and Type | Method and Description |
---|---|
static mxMastersManager |
getInstance()
Returns the instance of mxMasterManager.
|
mxMasterElement |
getMaster(String id)
Returns the wrapper of the master element with id = 'id'
|
HashMap<String,mxMasterElement> |
getMasterElementsMap()
Returns the mxMasterElement's HashMap
|
void |
initialise(Document doc)
Load the map with the master elements in the document.
The masters are wrapped for instances of mxMasterElement. |
public static mxMastersManager getInstance()
public void initialise(Document doc)
doc
- Document with the masters.public HashMap<String,mxMasterElement> getMasterElementsMap()
public mxMasterElement getMaster(String id)
id
- Master element's ID.Copyright (c) 2010 Gaudenz Alder. All rights reserved.