uTools-Manuals/docs/java/javax/swing/ComboBoxEditor.html

143 lines
6.7 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
</div>
<h2 class="title" title="Interface ComboBoxEditor">Interface ComboBoxEditor</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
所有已知实现类:
</dt>
<dd>
<span><a href="../../javax/swing/plaf/basic/BasicComboBoxEditor.html" title="javax.swing.plaf.basic中的类">BasicComboBoxEditor</a> <a href="../../javax/swing/plaf/basic/BasicComboBoxEditor.UIResource.html" title="javax.swing.plaf.basic中的类">BasicComboBoxEditor.UIResource</a> <a href="../../javax/swing/plaf/metal/MetalComboBoxEditor.html" title="javax.swing.plaf.metal中的类">MetalComboBoxEditor</a> <a href="../../javax/swing/plaf/metal/MetalComboBoxEditor.UIResource.html" title="javax.swing.plaf.metal中的类">MetalComboBoxEditor.UIResource</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">ComboBoxEditor</span></pre>
<div class="block">
用于JComboBox组件的编辑器组件。
</div> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/swing/ComboBoxEditor.html#addActionListener-java.awt.event.ActionListener-">addActionListener</a></span>(<a href="../../java/awt/event/ActionListener.html" title="interface in java.awt.event">ActionListener</a> l)</code>
<div class="block">
添加一个ActionListener。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../java/awt/Component.html" title="class in java.awt">Component</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/swing/ComboBoxEditor.html#getEditorComponent--">getEditorComponent</a></span>()</code>
<div class="block">
返回应该添加到此编辑器的树层次结构中的组件
</div> </td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="../../java/lang/Object.html" title="class in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/swing/ComboBoxEditor.html#getItem--">getItem</a></span>()</code>
<div class="block">
返回已编辑的项目
</div> </td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/swing/ComboBoxEditor.html#removeActionListener-java.awt.event.ActionListener-">removeActionListener</a></span>(<a href="../../java/awt/event/ActionListener.html" title="interface in java.awt.event">ActionListener</a> l)</code>
<div class="block">
删除一个ActionListener
</div> </td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/swing/ComboBoxEditor.html#selectAll--">selectAll</a></span>()</code>
<div class="block">
请编辑开始编辑并选择所有内容
</div> </td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/swing/ComboBoxEditor.html#setItem-java.lang.Object-">setItem</a></span>(<a href="../../java/lang/Object.html" title="class in java.lang">Object</a> anObject)</code>
<div class="block">
设置应编辑的项目。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getEditorComponent--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getEditorComponent</h4> <pre><a href="../../java/awt/Component.html" title="class in java.awt">Component</a> getEditorComponent()</pre>
<div class="block">
返回应该添加到此编辑器的树层次结构中的组件
</div> </li>
</ul> <a name="setItem-java.lang.Object-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>setItem</h4> <pre>void setItem(<a href="../../java/lang/Object.html" title="class in java.lang">Object</a> anObject)</pre>
<div class="block">
<span>设置应编辑的项目。</span>
<span>如果需要,取消任何编辑</span>
</div> </li>
</ul> <a name="getItem--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getItem</h4> <pre><a href="../../java/lang/Object.html" title="class in java.lang">Object</a> getItem()</pre>
<div class="block">
返回已编辑的项目
</div> </li>
</ul> <a name="selectAll--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>selectAll</h4> <pre>void selectAll()</pre>
<div class="block">
请编辑开始编辑并选择所有内容
</div> </li>
</ul> <a name="addActionListener-java.awt.event.ActionListener-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>addActionListener</h4> <pre>void addActionListener(<a href="../../java/awt/event/ActionListener.html" title="interface in java.awt.event">ActionListener</a> l)</pre>
<div class="block">
<span>添加一个ActionListener。</span>
<span>当编辑的项目更改时,会生成动作事件</span>
</div> </li>
</ul> <a name="removeActionListener-java.awt.event.ActionListener-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>removeActionListener</h4> <pre>void removeActionListener(<a href="../../java/awt/event/ActionListener.html" title="interface in java.awt.event">ActionListener</a> l)</pre>
<div class="block">
删除一个ActionListener
</div> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>