<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.util.mxUtils</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="strong">mxUtils</span>
extends <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<divclass="block">Contains various helper methods for use with mxGraph.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</a></code></td>
Converts the given arc to a series of curves.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#clearRect(java.awt.Graphics2D, java.awt.Rectangle, java.awt.Color)">clearRect</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics2D.html?is-external=true"title="class or interface in java.awt">Graphics2D</a> g,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a> rect,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> background)</code>
<divclass="block">Clears the given area of the specified graphics object with the given
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#contains(java.lang.Object[], java.lang.Object)">contains</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] array,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> obj)</code>
<divclass="block">Returns true if the given array contains the given object.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a></code></td>
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> background)</code>
<divclass="block">Creates a buffered image for the given parameters.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a></code></td>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a></code></td>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String)">createHtmlDocument</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text)</code>
<divclass="block">Returns a new, empty DOM document.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String, double)">createHtmlDocument</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
double scale)</code>
<divclass="block">Returns a new, empty DOM document.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String, double, int)">createHtmlDocument</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
double scale,
int width)</code>
<divclass="block">Returns a new, empty DOM document.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String, double, int, java.lang.String)">createHtmlDocument</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
double scale,
int width,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> head)</code>
<divclass="block">Returns a new, empty DOM document.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String, double, int, java.lang.String, java.lang.String)">createHtmlDocument</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
double scale,
int width,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> head,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> bodyCss)</code>
<divclass="block">Returns a new, empty DOM document.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/text/html/HTMLDocument.html?is-external=true"title="class or interface in javax.swing.text.html">HTMLDocument</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#createHtmlDocumentObject(java.util.Map, double)">createHtmlDocumentObject</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
double scale)</code>
<divclass="block">Returns a new, empty DOM document.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a></code></td>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#createTable(org.w3c.dom.Document, java.lang.String, int, int, int, int, double, java.util.Map)">createTable</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> document,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
int x,
int y,
int w,
int h,
double scale,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</code>
<divclass="block">Creates a table for the given text using the given document to create the
DOM nodes.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#drawImageClip(java.awt.Graphics, java.awt.image.BufferedImage, java.awt.image.ImageObserver)">drawImageClip</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</a> g,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a> image,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true"title="class or interface in java.awt.image">ImageObserver</a> observer)</code>
<divclass="block">Draws the image inside the clip bounds to the given graphics object.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#eval(java.lang.String)">eval</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> expression)</code>
<divclass="block">Evaluates a Java expression as a class member using mxCodecRegistry.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#fillClippedRect(java.awt.Graphics, int, int, int, int)">fillClippedRect</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</a> g,
int x,
int y,
int width,
int height)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#findNearestSegment(com.mxgraph.view.mxCellState, double, double)">findNearestSegment</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
double x,
double y)</code>
<divclass="block">Finds the index of the nearest segment on the given cell state for the
specified coordinate pair.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#findNode(org.w3c.dom.Node, java.lang.String, java.lang.String)">findNode</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attr,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> value)</code>
<divclass="block">Returns the first node where attr equals value.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#firstCharAt(java.lang.String, int, int)">firstCharAt</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
int inputChar,
int fromIndex)</code>
<divclass="block">Find the first character matching the input character in the given
string where the character has no letter preceding it.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getBodyMarkup(java.lang.String, boolean)">getBodyMarkup</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> markup,
boolean replaceLinefeeds)</code>
<divclass="block">Returns the body part of the given HTML markup.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getBoundingBox(com.mxgraph.util.mxRectangle, double)">getBoundingBox</a></strong>(<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> rect,
double rotation)</code>
<divclass="block">Returns the bounding box for the rotated rectangle.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getColor(java.util.Map, java.lang.String)">getColor</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</code>
<divclass="block">Returns the value for key in dictionary as a color or null if no value is
defined for the key.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getColor(java.util.Map, java.lang.String, java.awt.Color)">getColor</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> defaultValue)</code>
<divclass="block">Returns the value for key in dictionary as a color or the given default
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getDouble(java.util.Map, java.lang.String)">getDouble</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</code>
<divclass="block">Returns the value for key in dictionary as a double or 0 if no value is
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getDouble(java.util.Map, java.lang.String, double)">getDouble</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
double defaultValue)</code>
<divclass="block">Returns the value for key in dictionary as a double or the given default
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getFloat(java.util.Map, java.lang.String)">getFloat</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</code>
<divclass="block">Returns the value for key in dictionary as a float or 0 if no value is
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getFloat(java.util.Map, java.lang.String, float)">getFloat</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
float defaultValue)</code>
<divclass="block">Returns the value for key in dictionary as a float or the given default
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getFloatArray(java.util.Map, java.lang.String, float[])">getFloatArray</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
float[] defaultValue)</code>
<divclass="block">Returns the value for key in dictionary as a float array or the given default
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getFloatArray(java.util.Map, java.lang.String, float[], java.lang.String)">getFloatArray</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
float[] defaultValue,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> separator)</code>
<divclass="block">Returns the value for key in dictionary as a float array or the given default
value if no value is defined for the key.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getFont(java.util.Map)">getFont</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getFont(java.util.Map, double)">getFont</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
double scale)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/FontMetrics.html?is-external=true"title="class or interface in java.awt">FontMetrics</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getFontMetrics(java.awt.Font)">getFontMetrics</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a> font)</code>
<divclass="block">Returns the font metrics of the static font graphics instance</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getHexColorString(java.awt.Color)">getHexColorString</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> color)</code>
<divclass="block">Returns a hex representation for the given color.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getInt(java.util.Map, java.lang.String)">getInt</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</code>
<divclass="block">Returns the value for key in dictionary as an int or 0 if no value is
defined for the key.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getInt(java.util.Map, java.lang.String, int)">getInt</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
int defaultValue)</code>
<divclass="block">Returns the value for key in dictionary as an int or the given default
value if no value is defined for the key.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getLabelPaintBounds(java.lang.String, java.util.Map, boolean, com.mxgraph.util.mxPoint, com.mxgraph.util.mxRectangle, double)">getLabelPaintBounds</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean isHtml,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> offset,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> vertexBounds,
double scale)</code>
<divclass="block">Returns the paint bounds for the given label.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getLabelPaintBounds(java.lang.String, java.util.Map, boolean, com.mxgraph.util.mxPoint, com.mxgraph.util.mxRectangle, double, boolean)">getLabelPaintBounds</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean isHtml,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> offset,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> vertexBounds,
<divclass="block">Returns the paint bounds for the given label.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getLabelSize(java.lang.String, java.util.Map, boolean, double)">getLabelSize</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean isHtml,
double scale)</code>
<divclass="block">Returns the size for the given label.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getLabelSize(java.lang.String, java.util.Map, boolean, double, double)">getLabelSize</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<divclass="block">Returns the size for the given label.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getMd5Hash(java.lang.String)">getMd5Hash</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text)</code>
<divclass="block">Returns the Md5 hash for the given text.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getPortConstraints(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean)">getPortConstraints</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
boolean source)</code>
<divclass="block">Returns an integer mask of the port constraints of the given map</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getPortConstraints(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean, int)">getPortConstraints</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
boolean source,
int defaultValue)</code>
<divclass="block">Returns an integer mask of the port constraints of the given map</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getPrettyXml(org.w3c.dom.Node)">getPrettyXml</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<divclass="block">Returns a pretty-printed XML string for the given node.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getPrettyXml(org.w3c.dom.Node, java.lang.String, java.lang.String)">getPrettyXml</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> tab,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> indent)</code>
<divclass="block">Returns a pretty-printed XML string for the given node.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getRotatedPoint(com.mxgraph.util.mxPoint, double, double)">getRotatedPoint</a></strong>(<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> pt,
double cos,
double sin)</code>
<divclass="block">Rotates the given point by the given cos and sin.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getRotatedPoint(com.mxgraph.util.mxPoint, double, double, com.mxgraph.util.mxPoint)">getRotatedPoint</a></strong>(<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> pt,
double cos,
double sin,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> c)</code>
<divclass="block">Rotates the given point by the given cos and sin.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> size,
double outerWidth,
double outerHeight,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
double scale)</code>
<divclass="block">Returns the bounds for a label for the given location and size, taking
the width and height of the rectangle that contains the label.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getSizeForHtml(java.lang.String, java.util.Map, double, double)">getSizeForHtml</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> markup,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
double scale,
double wrapWidth)</code>
<divclass="block">Returns an mxRectangle with the size (width and height in pixels) of the
given HTML markup.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getSizeForString(java.lang.String, java.awt.Font, double)">getSizeForString</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a> font,
double scale)</code>
<divclass="block">Returns an <mxRectangle> with the size (width and height in pixels) of
the given string.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getString(java.util.Map, java.lang.String)">getString</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</code>
<divclass="block">Returns the value for key in dictionary as a string or null if no value
is defined for the key.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getString(java.util.Map, java.lang.String, java.lang.String)">getString</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> defaultValue)</code>
<divclass="block">Returns the value for key in dictionary as a string or the given default
value if no value is defined for the key.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getStylename(java.lang.String)">getStylename</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getStylenames(java.lang.String)">getStylenames</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#getXml(org.w3c.dom.Node)">getXml</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#hexString(java.awt.Color)">hexString</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> color)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#htmlEntities(java.lang.String)">htmlEntities</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text)</code>
<divclass="block">Converts the ampersand, quote, prime, less-than and greater-than
characters to their corresponding HTML entities in the given string.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#indexOf(java.lang.Object[], java.lang.Object)">indexOf</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] array,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> obj)</code>
<divclass="block">Returns the index of the given object in the given array of -1 if the
object is not contained in the array.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#indexOfStylename(java.lang.String, java.lang.String)">indexOfStylename</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> stylename)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#isNode(java.lang.Object, java.lang.String)">isNode</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> nodeName)</code>
<divclass="block">Returns true if the user object is an XML node with the specified type
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#isNode(java.lang.Object, java.lang.String, java.lang.String, java.lang.String)">isNode</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> nodeName,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attributeName,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attributeValue)</code>
<divclass="block">Returns true if the given value is an XML node with the node name and if
the optional attribute has the specified value.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#isTrue(java.util.Map, java.lang.String)">isTrue</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</code>
<divclass="block">Returns true if the dictionary contains true for the given key or false
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#isTrue(java.util.Map, java.lang.String, boolean)">isTrue</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
boolean defaultValue)</code>
<divclass="block">Returns true if the dictionary contains true for the given key or the
given default value if no value is defined for the key.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#loadDocument(java.lang.String)">loadDocument</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> uri)</code>
<divclass="block">Returns a new DOM document for the given URI.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#loadImage(java.lang.String)">loadImage</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> url)</code>
<divclass="block">Loads an image from the local filesystem, a data URI or any other URL.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#parseColor(java.lang.String)">parseColor</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> colorString)</code>
<divclass="block">Convert a string representing a 24/32bit hex color value into a Color
object.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#parseXml(java.lang.String)">parseXml</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> xml)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#readFile(java.lang.String)">readFile</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> filename)</code>
<divclass="block">Reads the given filename into a string.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#readInputStream(java.io.InputStream)">readInputStream</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true"title="class or interface in java.io">InputStream</a> stream)</code>
<divclass="block">Reads the given filename into a string.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#removeAllStylenames(java.lang.String)">removeAllStylenames</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#selectSingleNode(org.w3c.dom.Document, java.lang.String)">selectSingleNode</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> doc,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> expression)</code>
<divclass="block">Returns a single node that matches the given XPath expression.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#setAntiAlias(java.awt.Graphics2D, boolean, boolean)">setAntiAlias</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics2D.html?is-external=true"title="class or interface in java.awt">Graphics2D</a> g,
boolean antiAlias,
boolean textAntiAlias)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#setCellStyleFlags(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.String, int, java.lang.Boolean)">setCellStyleFlags</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
int flag,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true"title="class or interface in java.lang">Boolean</a> value)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#setCellStyles(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.String, java.lang.String)">setCellStyles</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> value)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#setStyle(java.lang.String, java.lang.String, java.lang.String)">setStyle</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> value)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#setStyleFlag(java.lang.String, java.lang.String, int, java.lang.Boolean)">setStyleFlag</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
int flag,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true"title="class or interface in java.lang">Boolean</a> value)</code>
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#sortCells(java.util.Collection, boolean)">sortCells</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> cells,
boolean ascending)</code>
<divclass="block">Sorts the given cells according to the order in the cell hierarchy.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#sortCells(java.lang.Object[], boolean)">sortCells</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
boolean ascending)</code>
<divclass="block">Sorts the given cells according to the order in the cell hierarchy.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#translatePoints(java.util.List, double, double)">translatePoints</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> pts,
double dx,
double dy)</code>
<divclass="block">Creates a new list of new points obtained by translating the points in
the given list by the given vector.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#wordWrap(java.lang.String, java.awt.FontMetrics, double)">wordWrap</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/FontMetrics.html?is-external=true"title="class or interface in java.awt">FontMetrics</a> metrics,
double width)</code>
<divclass="block">Returns the specified text in lines that fit within the specified
width when the specified font metrics are applied to the text</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUtils.html#writeFile(java.lang.String, java.lang.String)">writeFile</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> contents,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> filename)</code>
<divclass="block">Writes the given string into the given file.</div>
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<divclass="block">True if the machine is a Mac.</div>
</li>
</ul>
<aname="IS_LINUX">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>IS_LINUX</h4>
<pre>public static boolean IS_LINUX</pre>
<divclass="block">True if the machine is running a linux kernel.</div>
</li>
</ul>
<aname="fontGraphics">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>fontGraphics</h4>
<pre>protected static transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</a> fontGraphics</pre>
<divclass="block">Static Graphics used for Font Metrics.</div>
<pre>public static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getLabelSize(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean isHtml,
double scale)</pre>
<divclass="block">Returns the size for the given label. If isHtml is true then any HTML
<pre>public static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getLabelSize(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean isHtml,
double scale,
double htmlWrapWidth)</pre>
<divclass="block">Returns the size for the given label. If isHtml is true then any HTML
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getBodyMarkup(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> markup,
boolean replaceLinefeeds)</pre>
<divclass="block">Returns the body part of the given HTML markup.</div>
<pre>public static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getLabelPaintBounds(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean isHtml,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> offset,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> vertexBounds,
double scale)</pre>
<divclass="block">Returns the paint bounds for the given label.</div>
<pre>public static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getLabelPaintBounds(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> label,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
boolean isHtml,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> offset,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> vertexBounds,
double scale,
boolean isEdge)</pre>
<divclass="block">Returns the paint bounds for the given label.</div>
<pre>public static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getScaledLabelBounds(double x,
double y,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> size,
double outerWidth,
double outerHeight,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
double scale)</pre>
<divclass="block">Returns the bounds for a label for the given location and size, taking
size and the spacings in the specified style.</div>
</li>
</ul>
<aname="getFontMetrics(java.awt.Font)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getFontMetrics</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/FontMetrics.html?is-external=true"title="class or interface in java.awt">FontMetrics</a> getFontMetrics(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a> font)</pre>
<divclass="block">Returns the font metrics of the static font graphics instance</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>font</code> - The font whose metrics are to be returned</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the font metrics of the specified font</dd></dl>
<pre>public static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getSizeForString(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a> font,
double scale)</pre>
<divclass="block">Returns an <mxRectangle> with the size (width and height in pixels) of
the given string.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>text</code> - String whose size should be returned.</dd><dd><code>font</code> - Font to be used for the computation.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[] wordWrap(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/FontMetrics.html?is-external=true"title="class or interface in java.awt">FontMetrics</a> metrics,
double width)</pre>
<divclass="block">Returns the specified text in lines that fit within the specified
width when the specified font metrics are applied to the text</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>text</code> - the text to wrap</dd><dd><code>metrics</code> - the font metrics to calculate the text size for</dd><dd><code>width</code> - the width that the text must fit within</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the input text split in lines that fit the specified width</dd></dl>
<pre>public static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getSizeForHtml(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> markup,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
double scale,
double wrapWidth)</pre>
<divclass="block">Returns an mxRectangle with the size (width and height in pixels) of the
given HTML markup.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>markup</code> - HTML markup whose size should be returned.</dd></dl>
<pre>public static <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox(<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> rect,
double rotation)</pre>
<divclass="block">Returns the bounding box for the rotated rectangle.</div>
</li>
</ul>
<aname="firstCharAt(java.lang.String, int, int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>firstCharAt</h4>
<pre>public static int firstCharAt(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
int inputChar,
int fromIndex)</pre>
<divclass="block">Find the first character matching the input character in the given
string where the character has no letter preceding it.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>text</code> - the string to test for the presence of the input character</dd><dd><code>inputChar</code> - the test character</dd><dd><code>fromIndex</code> - the index position of the string to start from</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the position of the first character matching the input character
in the given string where the character has no letter preceding it.</dd></dl>
<pre>public static <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getRotatedPoint(<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> pt,
double cos,
double sin)</pre>
<divclass="block">Rotates the given point by the given cos and sin.</div>
<pre>public static int findNearestSegment(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
double x,
double y)</pre>
<divclass="block">Finds the index of the nearest segment on the given cell state for the
<pre>public static <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getRotatedPoint(<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> pt,
double cos,
double sin,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> c)</pre>
<divclass="block">Rotates the given point by the given cos and sin.</div>
<pre>public static int getPortConstraints(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
boolean source)</pre>
<divclass="block">Returns an integer mask of the port constraints of the given map</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>terminal</code> - the cached cell state of the cell to determine the
port constraints for</dd><dd><code>edge</code> - the edge connected to the constrained terminal</dd><dd><code>source</code> - whether or not the edge specified is connected to the
terminal specified at its source end</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the mask of port constraint directions</dd></dl>
<pre>public static int getPortConstraints(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
boolean source,
int defaultValue)</pre>
<divclass="block">Returns an integer mask of the port constraints of the given map</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>terminal</code> - the cached cell state of the cell to determine the
port constraints for</dd><dd><code>edge</code> - the edge connected to the constrained terminal</dd><dd><code>source</code> - whether or not the edge specified is connected to the
terminal specified at its source end</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the mask of port constraint directions</dd></dl>
<pre>public static void drawImageClip(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</a> g,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a> image,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true"title="class or interface in java.awt.image">ImageObserver</a> observer)</pre>
<divclass="block">Draws the image inside the clip bounds to the given graphics object.</div>
<pre>public static void fillClippedRect(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</a> g,
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> translatePoints(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> pts,
double dx,
double dy)</pre>
<divclass="block">Creates a new list of new points obtained by translating the points in
<pre>public static <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> intersection(double x0,
double y0,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3)</pre>
<divclass="block">Returns the intersection of two lines as an mxPoint.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>x0</code> - X-coordinate of the first line's startpoint.</dd><dd><code>y0</code> - Y-coordinate of the first line's startpoint.</dd><dd><code>x1</code> - X-coordinate of the first line's endpoint.</dd><dd><code>y1</code> - Y-coordinate of the first line's endpoint.</dd><dd><code>x2</code> - X-coordinate of the second line's startpoint.</dd><dd><code>y2</code> - Y-coordinate of the second line's startpoint.</dd><dd><code>x3</code> - X-coordinate of the second line's endpoint.</dd><dd><code>y3</code> - Y-coordinate of the second line's endpoint.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the intersection between the two lines.</dd></dl>
</li>
</ul>
<aname="sortCells(java.lang.Object[], boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>sortCells</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] sortCells(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
boolean ascending)</pre>
<divclass="block">Sorts the given cells according to the order in the cell hierarchy.</div>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> sortCells(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> cells,
boolean ascending)</pre>
<divclass="block">Sorts the given cells according to the order in the cell hierarchy.</div>
<pre>public static boolean contains(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] array,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> obj)</pre>
<divclass="block">Returns true if the given array contains the given object.</div>
<pre>public static int indexOf(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] array,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> obj)</pre>
<divclass="block">Returns the index of the given object in the given array of -1 if the
object is not contained in the array.</div>
</li>
</ul>
<aname="getStylename(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getStylename</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getStylename(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</pre>
<divclass="block">Returns the stylename in a style of the form stylename[;key=value] or an
empty string if the given style does not contain a stylename.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>style</code> - String of the form stylename[;key=value].</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the stylename from the given formatted string.</dd></dl>
</li>
</ul>
<aname="getStylenames(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getStylenames</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>[] getStylenames(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</pre>
<pre>public static int indexOfStylename(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> stylename)</pre>
style, otherwise it returns the index of the first character.</div>
</li>
</ul>
<aname="removeAllStylenames(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>removeAllStylenames</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> removeAllStylenames(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</pre>
<pre>public static void setCellStyles(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> value)</pre>
<divclass="block">Assigns the value for the given key in the styles of the given cells, or
removes the key from the styles if the value is null.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model to execute the transaction in.</dd><dd><code>cells</code> - Array of cells to be updated.</dd><dd><code>key</code> - Key of the style to be changed.</dd><dd><code>value</code> - New value for the given key.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> setStyle(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> value)</pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>style</code> - String of the form <code>stylename[;key=value]</code>.</dd><dd><code>key</code> - Key of the style to be changed.</dd><dd><code>value</code> - New value for the given key.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new style.</dd></dl>
<pre>public static void setCellStyleFlags(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
int flag,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true"title="class or interface in java.lang">Boolean</a> value)</pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the cells.</dd><dd><code>cells</code> - Array of cells to change the style for.</dd><dd><code>key</code> - Key of the style to be changed.</dd><dd><code>flag</code> - Integer for the bit to be changed.</dd><dd><code>value</code> - Optional boolean value for the flag.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> setStyleFlag(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
int flag,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true"title="class or interface in java.lang">Boolean</a> value)</pre>
<divclass="block">Sets or removes the given key from the specified style and returns the
new style. If value is null then the flag is toggled.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>style</code> - String of the form stylename[;key=value].</dd><dd><code>key</code> - Key of the style to be changed.</dd><dd><code>flag</code> - Integer for the bit to be changed.</dd><dd><code>value</code> - Optional boolean value for the given flag.</dd></dl>
<pre>public static boolean intersectsHotspot(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<pre>public static boolean intersectsHotspot(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
int x,
int y,
double hotspot,
int min,
int max)</pre>
<divclass="block">Returns true if the given coordinate pair intersects the hotspot of the
given state.</div>
</li>
</ul>
<aname="isTrue(java.util.Map, java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isTrue</h4>
<pre>public static boolean isTrue(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</pre>
<divclass="block">Returns true if the dictionary contains true for the given key or false
if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the boolean value for key in dict.</dd></dl>
<pre>public static boolean isTrue(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
boolean defaultValue)</pre>
<divclass="block">Returns true if the dictionary contains true for the given key or the
given default value if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the boolean value for key in dict.</dd></dl>
</li>
</ul>
<aname="getInt(java.util.Map, java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getInt</h4>
<pre>public static int getInt(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</pre>
<divclass="block">Returns the value for key in dictionary as an int or 0 if no value is
defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the integer value for key in dict.</dd></dl>
<pre>public static int getInt(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
int defaultValue)</pre>
<divclass="block">Returns the value for key in dictionary as an int or the given default
value if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the integer value for key in dict.</dd></dl>
<pre>public static float getFloat(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</pre>
<divclass="block">Returns the value for key in dictionary as a float or 0 if no value is
defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the float value for key in dict.</dd></dl>
<pre>public static float getFloat(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
float defaultValue)</pre>
<divclass="block">Returns the value for key in dictionary as a float or the given default
value if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the float value for key in dict.</dd></dl>
<pre>public static float[] getFloatArray(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
float[] defaultValue)</pre>
<divclass="block">Returns the value for key in dictionary as a float array or the given default
value if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the float array value for key in dict.</dd></dl>
<pre>public static float[] getFloatArray(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
float[] defaultValue,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> separator)</pre>
<divclass="block">Returns the value for key in dictionary as a float array or the given default
value if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the float array value for key in dict.</dd></dl>
<pre>public static double getDouble(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</pre>
<divclass="block">Returns the value for key in dictionary as a double or 0 if no value is
defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the double value for key in dict.</dd></dl>
<pre>public static double getDouble(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
double defaultValue)</pre>
<divclass="block">Returns the value for key in dictionary as a double or the given default
value if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the double value for key in dict.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getString(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</pre>
<divclass="block">Returns the value for key in dictionary as a string or null if no value
is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the string value for key in dict.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getString(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> defaultValue)</pre>
<divclass="block">Returns the value for key in dictionary as a string or the given default
value if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the string value for key in dict.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> getColor(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key)</pre>
<divclass="block">Returns the value for key in dictionary as a color or null if no value is
defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the color value for key in dict.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> getColor(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> dict,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> key,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> defaultValue)</pre>
<divclass="block">Returns the value for key in dictionary as a color or the given default
value if no value is defined for the key.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>dict</code> - Dictionary that contains the key, value pairs.</dd><dd><code>key</code> - Key whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to return if the key is undefined.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the color value for key in dict.</dd></dl>
</li>
</ul>
<aname="getFont(java.util.Map)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getFont</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a> getFont(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</pre>
</li>
</ul>
<aname="getFont(java.util.Map, double)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getFont</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Font.html?is-external=true"title="class or interface in java.awt">Font</a> getFont(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
double scale)</pre>
</li>
</ul>
<aname="hexString(java.awt.Color)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>hexString</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> hexString(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> color)</pre>
</li>
</ul>
<aname="parseColor(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>parseColor</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> parseColor(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> colorString)
throws <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NumberFormatException.html?is-external=true"title="class or interface in java.lang">NumberFormatException</a></pre>
<divclass="block">Convert a string representing a 24/32bit hex color value into a Color
but note that you do not include the "#" in the string passed in</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>colorString</code> - the 24/32bit hex string value (ARGB)</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>java.awt.Color (24bit RGB on JDK 1.1, 24/32bit ARGB on JDK1.2)</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NumberFormatException.html?is-external=true"title="class or interface in java.lang">NumberFormatException</a></code> - if the specified string cannot be interpreted as a
hexidecimal integer</dd></dl>
</li>
</ul>
<aname="getHexColorString(java.awt.Color)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getHexColorString</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getHexColorString(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> color)</pre>
<divclass="block">Returns a hex representation for the given color.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>color</code> - Color to return the hex string for.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a hex string for the given color.</dd></dl>
</li>
</ul>
<aname="readFile(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>readFile</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> readFile(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> filename)
throws <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></pre>
<divclass="block">Reads the given filename into a string.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>filename</code> - Name of the file to be read.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a string representing the file contents.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<aname="readInputStream(java.io.InputStream)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>readInputStream</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> readInputStream(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true"title="class or interface in java.io">InputStream</a> stream)
throws <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></pre>
<divclass="block">Reads the given filename into a string.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>filename</code> - Name of the file to be read.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a string representing the file contents.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></code></dd></dl>
<pre>public static void writeFile(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> contents,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> filename)
throws <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></pre>
<divclass="block">Writes the given string into the given file.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>contents</code> - String representing the file contents.</dd><dd><code>filename</code> - Name of the file to be written.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<aname="getMd5Hash(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getMd5Hash</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getMd5Hash(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text)</pre>
<divclass="block">Returns the Md5 hash for the given text.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>text</code> - String whose Md5 hash should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the Md5 hash for the given text.</dd></dl>
<pre>public static boolean isNode(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> nodeName)</pre>
<divclass="block">Returns true if the user object is an XML node with the specified type
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Object that should be examined as a node.</dd><dd><code>nodeName</code> - String that specifies the node name.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the node name of the user object is equal to the
<pre>public static boolean isNode(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> value,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> nodeName,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attributeName,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attributeValue)</pre>
<divclass="block">Returns true if the given value is an XML node with the node name and if
the optional attribute has the specified value.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Object that should be examined as a node.</dd><dd><code>nodeName</code> - String that specifies the node name.</dd><dd><code>attributeName</code> - Optional attribute name to check.</dd><dd><code>attributeValue</code> - Optional attribute value to check.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the value matches the given conditions.</dd></dl>
<pre>public static void setAntiAlias(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics2D.html?is-external=true"title="class or interface in java.awt">Graphics2D</a> g,
<pre>public static void clearRect(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics2D.html?is-external=true"title="class or interface in java.awt">Graphics2D</a> g,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a> rect,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> background)</pre>
<divclass="block">Clears the given area of the specified graphics object with the given
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a> createBufferedImage(int w,
int h,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</a> background)</pre>
<divclass="block">Creates a buffered image for the given parameters. If there is not enough
memory to create the image then a OutOfMemoryError is thrown.</div>
</li>
</ul>
<aname="loadImage(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>loadImage</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/BufferedImage.html?is-external=true"title="class or interface in java.awt.image">BufferedImage</a> loadImage(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> url)</pre>
<divclass="block">Loads an image from the local filesystem, a data URI or any other URL.</div>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</a> createTable(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> document,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
int x,
int y,
int w,
int h,
double scale,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style)</pre>
<divclass="block">Creates a table for the given text using the given document to create the
DOM nodes. Returns the outermost table node.</div>
</li>
</ul>
<aname="createDocument()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createDocument</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> createDocument()</pre>
<divclass="block">Returns a new, empty DOM document.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns a new DOM document.</dd></dl>
</li>
</ul>
<aname="createSvgDocument(int, int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createSvgDocument</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> createSvgDocument(int width,
<divclass="block">Creates a new SVG document for the given width and height.</div>
</li>
</ul>
<aname="createVmlDocument()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createVmlDocument</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> createVmlDocument()</pre>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> createHtmlDocument()</pre>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> createHtmlDocument(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text)</pre>
<divclass="block">Returns a new, empty DOM document.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns a new DOM document.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> createHtmlDocument(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
double scale)</pre>
<divclass="block">Returns a new, empty DOM document.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns a new DOM document.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> createHtmlDocument(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
double scale,
int width)</pre>
<divclass="block">Returns a new, empty DOM document.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns a new DOM document.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> createHtmlDocument(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
double scale,
int width,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> head)</pre>
<divclass="block">Returns a new, empty DOM document. The head argument can be used to
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> createHtmlDocument(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text,
double scale,
int width,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> head,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> bodyCss)</pre>
<divclass="block">Returns a new, empty DOM document. The head argument can be used to
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/text/html/HTMLDocument.html?is-external=true"title="class or interface in javax.swing.text.html">HTMLDocument</a> createHtmlDocumentObject(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> style,
double scale)</pre>
<divclass="block">Returns a new, empty DOM document.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns a new DOM document.</dd></dl>
</li>
</ul>
<aname="loadDocument(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>loadDocument</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> loadDocument(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> uri)</pre>
<divclass="block">Returns a new DOM document for the given URI.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>uri</code> - URI to parse into the document.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a new DOM document for the given URI.</dd></dl>
</li>
</ul>
<aname="parseXml(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>parseXml</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> parseXml(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> xml)</pre>
<divclass="block">Returns a new document for the given XML string.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>xml</code> - String that represents the XML data.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a new XML document.</dd></dl>
</li>
</ul>
<aname="eval(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>eval</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> eval(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> expression)</pre>
<divclass="block">Evaluates a Java expression as a class member using mxCodecRegistry. The
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> findNode(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attr,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> value)</pre>
<divclass="block">Returns the first node where attr equals value. This implementation does
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> selectSingleNode(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</a> doc,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> expression)</pre>
<divclass="block">Returns a single node that matches the given XPath expression.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>doc</code> - Document that contains the nodes.</dd><dd><code>expression</code> - XPath expression to be matched.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a single node matching the given expression.</dd></dl>
</li>
</ul>
<aname="htmlEntities(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>htmlEntities</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> htmlEntities(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> text)</pre>
<divclass="block">Converts the ampersand, quote, prime, less-than and greater-than
characters to their corresponding HTML entities in the given string.</div>
</li>
</ul>
<aname="getXml(org.w3c.dom.Node)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getXml</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getXml(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Returns a string that represents the given node.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>node</code> - Node to return the XML for.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns an XML string.</dd></dl>
</li>
</ul>
<aname="getPrettyXml(org.w3c.dom.Node)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getPrettyXml</h4>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getPrettyXml(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node)</pre>
<divclass="block">Returns a pretty-printed XML string for the given node.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>node</code> - Node to return the XML for.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a formatted XML string.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getPrettyXml(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Node.html?is-external=true"title="class or interface in org.w3c.dom">Node</a> node,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> tab,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> indent)</pre>
<divclass="block">Returns a pretty-printed XML string for the given node. Note that this
for further processing as it does not use built-in mechanisms.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>node</code> - Node to return the XML for.</dd><dd><code>tab</code> - String to be used for indentation of inner nodes.</dd><dd><code>indent</code> - Current indentation for the node.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a formatted XML string.</dd></dl>