<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.shape.mxStencil</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxStencil</span>
extends <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>
implements <ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a></pre>
<divclass="block">Implements a stencil for the given XML definition. This class implements the mxGraph
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<divclass="block">Holds the aspect of the shape.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</a></code></td>
<divclass="block">Holds the XML node with the stencil description.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</a></code></td>
<divclass="block">Holds the top-level node of the stencil definition.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</a></code></td>
<divclass="block">Holds the last y-position of the cursor.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#mxStencil(org.w3c.dom.Element)">mxStencil</a></strong>(<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> description)</code>
<divclass="block">Constructs a new stencil for the given mxGraph shape description.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#computeAspect(com.mxgraph.view.mxCellState, com.mxgraph.util.mxRectangle, java.lang.String)">computeAspect</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> direction)</code>
<divclass="block">Returns a rectangle that contains the offset in x and y and the horizontal
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#createCanvas(com.mxgraph.canvas.mxGraphics2DCanvas)">createCanvas</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> gc)</code>
<divclass="block">Creates the canvas for rendering the stencil.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#drawElement(com.mxgraph.canvas.mxGraphicsCanvas2D, com.mxgraph.view.mxCellState, org.w3c.dom.Element, com.mxgraph.util.mxRectangle)">drawElement</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<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> node,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> aspect)</code>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#drawShadow(com.mxgraph.canvas.mxGraphicsCanvas2D, com.mxgraph.view.mxCellState, double, boolean, boolean, com.mxgraph.util.mxRectangle, double, boolean)">drawShadow</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
double rotation,
boolean flipH,
boolean flipV,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds,
double alpha,
boolean filled)</code>
<divclass="block">Draws the shadow.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#drawShape(com.mxgraph.canvas.mxGraphicsCanvas2D, com.mxgraph.view.mxCellState, com.mxgraph.util.mxRectangle, boolean)">drawShape</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds,
boolean background)</code>
<divclass="block">Draws this stencil inside the given bounds.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#evaluateAttribute(org.w3c.dom.Element, java.lang.String, com.mxgraph.view.mxCellState)">evaluateAttribute</a></strong>(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Gets the attribute for the given name from the given node.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#getDouble(org.w3c.dom.Element, java.lang.String)">getDouble</a></strong>(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute)</code>
<divclass="block">Returns the given attribute or 0.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#getDouble(org.w3c.dom.Element, java.lang.String, double)">getDouble</a></strong>(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute,
double defaultValue)</code>
<divclass="block">Returns the given attribute or the default value.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#getInt(org.w3c.dom.Element, java.lang.String, int)">getInt</a></strong>(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute,
int defaultValue)</code>
<divclass="block">Returns the given attribute or the default value.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#getString(org.w3c.dom.Element, java.lang.String, java.lang.String)">getString</a></strong>(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> defaultValue)</code>
<divclass="block">Returns the given attribute or the default value.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#paintShape(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">paintShape</a></strong>(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> gc,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Paints the stencil for the given state.</div>
<divclass="block">Parses the description of this shape.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/shape/mxStencil.html#setDescription(org.w3c.dom.Element)">setDescription</a></strong>(<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> value)</code>
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<pre>protected <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> desc</pre>
<divclass="block">Holds the top-level node of the stencil definition.</div>
</li>
</ul>
<aname="aspect">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>aspect</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> aspect</pre>
<divclass="block">Holds the aspect of the shape. Default is "auto".</div>
</li>
</ul>
<aname="w0">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>w0</h4>
<pre>protected double w0</pre>
<divclass="block">Holds the width of the shape. Default is 100.</div>
</li>
</ul>
<aname="h0">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>h0</h4>
<pre>protected double h0</pre>
<divclass="block">Holds the height of the shape. Default is 100.</div>
</li>
</ul>
<aname="bgNode">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>bgNode</h4>
<pre>protected <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> bgNode</pre>
<divclass="block">Holds the XML node with the stencil description.</div>
</li>
</ul>
<aname="fgNode">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>fgNode</h4>
<pre>protected <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> fgNode</pre>
<divclass="block">Holds the XML node with the stencil description.</div>
</li>
</ul>
<aname="strokewidth">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>strokewidth</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> strokewidth</pre>
<divclass="block">Holds the strokewidth direction from the description.</div>
</li>
</ul>
<aname="lastMoveX">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>lastMoveX</h4>
<pre>protected double lastMoveX</pre>
<divclass="block">Holds the last x-position of the cursor.</div>
</li>
</ul>
<aname="lastMoveY">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>lastMoveY</h4>
<pre>protected double lastMoveY</pre>
<divclass="block">Holds the last y-position of the cursor.</div>
<pre>public mxStencil(<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> description)</pre>
<divclass="block">Constructs a new stencil for the given mxGraph shape description.</div>
<pre>public <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> getDescription()</pre>
<divclass="block">Returns the description.</div>
</li>
</ul>
<aname="setDescription(org.w3c.dom.Element)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setDescription</h4>
<pre>public void setDescription(<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> value)</pre>
<pre>protected <ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a> createCanvas(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> gc)</pre>
<divclass="block">Creates the canvas for rendering the stencil.</div>
<pre>public void paintShape(<ahref="../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a> gc,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Paints the stencil for the given state.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/shape/mxIShape.html#paintShape(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">paintShape</a></code> in interface <code><ahref="../../../com/mxgraph/shape/mxIShape.html"title="interface in com.mxgraph.shape">mxIShape</a></code></dd>
<pre>protected void drawShadow(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
double rotation,
boolean flipH,
boolean flipV,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds,
<pre>public boolean drawShape(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds,
boolean background)</pre>
<divclass="block">Draws this stencil inside the given bounds.</div>
<pre>protected <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> computeAspect(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> bounds,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> direction)</pre>
<divclass="block">Returns a rectangle that contains the offset in x and y and the horizontal
<pre>protected void drawElement(<ahref="../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html"title="class in com.mxgraph.canvas">mxGraphicsCanvas2D</a> canvas,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<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> node,
<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> aspect)</pre>
<pre>protected int getInt(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute,
int defaultValue)</pre>
<divclass="block">Returns the given attribute or the default value.</div>
<pre>protected double getDouble(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute)</pre>
<divclass="block">Returns the given attribute or 0.</div>
<pre>protected double getDouble(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute,
double defaultValue)</pre>
<divclass="block">Returns the given attribute or the default value.</div>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getString(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</a> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> defaultValue)</pre>
<divclass="block">Returns the given attribute or the default value.</div>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> evaluateAttribute(<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> elt,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> attribute,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Gets the attribute for the given name from the given node. If the attribute