JGraph X 1.4.1.0


com.mxgraph.io.vdx
Class mxMasterElement

java.lang.Object
  extended by com.mxgraph.io.vdx.mxMasterElement

public class mxMasterElement
extends Object

This class is a wrapper for a Master element.
Contains a map with the shapes contained in the Master element and allows access these by ID.


Constructor Summary
mxMasterElement(Element m)
          Create a new instace of mxMasterElement and retrieves all the shapes contained in the Master element.
 
Method Summary
 mxMasterShape getMasterShape()
          Returns the first shape in the Master
 mxMasterShape getMasterShape(String id)
          Returns the shape in the master element with ID = 'id'.
 String getNameU()
          Returns the NameU attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

mxMasterElement

public mxMasterElement(Element m)
Create a new instace of mxMasterElement and retrieves all the shapes contained in the Master element.

Parameters:
m - Master Element to be wrapped.
Method Detail

getMasterShape

public mxMasterShape getMasterShape()
Returns the first shape in the Master

Returns:
First shape in the Master wrapped in a instance of mxMasterShape

getMasterShape

public mxMasterShape getMasterShape(String id)
Returns the shape in the master element with ID = 'id'.

Parameters:
id - Shape's ID
Returns:
The shape in the master element with ID = 'id' wrapped in a instance of mxMasterShape

getNameU

public String getNameU()
Returns the NameU attribute.

Returns:
Value of the NameU attribute.

JGraph X 1.4.1.0


Copyright (c) 2010 Gaudenz Alder. All rights reserved.