maxGraph/java/docs/com/mxgraph/shape/class-use/mxITextShape.html

276 lines
11 KiB
HTML
Raw Normal View History

2019-07-02 06:45:58 +00:00
<!DOCTYPE HTML>
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2020-06-19 12:31:34 +00:00
<!-- Generated by javadoc (11.0.7) on Fri Jun 19 12:30:15 UTC 2020 -->
<title>Uses of Interface com.mxgraph.shape.mxITextShape (mxGraph 4.2.0 API Specification)</title>
2018-11-06 11:46:01 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2020-06-19 12:31:34 +00:00
<meta name="dc.created" content="2020-06-19">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
2018-11-06 11:46:01 +00:00
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
2016-06-02 09:57:18 +00:00
<script type="text/javascript" src="../../../../script.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
2019-07-02 06:45:58 +00:00
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
2014-04-01 11:30:48 +00:00
</head>
<body>
<script type="text/javascript"><!--
2016-06-02 09:57:18 +00:00
try {
if (location.href.indexOf('is-external=true') == -1) {
2020-06-19 12:31:34 +00:00
parent.document.title="Uses of Interface com.mxgraph.shape.mxITextShape (mxGraph 4.2.0 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
2019-07-02 06:45:58 +00:00
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
2014-04-01 11:30:48 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2019-07-02 06:45:58 +00:00
<header role="banner">
<nav role="navigation">
2018-11-06 11:46:01 +00:00
<div class="fixedNav">
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
<div class="topNav"><a id="navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
2019-07-02 06:45:58 +00:00
<a id="navbar.top.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="../package-summary.html">Package</a></li>
2019-07-02 06:45:58 +00:00
<li><a href="../mxITextShape.html" title="interface in com.mxgraph.shape">Class</a></li>
2014-04-01 11:30:48 +00:00
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
2020-06-19 12:31:34 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.2.0</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
2019-07-02 06:45:58 +00:00
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
2018-11-06 11:46:01 +00:00
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
2014-04-01 11:30:48 +00:00
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
2019-07-02 06:45:58 +00:00
<a id="skip.navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
2019-07-02 06:45:58 +00:00
</nav>
</header>
<main role="main">
2014-04-01 11:30:48 +00:00
<div class="header">
<h2 title="Uses of Interface com.mxgraph.shape.mxITextShape" class="title">Uses of Interface<br>com.mxgraph.shape.mxITextShape</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
2019-07-02 06:45:58 +00:00
<table class="useSummary">
<caption><span>Packages that use <a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a></span><span class="tabEnd">&nbsp;</span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
2018-11-06 11:46:01 +00:00
<th class="colFirst" scope="row"><a href="#com.mxgraph.canvas">com.mxgraph.canvas</a></th>
2014-04-01 11:30:48 +00:00
<td class="colLast">
<div class="block">This package contains various implementations for painting a graph using
different technologies, such as Graphics2D, HTML, SVG or VML.</div>
</td>
</tr>
<tr class="rowColor">
2018-11-06 11:46:01 +00:00
<th class="colFirst" scope="row"><a href="#com.mxgraph.shape">com.mxgraph.shape</a></th>
2014-04-01 11:30:48 +00:00
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList">
<section role="region"><a id="com.mxgraph.canvas">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Uses of <a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a> in <a href="../../canvas/package-summary.html">com.mxgraph.canvas</a></h3>
<table class="useSummary">
<caption><span>Fields in <a href="../../canvas/package-summary.html">com.mxgraph.canvas</a> with type parameters of type <a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a></span><span class="tabEnd">&nbsp;</span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tbody>
<tr class="altColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code>protected static java.util.Map&lt;java.lang.String,&#8203;<a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraphics2DCanvas.</span><code><span class="memberNameLink"><a href="../../canvas/mxGraphics2DCanvas.html#textShapes">textShapes</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Maps from names to mxITextShape instances.</div>
</td>
</tr>
</tbody>
</table>
2019-07-02 06:45:58 +00:00
<table class="useSummary">
<caption><span>Methods in <a href="../../canvas/package-summary.html">com.mxgraph.canvas</a> that return <a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a></span><span class="tabEnd">&nbsp;</span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tbody>
<tr class="altColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code><a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraphics2DCanvas.</span><code><span class="memberNameLink"><a href="../../canvas/mxGraphics2DCanvas.html#getTextShape(java.util.Map,boolean)">getTextShape</a></span>&#8203;(java.util.Map&lt;java.lang.String,&#8203;java.lang.Object&gt;&nbsp;style,
2018-11-06 11:46:01 +00:00
boolean&nbsp;html)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
</tbody>
</table>
2019-07-02 06:45:58 +00:00
<table class="useSummary">
<caption><span>Methods in <a href="../../canvas/package-summary.html">com.mxgraph.canvas</a> with parameters of type <a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a></span><span class="tabEnd">&nbsp;</span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraphics2DCanvas.</span><code><span class="memberNameLink"><a href="../../canvas/mxGraphics2DCanvas.html#putTextShape(java.lang.String,com.mxgraph.shape.mxITextShape)">putTextShape</a></span>&#8203;(java.lang.String&nbsp;name,
<a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a>&nbsp;shape)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
</tbody>
</table>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
2019-07-02 06:45:58 +00:00
<li class="blockList">
<section role="region"><a id="com.mxgraph.shape">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Uses of <a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a> in <a href="../package-summary.html">com.mxgraph.shape</a></h3>
<table class="useSummary">
<caption><span>Classes in <a href="../package-summary.html">com.mxgraph.shape</a> that implement <a href="../mxITextShape.html" title="interface in com.mxgraph.shape">mxITextShape</a></span><span class="tabEnd">&nbsp;</span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../mxCurveLabelShape.html" title="class in com.mxgraph.shape">mxCurveLabelShape</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Draws the edge label along a curve derived from the curve describing
the edge's path</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../mxDefaultTextShape.html" title="class in com.mxgraph.shape">mxDefaultTextShape</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../mxHtmlTextShape.html" title="class in com.mxgraph.shape">mxHtmlTextShape</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">To set global CSS for all HTML labels, use the following code:</div>
</td>
</tr>
</tbody>
</table>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</li>
</ul>
</div>
2019-07-02 06:45:58 +00:00
</main>
<footer role="contentinfo">
<nav role="navigation">
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2019-07-02 06:45:58 +00:00
<div class="bottomNav"><a id="navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
2019-07-02 06:45:58 +00:00
<a id="navbar.bottom.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="../package-summary.html">Package</a></li>
2019-07-02 06:45:58 +00:00
<li><a href="../mxITextShape.html" title="interface in com.mxgraph.shape">Class</a></li>
2014-04-01 11:30:48 +00:00
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
2020-06-19 12:31:34 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.2.0</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
2019-07-02 06:45:58 +00:00
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
2019-07-02 06:45:58 +00:00
<a id="skip.navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
</nav>
2017-06-27 11:43:19 +00:00
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
2019-07-02 06:45:58 +00:00
</footer>
2014-04-01 11:30:48 +00:00
</body>
</html>