站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Interface PropertyChangeListener - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

java.beans
Interface PropertyChangeListener

All Known Implementing Classes:
BeanContextSupport, JTable.AccessibleJTable, JList.AccessibleJList, DefaultTableColumnModel, BasicColorChooserUI.PropertyHandler, BasicOptionPaneUI.PropertyChangeHandler, BasicDirectoryModel, BasicTabbedPaneUI.PropertyChangeHandler, BasicSplitPaneDivider, BasicListUI.PropertyChangeHandler, BasicToolBarUI.PropertyListener, BasicSliderUI.PropertyChangeHandler, BasicInternalFrameTitlePane.PropertyChangeHandler, BasicSplitPaneUI.PropertyHandler, BasicTreeUI.PropertyChangeHandler, BasicTreeUI.SelectionModelPropertyChangeHandler, BasicScrollBarUI.PropertyChangeHandler, BasicLabelUI, BasicComboPopup.PropertyChangeHandler, BasicComboBoxUI.PropertyChangeHandler, BasicButtonListener, BasicInternalFrameUI.InternalFramePropertyChangeListener, BasicScrollPaneUI.PropertyChangeHandler, MetalFileChooserUI.FilterComboBoxModel, MetalToolBarUI.MetalRolloverListener

public interface PropertyChangeListener
extends EventListener

A "PropertyChange" event gets fired whenever a bean changes a "bound" property. You can register a PropertyChangeListener with a source bean so as to be notified of any bound property updates.


Method Summary
 void propertyChange(PropertyChangeEvent evt)
          This method gets called when a bound property is changed.
 

Method Detail

propertyChange

public void propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed.
Parameters:
evt - A PropertyChangeEvent object describing the event source and the property that has changed.

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.