uTools-Manuals/docs/java/javax/swing/text/JTextComponent.KeyBinding.html

148 lines
6.5 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">
<div class="subTitle">
javax.swing.text
</div>
<h2 class="title" title="Class JTextComponent.KeyBinding">Class JTextComponent.KeyBinding</h2>
</div><div class="contentContainer">
<ul class="inheritance">
<li><a href="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>javax.swing.text.JTextComponent.KeyBinding</li>
</ul> </li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
Enclosing class:
</dt>
<dd>
<span><a href="../../../javax/swing/text/JTextComponent.html" title="javax.swing.text中的类">JTextComponent</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public static class <span class="typeNameLabel">JTextComponent.KeyBinding</span>
extends <a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></pre>
<div class="block">
<span>用于创建密钥绑定的绑定记录。</span>
<p> <span><strong>警告:</strong>此类的序列化对象与将来的Swing版本不兼容。</span> <span>当前的序列化支持适用于运行相同版本的Swing的应用程序之间的短期存储或RMI。</span> <span>从1.4开始对所有JavaBeans的长期存储的支持已经添加到<code>java.beans</code>包中。</span> <span>请参阅<a href="../../../java/beans/XMLEncoder.html" title="java.beans中的类"><code>XMLEncoder</code></a></span> </p>
</div> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- --> </a> <h3>Field Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
<caption>
<span>Fields</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/swing/text/JTextComponent.KeyBinding.html#actionName">actionName</a></span></code>
<div class="block">
键的动作名称。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/swing/KeyStroke.html" title="class in javax.swing">KeyStroke</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/swing/text/JTextComponent.KeyBinding.html#key">key</a></span></code>
<div class="block">
钥匙。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- --> </a> <h3>构造方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
<caption>
<span>构造方法</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javax/swing/text/JTextComponent.KeyBinding.html#KeyBinding-javax.swing.KeyStroke-java.lang.String-">KeyBinding</a></span>(<a href="../../../javax/swing/KeyStroke.html" title="class in javax.swing">KeyStroke</a> key, <a href="../../../java/lang/String.html" title="class in java.lang">String</a> actionName)</code>
<div class="block">
创建一个新的键绑定。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- --> </a> <h3>Methods inherited from class java.lang.<a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></h3> <code><a href="../../../java/lang/Object.html#clone--">clone</a>, <a href="../../../java/lang/Object.html#equals-java.lang.Object-">equals</a>, <a href="../../../java/lang/Object.html#finalize--">finalize</a>, <a href="../../../java/lang/Object.html#getClass--">getClass</a>, <a href="../../../java/lang/Object.html#hashCode--">hashCode</a>, <a href="../../../java/lang/Object.html#notify--">notify</a>, <a href="../../../java/lang/Object.html#notifyAll--">notifyAll</a>, <a href="../../../java/lang/Object.html#toString--">toString</a>, <a href="../../../java/lang/Object.html#wait--">wait</a>, <a href="../../../java/lang/Object.html#wait-long-">wait</a>, <a href="../../../java/lang/Object.html#wait-long-int-">wait</a></code></li>
</ul> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- --> </a> <h3>字段详细信息</h3> <a name="key">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>key</h4> <pre>public <a href="../../../javax/swing/KeyStroke.html" title="class in javax.swing">KeyStroke</a> key</pre>
<div class="block">
钥匙。
</div> </li>
</ul> <a name="actionName">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>actionName</h4> <pre>public <a href="../../../java/lang/String.html" title="class in java.lang">String</a> actionName</pre>
<div class="block">
键的动作名称。
</div> </li>
</ul> </li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- --> </a> <h3>构造方法详细信息</h3> <a name="KeyBinding-javax.swing.KeyStroke-java.lang.String-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>KeyBinding</h4> <pre>public KeyBinding(<a href="../../../javax/swing/KeyStroke.html" title="class in javax.swing">KeyStroke</a> key,
<a href="../../../java/lang/String.html" title="class in java.lang">String</a> actionName)</pre>
<div class="block">
创建一个新的键绑定。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>key</code> - 关键
</dd>
<dd>
<code>actionName</code> - 键的动作名称
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>