<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>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.util.mxUtils</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxUtils</B><DT>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></DL>
</PRE>
<P>
Contains various helper methods for use with mxGraph.
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#clearRect(java.awt.Graphics2D, java.awt.Rectangle, java.awt.Color)">clearRect</A></B>(<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>
<BR>
Clears the given area of the specified graphics object with the given
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#contains(java.lang.Object[], java.lang.Object)">contains</A></B>(<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>
<BR>
Returns true if the given array contains the given object.</TD>
<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></FONT></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>
<BR>
Creates a buffered image for the given parameters.</TD>
<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></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String)">createHtmlDocument</A></B>(<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>
<BR>
Returns a new, empty DOM document.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String, double)">createHtmlDocument</A></B>(<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>
<BR>
Returns a new, empty DOM document.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String, double, int)">createHtmlDocument</A></B>(<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>
<BR>
Returns a new, empty DOM document.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#createHtmlDocument(java.util.Map, java.lang.String, double, int, java.lang.String)">createHtmlDocument</A></B>(<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>
<BR>
Returns a new, empty DOM document.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#createHtmlDocumentObject(java.util.Map, double)">createHtmlDocumentObject</A></B>(<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>
<BR>
Returns a new, empty DOM document.</TD>
<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></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#createTable(org.w3c.dom.Document, java.lang.String, int, int, int, int, double, java.util.Map)">createTable</A></B>(<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>
<BR>
Creates a table for the given text using the given document to create the
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#drawImageClip(java.awt.Graphics, java.awt.image.BufferedImage, java.awt.image.ImageObserver)">drawImageClip</A></B>(<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>
<BR>
Draws the image inside the clip bounds to the given graphics object.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#eval(java.lang.String)">eval</A></B>(<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>
<BR>
Evaluates a Java expression as a class member using mxCodecRegistry.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#fillClippedRect(java.awt.Graphics, int, int, int, int)">fillClippedRect</A></B>(<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,
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#findNearestSegment(com.mxgraph.view.mxCellState, double, double)">findNearestSegment</A></B>(<AHREF="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
double x,
double y)</CODE>
<BR>
Finds the index of the nearest segment on the given cell state for the
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#findNode(org.w3c.dom.Node, java.lang.String, java.lang.String)">findNode</A></B>(<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>
<BR>
Returns the first node where attr equals value.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#firstCharAt(java.lang.String, int, int)">firstCharAt</A></B>(<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>
<BR>
Find the first character matching the input character in the given
string where the character has no letter preceding it.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getBodyMarkup(java.lang.String, boolean)">getBodyMarkup</A></B>(<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>
<BR>
Returns the body part of the given HTML markup.</TD>
<CODE>static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getBoundingBox(com.mxgraph.util.mxRectangle, double)">getBoundingBox</A></B>(<AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> rect,
double rotation)</CODE>
<BR>
Returns the bounding box for the rotated rectangle.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getColor(java.util.Map, java.lang.String)">getColor</A></B>(<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>
<BR>
Returns the value for key in dictionary as a color or null if no value is
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getColor(java.util.Map, java.lang.String, java.awt.Color)">getColor</A></B>(<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>
<BR>
Returns the value for key in dictionary as a color or the given default
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getDouble(java.util.Map, java.lang.String)">getDouble</A></B>(<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>
<BR>
Returns the value for key in dictionary as a double or 0 if no value is
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getDouble(java.util.Map, java.lang.String, double)">getDouble</A></B>(<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>
<BR>
Returns the value for key in dictionary as a double or the given default
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getFloat(java.util.Map, java.lang.String)">getFloat</A></B>(<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>
<BR>
Returns the value for key in dictionary as a float or 0 if no value is
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getFloat(java.util.Map, java.lang.String, float)">getFloat</A></B>(<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>
<BR>
Returns the value for key in dictionary as a float or the given default
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getFloatArray(java.util.Map, java.lang.String, float[])">getFloatArray</A></B>(<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,
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getFloatArray(java.util.Map, java.lang.String, float[], java.lang.String)">getFloatArray</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getFont(java.util.Map)">getFont</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getFont(java.util.Map, double)">getFont</A></B>(<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>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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getFontMetrics(java.awt.Font)">getFontMetrics</A></B>(<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>
<BR>
Returns the font metrics of the static font graphics instance</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getHexColorString(java.awt.Color)">getHexColorString</A></B>(<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>
<BR>
Returns a hex representation for the given color.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getInt(java.util.Map, java.lang.String)">getInt</A></B>(<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>
<BR>
Returns the value for key in dictionary as an int or 0 if no value is
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getInt(java.util.Map, java.lang.String, int)">getInt</A></B>(<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>
<BR>
Returns the value for key in dictionary as an int or the given default
<CODE>static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><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></B>(<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>
<BR>
Returns the paint bounds for the given label.</TD>
<CODE>static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getLabelSize(java.lang.String, java.util.Map, boolean, double)">getLabelSize</A></B>(<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>
<BR>
Returns the size for the given label.</TD>
<CODE>static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getLabelSize(java.lang.String, java.util.Map, boolean, double, double)">getLabelSize</A></B>(<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)</CODE>
<BR>
Returns the size for the given label.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getMd5Hash(java.lang.String)">getMd5Hash</A></B>(<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>
<BR>
Returns the Md5 hash for the given text.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getPortConstraints(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean)">getPortConstraints</A></B>(<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>
<BR>
Returns an integer mask of the port constraints of the given map</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getPrettyXml(org.w3c.dom.Node)">getPrettyXml</A></B>(<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>
<BR>
Returns a pretty-printed XML string for the given node.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getPrettyXml(org.w3c.dom.Node, java.lang.String, java.lang.String)">getPrettyXml</A></B>(<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>
<BR>
Returns a pretty-printed XML string for the given node.</TD>
<CODE>static <AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getRotatedPoint(com.mxgraph.util.mxPoint, double, double)">getRotatedPoint</A></B>(<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A> pt,
double cos,
double sin)</CODE>
<BR>
Rotates the given point by the given cos and sin.</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>
<BR>
Returns the bounds for a label for the given location and size, taking
into account the alignment and spacing in the specified style, as well as
the width and height of the rectangle that contains the label.</TD>
<CODE>static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getSizeForHtml(java.lang.String, java.util.Map, double, double)">getSizeForHtml</A></B>(<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>
<BR>
Returns an mxRectangle with the size (width and height in pixels) of the
<CODE>static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getSizeForString(java.lang.String, java.awt.Font, double)">getSizeForString</A></B>(<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>
<BR>
Returns an <mxRectangle> with the size (width and height in pixels) of
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getString(java.util.Map, java.lang.String)">getString</A></B>(<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>
<BR>
Returns the value for key in dictionary as a string or null if no value
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getString(java.util.Map, java.lang.String, java.lang.String)">getString</A></B>(<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>
<BR>
Returns the value for key in dictionary as a string or the given default
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getStylename(java.lang.String)">getStylename</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getStylenames(java.lang.String)">getStylenames</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#getXml(org.w3c.dom.Node)">getXml</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#hexString(java.awt.Color)">hexString</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#htmlEntities(java.lang.String)">htmlEntities</A></B>(<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>
<BR>
Converts the ampersand, quote, prime, less-than and greater-than
characters to their corresponding HTML entities in the given string.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#indexOf(java.lang.Object[], java.lang.Object)">indexOf</A></B>(<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>
<BR>
Returns the index of the given object in the given array of -1 if the
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#indexOfStylename(java.lang.String, java.lang.String)">indexOfStylename</A></B>(<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>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#isNode(java.lang.Object, java.lang.String)">isNode</A></B>(<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>
<BR>
Returns true if the user object is an XML node with the specified type
and and the optional attribute has the specified value or is not
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#isNode(java.lang.Object, java.lang.String, java.lang.String, java.lang.String)">isNode</A></B>(<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>
<BR>
Returns true if the given value is an XML node with the node name and if
the optional attribute has the specified value.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#isTrue(java.util.Map, java.lang.String)">isTrue</A></B>(<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>
<BR>
Returns true if the dictionary contains true for the given key or false
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#isTrue(java.util.Map, java.lang.String, boolean)">isTrue</A></B>(<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>
<BR>
Returns true if the dictionary contains true for the given key or the
given default value if no value is defined for the key.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#loadDocument(java.lang.String)">loadDocument</A></B>(<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>
<BR>
Returns a new DOM document for the given URI.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#loadImage(java.lang.String)">loadImage</A></B>(<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>
<BR>
Loads an image from the local filesystem, a data URI or any other URL.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#parseColor(java.lang.String)">parseColor</A></B>(<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>
<BR>
Convert a string representing a 24/32bit hex color value into a Color
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#parseXml(java.lang.String)">parseXml</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#readFile(java.lang.String)">readFile</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#readInputStream(java.io.InputStream)">readInputStream</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#removeAllStylenames(java.lang.String)">removeAllStylenames</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#selectSingleNode(org.w3c.dom.Document, java.lang.String)">selectSingleNode</A></B>(<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>
<BR>
Returns a single node that matches the given XPath expression.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#setAntiAlias(java.awt.Graphics2D, boolean, boolean)">setAntiAlias</A></B>(<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,
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#setCellStyleFlags(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.String, int, java.lang.Boolean)">setCellStyleFlags</A></B>(<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>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#setCellStyles(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.String, java.lang.String)">setCellStyles</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#setStyle(java.lang.String, java.lang.String, java.lang.String)">setStyle</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#setStyleFlag(java.lang.String, java.lang.String, int, java.lang.Boolean)">setStyleFlag</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#sortCells(java.util.Collection, boolean)">sortCells</A></B>(<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>
<BR>
Sorts the given cells according to the order in the cell hierarchy.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#sortCells(java.lang.Object[], boolean)">sortCells</A></B>(<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>
<BR>
Sorts the given cells according to the order in the cell hierarchy.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#translatePoints(java.util.List, double, double)">translatePoints</A></B>(<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>
<BR>
Creates a new list of new points obtained by translating the points in
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#wordWrap(java.lang.String, java.awt.FontMetrics, double)">wordWrap</A></B>(<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>
<BR>
Returns the specified text in lines that fit within the specified
width when the specified font metrics are applied to the text</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/util/mxUtils.html#writeFile(java.lang.String, java.lang.String)">writeFile</A></B>(<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>
<BR>
Writes the given string into the given file.</TD>
<THALIGN="left"><B>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></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><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></TD>
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><B>fontGraphics</B></PRE>
public static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>getLabelSize</B>(<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>
<DL>
<DD>Returns the size for the given label. If isHtml is true then any HTML
markup in the label is computed as HTML and all newlines inside the HTML
public static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>getLabelSize</B>(<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>
<DL>
<DD>Returns the size for the given label. If isHtml is true then any HTML
markup in the label is computed as HTML and all newlines inside the HTML
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><B>getBodyMarkup</B>(<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>
<DL>
<DD>Returns the body part of the given HTML markup.
public static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>getLabelPaintBounds</B>(<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,
public static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>getScaledLabelBounds</B>(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>
<DL>
<DD>Returns the bounds for a label for the given location and size, taking
into account the alignment and spacing in the specified style, as well as
the width and height of the rectangle that contains the label. (For edge
labels this width and height is 0.) The scale is used to scale the given
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><B>getFontMetrics</B>(<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>
<DL>
<DD>Returns the font metrics of the static font graphics instance
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>font</CODE> - The font whose metrics are to be returned
<DT><B>Returns:</B><DD>the font metrics of the specified font</DL>
public static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>getSizeForString</B>(<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>
<DL>
<DD>Returns an <mxRectangle> with the size (width and height in pixels) of
the given string.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - String whose size should be returned.<DD><CODE>font</CODE> - Font to be used for the computation.</DL>
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>[] <B>wordWrap</B>(<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>
<DL>
<DD>Returns the specified text in lines that fit within the specified
width when the specified font metrics are applied to the text
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to wrap<DD><CODE>metrics</CODE> - the font metrics to calculate the text size for<DD><CODE>width</CODE> - the width that the text must fit within
<DT><B>Returns:</B><DD>the input text split in lines that fit the specified width</DL>
public static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>getSizeForHtml</B>(<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>
<DL>
<DD>Returns an mxRectangle with the size (width and height in pixels) of the
given HTML markup.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>markup</CODE> - HTML markup whose size should be returned.</DL>
public static <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>getBoundingBox</B>(<AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> rect,
double rotation)</PRE>
<DL>
<DD>Returns the bounding box for the rotated rectangle.
public static int <B>firstCharAt</B>(<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>
<DL>
<DD>Find the first character matching the input character in the given
string where the character has no letter preceding it.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the string to test for the presence of the input character<DD><CODE>inputChar</CODE> - the test character<DD><CODE>fromIndex</CODE> - the index position of the string to start from
<DT><B>Returns:</B><DD>the position of the first character matching the input character
in the given string where the character has no letter preceding it.</DL>
public static <AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>getRotatedPoint</B>(<AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A> pt,
double cos,
double sin)</PRE>
<DL>
<DD>Rotates the given point by the given cos and sin.
public static int <B>findNearestSegment</B>(<AHREF="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
double x,
double y)</PRE>
<DL>
<DD>Finds the index of the nearest segment on the given cell state for the
public static <AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>getRotatedPoint</B>(<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>
<DL>
<DD>Rotates the given point by the given cos and sin.
public static int <B>getPortConstraints</B>(<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>
<DL>
<DD>Returns an integer mask of the port constraints of the given map
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>terminal</CODE> - the cached cell state of the cell to determine the
port constraints for<DD><CODE>edge</CODE> - the edge connected to the constrained terminal<DD><CODE>source</CODE> - whether or not the edge specified is connected to the
terminal specified at its source end
<DT><B>Returns:</B><DD>the mask of port constraint directions</DL>
public static int <B>getPortConstraints</B>(<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>
<DL>
<DD>Returns an integer mask of the port constraints of the given map
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>terminal</CODE> - the cached cell state of the cell to determine the
port constraints for<DD><CODE>edge</CODE> - the edge connected to the constrained terminal<DD><CODE>source</CODE> - whether or not the edge specified is connected to the
terminal specified at its source end<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>the mask of port constraint directions</DL>
public static void <B>drawImageClip</B>(<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>
<DL>
<DD>Draws the image inside the clip bounds to the given graphics object.
public static void <B>fillClippedRect</B>(<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,
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>><B>translatePoints</B>(<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>
<DL>
<DD>Creates a new list of new points obtained by translating the points in
the given list by the given vector. Elements that are not mxPoints are
public static <AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>intersection</B>(double x0,
double y0,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3)</PRE>
<DL>
<DD>Returns the intersection of two lines as an mxPoint.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x0</CODE> - X-coordinate of the first line's startpoint.<DD><CODE>y0</CODE> - Y-coordinate of the first line's startpoint.<DD><CODE>x1</CODE> - X-coordinate of the first line's endpoint.<DD><CODE>y1</CODE> - Y-coordinate of the first line's endpoint.<DD><CODE>x2</CODE> - X-coordinate of the second line's startpoint.<DD><CODE>y2</CODE> - Y-coordinate of the second line's startpoint.<DD><CODE>x3</CODE> - X-coordinate of the second line's endpoint.<DD><CODE>y3</CODE> - Y-coordinate of the second line's endpoint.
<DT><B>Returns:</B><DD>Returns the intersection between the two lines.</DL>
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>[] <B>sortCells</B>(<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>
<DL>
<DD>Sorts the given cells according to the order in the cell hierarchy.
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>><B>sortCells</B>(<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>
<DL>
<DD>Sorts the given cells according to the order in the cell hierarchy.
public static boolean <B>contains</B>(<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>
<DL>
<DD>Returns true if the given array contains the given object.
public static int <B>indexOf</B>(<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>
<DL>
<DD>Returns the index of the given object in the given array of -1 if the
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><B>getStylename</B>(<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>
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>[] <B>getStylenames</B>(<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>
public static int <B>indexOfStylename</B>(<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>
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><B>removeAllStylenames</B>(<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>
public static void <B>setCellStyles</B>(<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>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model to execute the transaction in.<DD><CODE>cells</CODE> - Array of cells to be updated.<DD><CODE>key</CODE> - Key of the style to be changed.<DD><CODE>value</CODE> - New value for the given key.</DL>
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><B>setStyle</B>(<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>
<DD>Adds or removes the given key, value pair to the style and returns the
new style. If value is null or zero length then the key is removed from
the style.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>style</CODE> - String of the form <code>stylename[;key=value]</code>.<DD><CODE>key</CODE> - Key of the style to be changed.<DD><CODE>value</CODE> - New value for the given key.
<DT><B>Returns:</B><DD>Returns the new style.</DL>
public static void <B>setCellStyleFlags</B>(<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>
<DD>Sets or toggles the flag bit for the given key in the cell's styles. If
value is null then the flag is toggled.
<code>
mxUtils.setCellStyleFlags(graph.getModel(),
cells,
mxConstants.STYLE_FONTSTYLE,
mxConstants.FONT_BOLD, null);
</code>
Toggles the bold font style.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the cells.<DD><CODE>cells</CODE> - Array of cells to change the style for.<DD><CODE>key</CODE> - Key of the style to be changed.<DD><CODE>flag</CODE> - Integer for the bit to be changed.<DD><CODE>value</CODE> - Optional boolean value for the flag.</DL>
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><B>setStyleFlag</B>(<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>
<DD>Sets or removes the given key from the specified style and returns the
new style. If value is null then the flag is toggled.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>style</CODE> - String of the form stylename[;key=value].<DD><CODE>key</CODE> - Key of the style to be changed.<DD><CODE>flag</CODE> - Integer for the bit to be changed.<DD><CODE>value</CODE> - Optional boolean value for the given flag.</DL>
public static boolean <B>intersectsHotspot</B>(<AHREF="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
public static boolean <B>intersectsHotspot</B>(<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>
<DL>
<DD>Returns true if the given coordinate pair intersects the hotspot of the
public static boolean <B>isTrue</B>(<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>
<DL>
<DD>Returns true if the dictionary contains true for the given key or false
if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.
<DT><B>Returns:</B><DD>Returns the boolean value for key in dict.</DL>
public static boolean <B>isTrue</B>(<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>
<DL>
<DD>Returns true if the dictionary contains true for the given key or the
given default value if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>Returns the boolean value for key in dict.</DL>
public static int <B>getInt</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as an int or 0 if no value is
defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.
<DT><B>Returns:</B><DD>Returns the integer value for key in dict.</DL>
public static int <B>getInt</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as an int or the given default
value if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>Returns the integer value for key in dict.</DL>
public static float <B>getFloat</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a float or 0 if no value is
defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.
<DT><B>Returns:</B><DD>Returns the float value for key in dict.</DL>
public static float <B>getFloat</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a float or the given default
value if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>Returns the float value for key in dict.</DL>
public static float[] <B>getFloatArray</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a float array or the given default
value if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>Returns the float array value for key in dict.</DL>
public static float[] <B>getFloatArray</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a float array or the given default
value if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>Returns the float array value for key in dict.</DL>
public static double <B>getDouble</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a double or 0 if no value is
defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.
<DT><B>Returns:</B><DD>Returns the double value for key in dict.</DL>
public static double <B>getDouble</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a double or the given default
value if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>Returns the double value for key in dict.</DL>
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><B>getString</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a string or null if no value
is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.
<DT><B>Returns:</B><DD>Returns the string value for key in dict.</DL>
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><B>getString</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a string or the given default
value if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>Returns the string value for key in dict.</DL>
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><B>getColor</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a color or null if no value is
defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.
<DT><B>Returns:</B><DD>Returns the color value for key in dict.</DL>
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><B>getColor</B>(<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>
<DL>
<DD>Returns the value for key in dictionary as a color or the given default
value if no value is defined for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dict</CODE> - Dictionary that contains the key, value pairs.<DD><CODE>key</CODE> - Key whose value should be returned.<DD><CODE>defaultValue</CODE> - Default value to return if the key is undefined.
<DT><B>Returns:</B><DD>Returns the color value for key in dict.</DL>
</DD>
</DL>
<HR>
<ANAME="getFont(java.util.Map)"><!----></A><H3>
getFont</H3>
<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><B>getFont</B>(<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>
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><B>getFont</B>(<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,
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><B>hexString</B>(<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>
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><B>parseColor</B>(<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>
<DL>
<DD>Convert a string representing a 24/32bit hex color value into a Color
object. The following color names are also supported: white, black, red,
green, blue, orange, yellow, pink, turquoise, gray and none (null).
Examples of possible hex color values are: #C3D9FF, #6482B9 and #774400,
but note that you do not include the "#" in the string passed in
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>colorString</CODE> - the 24/32bit hex string value (ARGB)
<DT><B>Returns:</B><DD>java.awt.Color (24bit RGB on JDK 1.1, 24/32bit ARGB on JDK1.2)
<DT><B>Throws:</B>
<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
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><B>getHexColorString</B>(<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>
<DL>
<DD>Returns a hex representation for the given color.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color</CODE> - Color to return the hex string for.
<DT><B>Returns:</B><DD>Returns a hex string for the given color.</DL>
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><B>readFile</B>(<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>
<DL>
<DD>Reads the given filename into a string.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - Name of the file to be read.
<DT><B>Returns:</B><DD>Returns a string representing the file contents.
<DT><B>Throws:</B>
<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></DL>
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><B>readInputStream</B>(<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>
<DL>
<DD>Reads the given filename into a string.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - Name of the file to be read.
<DT><B>Returns:</B><DD>Returns a string representing the file contents.
<DT><B>Throws:</B>
<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></DL>
public static void <B>writeFile</B>(<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>
<DL>
<DD>Writes the given string into the given file.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>contents</CODE> - String representing the file contents.<DD><CODE>filename</CODE> - Name of the file to be written.
<DT><B>Throws:</B>
<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></DL>
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><B>getMd5Hash</B>(<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>
<DL>
<DD>Returns the Md5 hash for the given text.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - String whose Md5 hash should be returned.
<DT><B>Returns:</B><DD>Returns the Md5 hash for the given text.</DL>
public static boolean <B>isNode</B>(<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>
<DL>
<DD>Returns true if the user object is an XML node with the specified type
and and the optional attribute has the specified value or is not
specified.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Object that should be examined as a node.<DD><CODE>nodeName</CODE> - String that specifies the node name.
<DT><B>Returns:</B><DD>Returns true if the node name of the user object is equal to the
public static boolean <B>isNode</B>(<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>
<DL>
<DD>Returns true if the given value is an XML node with the node name and if
the optional attribute has the specified value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Object that should be examined as a node.<DD><CODE>nodeName</CODE> - String that specifies the node name.<DD><CODE>attributeName</CODE> - Optional attribute name to check.<DD><CODE>attributeValue</CODE> - Optional attribute value to check.
<DT><B>Returns:</B><DD>Returns true if the value matches the given conditions.</DL>
public static void <B>setAntiAlias</B>(<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,
public static void <B>clearRect</B>(<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>
<DL>
<DD>Clears the given area of the specified graphics object with the given
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><B>createBufferedImage</B>(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)
throws <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/OutOfMemoryError.html?is-external=true"title="class or interface in java.lang">OutOfMemoryError</A></PRE>
<DL>
<DD>Creates a buffered image for the given parameters. If there is not enough
memory to create the image then a OutOfMemoryError is thrown.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/OutOfMemoryError.html?is-external=true"title="class or interface in java.lang">OutOfMemoryError</A></CODE></DL>
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><B>loadImage</B>(<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>
<DL>
<DD>Loads an image from the local filesystem, a data URI or any other URL.
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><B>createTable</B>(<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>
<DL>
<DD>Creates a table for the given text using the given document to create the
DOM nodes. Returns the outermost table node.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="createDocument()"><!----></A><H3>
createDocument</H3>
<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><B>createDocument</B>()</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><B>createSvgDocument</B>(int width,
<DD>Creates a new SVG document for the given width and height.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="createVmlDocument()"><!----></A><H3>
createVmlDocument</H3>
<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><B>createVmlDocument</B>()</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><B>createHtmlDocument</B>()</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><B>createHtmlDocument</B>(<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>
<DL>
<DD>Returns a new, empty DOM document.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Returns a new DOM document.</DL>
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><B>createHtmlDocument</B>(<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>
<DL>
<DD>Returns a new, empty DOM document.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Returns a new DOM document.</DL>
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><B>createHtmlDocument</B>(<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>
<DL>
<DD>Returns a new, empty DOM document.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Returns a new DOM document.</DL>
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><B>createHtmlDocument</B>(<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>
<DL>
<DD>Returns a new, empty DOM document. The head argument can be used to
provide an optional HEAD section without the HEAD tags as follows:
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><B>createHtmlDocumentObject</B>(<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>
<DL>
<DD>Returns a new, empty DOM document.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Returns a new DOM document.</DL>
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><B>loadDocument</B>(<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>
<DL>
<DD>Returns a new DOM document for the given URI.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - URI to parse into the document.
<DT><B>Returns:</B><DD>Returns a new DOM document for the given URI.</DL>
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><B>parseXml</B>(<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>
<DD>Returns a new document for the given XML string.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>xml</CODE> - String that represents the XML data.
<DT><B>Returns:</B><DD>Returns a new XML document.</DL>
</DD>
</DL>
<HR>
<ANAME="eval(java.lang.String)"><!----></A><H3>
eval</H3>
<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><B>eval</B>(<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>
<DL>
<DD>Evaluates a Java expression as a class member using mxCodecRegistry. The
range of supported expressions is limited to static class members such as
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><B>findNode</B>(<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>
<DL>
<DD>Returns the first node where attr equals value. This implementation does
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><B>selectSingleNode</B>(<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>
<DL>
<DD>Returns a single node that matches the given XPath expression.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - Document that contains the nodes.<DD><CODE>expression</CODE> - XPath expression to be matched.
<DT><B>Returns:</B><DD>Returns a single node matching the given expression.</DL>
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><B>htmlEntities</B>(<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>
<DL>
<DD>Converts the ampersand, quote, prime, less-than and greater-than
characters to their corresponding HTML entities in the given string.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getXml(org.w3c.dom.Node)"><!----></A><H3>
getXml</H3>
<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><B>getXml</B>(<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>
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><B>getPrettyXml</B>(<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>
<DL>
<DD>Returns a pretty-printed XML string for the given node.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - Node to return the XML for.
<DT><B>Returns:</B><DD>Returns a formatted XML string.</DL>
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><B>getPrettyXml</B>(<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>
<DL>
<DD>Returns a pretty-printed XML string for the given node. Note that this
string should only be used for humans to read (eg. debug output) but not
for further processing as it does not use built-in mechanisms.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - Node to return the XML for.<DD><CODE>tab</CODE> - String to be used for indentation of inner nodes.<DD><CODE>indent</CODE> - Current indentation for the node.
<DT><B>Returns:</B><DD>Returns a formatted XML string.</DL>