mxDomUtils (JGraph X 2.1.0.7 API Specification)
Date: 2013-07-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mxgraph.util
Class mxDomUtils

    java.lang.Object
      com.mxgraph.util.mxDomUtils

    public class mxDomUtils

extends Object

Contains various DOM API helper methods for use with mxGraph.

Constructor Summary
`mxDomUtils()`

Method Summary
`static Document` | `createDocument()` Returns a new, empty DOM document.
`static Document` | `createHtmlDocument()` Returns a document with a HTML node containing a HEAD and BODY node.
`static Document` | `createSvgDocument(int width, int height)` Creates a new SVG document for the given width and height.
`static Document` | `createVmlDocument()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### mxDomUtils

    public mxDomUtils()

Method Detail

### createDocument

    public static Document createDocument()

  Returns a new, empty DOM document.

  Returns:
    Returns a new DOM document.

### createSvgDocument

    public static Document createSvgDocument(int width,
                                             int height)

  Creates a new SVG document for the given width and height.

### createVmlDocument

    public static Document createVmlDocument()

### createHtmlDocument

    public static Document createHtmlDocument()

  Returns a document with a HTML node containing a HEAD and BODY node.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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