<h2title="Uses of Interface com.mxgraph.canvas.mxICanvas"class="title">Uses of Interface<br>com.mxgraph.canvas.mxICanvas</h2>
</div>
<divclass="classUseContainer">
<ulclass="blockList">
<liclass="blockList">
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></span><spanclass="tabEnd"> </span></caption>
<divclass="block">This package implements the graph component, represented by the mxGraph
class.</div>
</td>
</tr>
</tbody>
</table>
</li>
<liclass="blockList">
<ulclass="blockList">
<liclass="blockList"><aname="com.mxgraph.canvas">
<!---->
</a>
<h3>Uses of <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> in <ahref="../../../../com/mxgraph/canvas/package-summary.html">com.mxgraph.canvas</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <ahref="../../../../com/mxgraph/canvas/package-summary.html">com.mxgraph.canvas</a> that implement <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Class and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/canvas/mxBasicCanvas.html"title="class in com.mxgraph.canvas">mxBasicCanvas</a></strong></code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</a></strong></code>
<divclass="block">An implementation of a canvas that uses Graphics2D for painting.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/canvas/mxHtmlCanvas.html"title="class in com.mxgraph.canvas">mxHtmlCanvas</a></strong></code>
<divclass="block">An implementation of a canvas that uses HTML for painting.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/canvas/mxImageCanvas.html"title="class in com.mxgraph.canvas">mxImageCanvas</a></strong></code>
<divclass="block">An implementation of a canvas that uses Graphics2D for painting.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/canvas/mxSvgCanvas.html"title="class in com.mxgraph.canvas">mxSvgCanvas</a></strong></code>
<divclass="block">An implementation of a canvas that uses SVG for painting.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/canvas/mxVmlCanvas.html"title="class in com.mxgraph.canvas">mxVmlCanvas</a></strong></code>
<divclass="block">An implementation of a canvas that uses VML for painting.</div>
</td>
</tr>
</tbody>
</table>
</li>
<liclass="blockList"><aname="com.mxgraph.reader">
<!---->
</a>
<h3>Uses of <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> in <ahref="../../../../com/mxgraph/reader/package-summary.html">com.mxgraph.reader</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <ahref="../../../../com/mxgraph/reader/package-summary.html">com.mxgraph.reader</a> declared as <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></td>
<divclass="block">Holds the canvas to be used for rendering the graph.</div>
</td>
</tr>
</tbody>
</table>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../com/mxgraph/reader/package-summary.html">com.mxgraph.reader</a> that return <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></td>
<tdclass="colLast"><spanclass="strong">mxGraphViewImageReader.</span><code><strong><ahref="../../../../com/mxgraph/reader/mxGraphViewImageReader.html#createCanvas(java.util.Map)">createCanvas</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> attrs)</code> </td>
<tdclass="colFirst"><code>abstract <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></td>
<tdclass="colLast"><spanclass="strong">mxGraphViewReader.</span><code><strong><ahref="../../../../com/mxgraph/reader/mxGraphViewReader.html#createCanvas(java.util.Map)">createCanvas</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> attrs)</code>
<divclass="block">Returns the canvas that is used for rendering the graph.</div>
</td>
</tr>
</tbody>
</table>
</li>
<liclass="blockList"><aname="com.mxgraph.swing">
<!---->
</a>
<h3>Uses of <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> in <ahref="../../../../com/mxgraph/swing/package-summary.html">com.mxgraph.swing</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../com/mxgraph/swing/package-summary.html">com.mxgraph.swing</a> with parameters of type <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
<tdclass="colLast"><spanclass="strong">mxGraphComponent.mxGraphControl.</span><code><strong><ahref="../../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html#cellDrawn(com.mxgraph.canvas.mxICanvas, com.mxgraph.view.mxCellState)">cellDrawn</a></strong>(<ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">mxGraphComponent.mxGraphControl.</span><code><strong><ahref="../../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html#drawCell(com.mxgraph.canvas.mxICanvas, java.lang.Object)">drawCell</a></strong>(<ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
<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> cell)</code>
<h3>Uses of <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> in <ahref="../../../../com/mxgraph/swing/view/package-summary.html">com.mxgraph.swing.view</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <ahref="../../../../com/mxgraph/swing/view/package-summary.html">com.mxgraph.swing.view</a> that implement <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Class and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/view/mxInteractiveCanvas.html"title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a></strong></code> </td>
</tr>
</tbody>
</table>
</li>
<liclass="blockList"><aname="com.mxgraph.util">
<!---->
</a>
<h3>Uses of <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> in <ahref="../../../../com/mxgraph/util/package-summary.html">com.mxgraph.util</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../com/mxgraph/util/package-summary.html">com.mxgraph.util</a> that return <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>abstract <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></td>
<divclass="block">Separates the creation of the canvas from its initialization, when the
size of the required graphics buffer / document / container is known.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></code></td>
<tdclass="colLast"><spanclass="strong">mxCellRenderer.</span><code><strong><ahref="../../../../com/mxgraph/util/mxCellRenderer.html#drawCells(com.mxgraph.view.mxGraph, java.lang.Object[], double, com.mxgraph.util.mxRectangle, com.mxgraph.util.mxCellRenderer.CanvasFactory)">drawCells</a></strong>(<ahref="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph,
<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="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> clip,
<ahref="../../../../com/mxgraph/util/mxCellRenderer.CanvasFactory.html"title="class in com.mxgraph.util">mxCellRenderer.CanvasFactory</a> factory)</code>
<divclass="block">Draws the given cells using a Graphics2D canvas and returns the buffered image
that represents the cells.</div>
</td>
</tr>
</tbody>
</table>
</li>
<liclass="blockList"><aname="com.mxgraph.view">
<!---->
</a>
<h3>Uses of <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> in <ahref="../../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a> with parameters of type <ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
<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> element,
<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> labelElement)</code>
<divclass="block">Called when a cell has been painted as the specified object, typically a
DOM node that represents the given cell graphically in a document.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">mxGraph.</span><code><strong><ahref="../../../../com/mxgraph/view/mxGraph.html#drawCell(com.mxgraph.canvas.mxICanvas, java.lang.Object)">drawCell</a></strong>(<ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
<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> cell)</code>
<divclass="block">Draws the given cell and its descendants onto the specified canvas.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">mxGraph.</span><code><strong><ahref="../../../../com/mxgraph/view/mxGraph.html#drawGraph(com.mxgraph.canvas.mxICanvas)">drawGraph</a></strong>(<ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> canvas)</code>
<divclass="block">Draws the graph onto the given canvas.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><spanclass="strong">mxGraph.</span><code><strong><ahref="../../../../com/mxgraph/view/mxGraph.html#drawState(com.mxgraph.canvas.mxICanvas, com.mxgraph.view.mxCellState, boolean)">drawState</a></strong>(<ahref="../../../../com/mxgraph/canvas/mxICanvas.html"title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
boolean drawLabel)</code>
<divclass="block">Draws the cell state with the given label onto the canvas.</div>