uTools-Manuals/docs/java/javax/swing/border/package-summary.html

138 lines
5.6 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<h1 class="title" title="Package">Package javax.swing.border</h1>
<div class="docSummary">
<div class="block">
提供用于绘制Swing组件周围特殊边框的类和接口。
</div>
</div>
<p>See: <a href="#package.description">描述</a></p>
</div><div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" class="typeSummary" summary="Interface Summary table, listing interfaces, and an explanation">
<caption>
<span>接口摘要</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">接口</th>
<th class="colLast" scope="col">描述</th>
</tr>
</tbody>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../javax/swing/border/Border.html" title="interface in javax.swing.border">Border</a></td>
<td class="colLast">
<div class="block">
描述能够渲染围绕摆动组件边缘的边框的对象的界面。
</div> </td>
</tr>
</tbody>
</table> </li>
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" class="typeSummary" summary="Class Summary table, listing classes, and an explanation">
<caption>
<span>类摘要</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col"></th>
<th class="colLast" scope="col">描述</th>
</tr>
</tbody>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../javax/swing/border/AbstractBorder.html" title="class in javax.swing.border">AbstractBorder</a></td>
<td class="colLast">
<div class="block">
实现无大小空白边框的类。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../javax/swing/border/BevelBorder.html" title="class in javax.swing.border">BevelBorder</a></td>
<td class="colLast">
<div class="block">
一个实现一个简单的两行斜角边框的类。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../javax/swing/border/CompoundBorder.html" title="class in javax.swing.border">CompoundBorder</a></td>
<td class="colLast">
<div class="block">
一个复合的Border类用于通过在Border对象的外部嵌套内嵌一个Border对象来将两个Border对象组合成一个单一的边框。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../javax/swing/border/EmptyBorder.html" title="class in javax.swing.border">EmptyBorder</a></td>
<td class="colLast">
<div class="block">
一个提供一个空的透明边框的类,占用空间但不绘图。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../javax/swing/border/EtchedBorder.html" title="class in javax.swing.border">EtchedBorder</a></td>
<td class="colLast">
<div class="block">
一个实现一个简单蚀刻边界的课程,可以被蚀刻或蚀刻出来。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../javax/swing/border/LineBorder.html" title="class in javax.swing.border">LineBorder</a></td>
<td class="colLast">
<div class="block">
实现任意厚度和单一颜色的线边框的类。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../javax/swing/border/MatteBorder.html" title="class in javax.swing.border">MatteBorder</a></td>
<td class="colLast">
<div class="block">
一个提供纯色或平铺图标的无光泽边框的课程。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../javax/swing/border/SoftBevelBorder.html" title="class in javax.swing.border">SoftBevelBorder</a></td>
<td class="colLast">
<div class="block">
实现具有软化拐角的凸起或降低的斜面的课程。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../javax/swing/border/StrokeBorder.html" title="class in javax.swing.border">StrokeBorder</a></td>
<td class="colLast">
<div class="block">
实现任意笔画边框的课程。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../javax/swing/border/TitledBorder.html" title="class in javax.swing.border">TitledBorder</a></td>
<td class="colLast">
<div class="block">
一个实现一个任意边框的类在一个指定的位置添加一个String标题和对齐。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<a name="package.description">
<!-- --> </a>
<h2 title="Package javax.swing.border Description">Package javax.swing.border Description</h2>
<div class="block">
Provides classes and interface for drawing specialized borders around a Swing component. You can subclass these classes to create customized borders for your components instead of using the default borders provided by the look-and-feel being used.
<p> <strong>Note:</strong> Most of the Swing API is <em>not</em> thread safe. For details, see <a href="http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html" target="_top">Threads and Swing</a>, a section in <em><a href="http://java.sun.com/docs/books/tutorial/" target="_top">The Java Tutorial</a></em>. </p>
<h2>Related Documentation</h2> For overviews, tutorials, examples, guides, and tool documentation, please see:
<ul>
<li><a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html" target="_top">How to Use Borders</a>, a section in <em>The Java Tutorial</em> </li>
</ul>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.2
</dd>
</dl>
</div>