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