uTools-Manuals/docs/java/javax/swing/plaf/basic/BasicComboBoxUI.PropertyChangeHandler.html

156 lines
7.2 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.plaf.basic
</div>
<h2 class="title" title="Class BasicComboBoxUI.PropertyChangeHandler">Class BasicComboBoxUI.PropertyChangeHandler</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.plaf.basic.BasicComboBoxUI.PropertyChangeHandler</li>
</ul> </li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Implemented Interfaces:
</dt>
<dd>
<span><a href="../../../../java/beans/PropertyChangeListener.html" title="java.beans中的接口">PropertyChangeListener</a> <a href="../../../../java/util/EventListener.html" title="java.util中的接口">EventListener</a></span>
</dd>
</dl>
<dl>
<dt>
已知直接子类:
</dt>
<dd>
<span><a href="../../../../javax/swing/plaf/metal/MetalComboBoxUI.MetalPropertyChangeListener.html" title="javax.swing.plaf.metal中的类">MetalComboBoxUI.MetalPropertyChangeListener</a></span>
</dd>
</dl>
<dl>
<dt>
Enclosing class:
</dt>
<dd>
<span><a href="../../../../javax/swing/plaf/basic/BasicComboBoxUI.html" title="javax.swing.plaf.basic中的类">BasicComboBoxUI</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public class <span class="typeNameLabel">BasicComboBoxUI.PropertyChangeHandler</span>
extends <a href="../../../../java/lang/Object.html" title="class in java.lang">Object</a>
implements <a href="../../../../java/beans/PropertyChangeListener.html" title="interface in java.beans">PropertyChangeListener</a></pre>
<div class="block">
<span>该监听器监视组合框中已更改的绑定属性。</span>
<p> <span>希望收听组合框属性更改的子类应调用超类方法以确保组合框ui正确处理属性更改。</span> </p>
<p> <span>这个公共内部类应该被视为受保护的。</span> <span>仅在BasicComboBoxUI的<code>BasicComboBoxUI</code>类中<code>BasicComboBoxUI</code></span> </p>
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../../javax/swing/plaf/basic/BasicComboBoxUI.html#createPropertyChangeListener--"><code>BasicComboBoxUI.createPropertyChangeListener()</code></a>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/plaf/basic/BasicComboBoxUI.PropertyChangeHandler.html#PropertyChangeHandler--">PropertyChangeHandler</a></span>()</code> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ========== 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="t4"><span><a href="javascript:show(8);">具体的方法</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/plaf/basic/BasicComboBoxUI.PropertyChangeHandler.html#propertyChange-java.beans.PropertyChangeEvent-">propertyChange</a></span>(<a href="../../../../java/beans/PropertyChangeEvent.html" title="class in java.beans">PropertyChangeEvent</a> e)</code>
<div class="block">
当绑定属性更改时,此方法将被调用。
</div> </td>
</tr>
</tbody>
</table>
<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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- --> </a> <h3>构造方法详细信息</h3> <a name="PropertyChangeHandler--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>PropertyChangeHandler</h4> <pre>public PropertyChangeHandler()</pre> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="propertyChange-java.beans.PropertyChangeEvent-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>propertyChange</h4> <pre>public void propertyChange(<a href="../../../../java/beans/PropertyChangeEvent.html" title="class in java.beans">PropertyChangeEvent</a> e)</pre>
<div class="block">
<span class="descfrmTypeLabel">说明从界面复制: <code><a href="../../../../java/beans/PropertyChangeListener.html#propertyChange-java.beans.PropertyChangeEvent-">PropertyChangeListener</a></code></span>
</div>
<div class="block">
当绑定属性更改时,此方法将被调用。
</div>
<dl>
<dt>
<span class="overrideSpecifyLabel">Specified by:</span>
</dt>
<dd>
<code><a href="../../../../java/beans/PropertyChangeListener.html#propertyChange-java.beans.PropertyChangeEvent-">propertyChange</a></code>在界面
<code><a href="../../../../java/beans/PropertyChangeListener.html" title="interface in java.beans">PropertyChangeListener</a></code>
</dd>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>e</code> - 描述事件源和已更改属性的PropertyChangeEvent对象。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>