java.beans
Interface PropertyChangeListener

All Superinterfaces:
EventListener sample code for java.util.EventListener definition code for java.util.EventListener
All Known Implementing Classes:
BasicButtonListener sample code for javax.swing.plaf.basic.BasicButtonListener definition code for javax.swing.plaf.basic.BasicButtonListener , BasicColorChooserUI.PropertyHandler sample code for javax.swing.plaf.basic.BasicColorChooserUI.PropertyHandler definition code for javax.swing.plaf.basic.BasicColorChooserUI.PropertyHandler , BasicComboBoxUI.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicComboBoxUI.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicComboBoxUI.PropertyChangeHandler , BasicComboPopup.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicComboPopup.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicComboPopup.PropertyChangeHandler , BasicDirectoryModel sample code for javax.swing.plaf.basic.BasicDirectoryModel definition code for javax.swing.plaf.basic.BasicDirectoryModel , BasicInternalFrameTitlePane.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicInternalFrameTitlePane.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicInternalFrameTitlePane.PropertyChangeHandler , BasicInternalFrameUI.InternalFramePropertyChangeListener sample code for javax.swing.plaf.basic.BasicInternalFrameUI.InternalFramePropertyChangeListener definition code for javax.swing.plaf.basic.BasicInternalFrameUI.InternalFramePropertyChangeListener , BasicLabelUI sample code for javax.swing.plaf.basic.BasicLabelUI definition code for javax.swing.plaf.basic.BasicLabelUI , BasicListUI.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicListUI.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicListUI.PropertyChangeHandler , BasicOptionPaneUI.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicOptionPaneUI.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicOptionPaneUI.PropertyChangeHandler , BasicRootPaneUI sample code for javax.swing.plaf.basic.BasicRootPaneUI definition code for javax.swing.plaf.basic.BasicRootPaneUI , BasicScrollBarUI.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicScrollBarUI.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicScrollBarUI.PropertyChangeHandler , BasicScrollPaneUI.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicScrollPaneUI.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicScrollPaneUI.PropertyChangeHandler , BasicSliderUI.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicSliderUI.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicSliderUI.PropertyChangeHandler , BasicSplitPaneDivider sample code for javax.swing.plaf.basic.BasicSplitPaneDivider definition code for javax.swing.plaf.basic.BasicSplitPaneDivider , BasicSplitPaneUI.PropertyHandler sample code for javax.swing.plaf.basic.BasicSplitPaneUI.PropertyHandler definition code for javax.swing.plaf.basic.BasicSplitPaneUI.PropertyHandler , BasicTabbedPaneUI.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicTabbedPaneUI.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicTabbedPaneUI.PropertyChangeHandler , BasicToolBarUI.PropertyListener sample code for javax.swing.plaf.basic.BasicToolBarUI.PropertyListener definition code for javax.swing.plaf.basic.BasicToolBarUI.PropertyListener , BasicTreeUI.PropertyChangeHandler sample code for javax.swing.plaf.basic.BasicTreeUI.PropertyChangeHandler definition code for javax.swing.plaf.basic.BasicTreeUI.PropertyChangeHandler , BasicTreeUI.SelectionModelPropertyChangeHandler sample code for javax.swing.plaf.basic.BasicTreeUI.SelectionModelPropertyChangeHandler definition code for javax.swing.plaf.basic.BasicTreeUI.SelectionModelPropertyChangeHandler , BeanContextServicesSupport sample code for java.beans.beancontext.BeanContextServicesSupport definition code for java.beans.beancontext.BeanContextServicesSupport , BeanContextSupport sample code for java.beans.beancontext.BeanContextSupport definition code for java.beans.beancontext.BeanContextSupport , DefaultTableColumnModel sample code for javax.swing.table.DefaultTableColumnModel definition code for javax.swing.table.DefaultTableColumnModel , JList.AccessibleJList sample code for javax.swing.JList.AccessibleJList definition code for javax.swing.JList.AccessibleJList , JPopupMenu.AccessibleJPopupMenu sample code for javax.swing.JPopupMenu.AccessibleJPopupMenu definition code for javax.swing.JPopupMenu.AccessibleJPopupMenu , JScrollPane.AccessibleJScrollPane sample code for javax.swing.JScrollPane.AccessibleJScrollPane definition code for javax.swing.JScrollPane.AccessibleJScrollPane , JSpinner.DateEditor sample code for javax.swing.JSpinner.DateEditor definition code for javax.swing.JSpinner.DateEditor , JSpinner.DefaultEditor sample code for javax.swing.JSpinner.DefaultEditor definition code for javax.swing.JSpinner.DefaultEditor , JSpinner.ListEditor sample code for javax.swing.JSpinner.ListEditor definition code for javax.swing.JSpinner.ListEditor , JSpinner.NumberEditor sample code for javax.swing.JSpinner.NumberEditor definition code for javax.swing.JSpinner.NumberEditor , JTable.AccessibleJTable sample code for javax.swing.JTable.AccessibleJTable definition code for javax.swing.JTable.AccessibleJTable , MetalComboBoxUI.MetalPropertyChangeListener sample code for javax.swing.plaf.metal.MetalComboBoxUI.MetalPropertyChangeListener definition code for javax.swing.plaf.metal.MetalComboBoxUI.MetalPropertyChangeListener , MetalFileChooserUI.FilterComboBoxModel sample code for javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxModel definition code for javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxModel , MetalLabelUI sample code for javax.swing.plaf.metal.MetalLabelUI definition code for javax.swing.plaf.metal.MetalLabelUI , MetalRootPaneUI sample code for javax.swing.plaf.metal.MetalRootPaneUI definition code for javax.swing.plaf.metal.MetalRootPaneUI , MetalSliderUI.MetalPropertyListener sample code for javax.swing.plaf.metal.MetalSliderUI.MetalPropertyListener definition code for javax.swing.plaf.metal.MetalSliderUI.MetalPropertyListener , MetalToolBarUI.MetalRolloverListener sample code for javax.swing.plaf.metal.MetalToolBarUI.MetalRolloverListener definition code for javax.swing.plaf.metal.MetalToolBarUI.MetalRolloverListener , ProgressMonitor.AccessibleProgressMonitor sample code for javax.swing.ProgressMonitor.AccessibleProgressMonitor definition code for javax.swing.ProgressMonitor.AccessibleProgressMonitor , PropertyChangeListenerProxy sample code for java.beans.PropertyChangeListenerProxy definition code for java.beans.PropertyChangeListenerProxy

public interface PropertyChangeListener
extends EventListener sample code for java.util.EventListener definition code for java.util.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 sample code for java.beans.PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent) definition code for java.beans.PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent) (PropertyChangeEvent sample code for java.beans.PropertyChangeEvent definition code for java.beans.PropertyChangeEvent  evt)
          This method gets called when a bound property is changed.
 

Method Detail

propertyChange sample code for java.beans.PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent) definition code for java.beans.PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)

void propertyChange(PropertyChangeEvent sample code for java.beans.PropertyChangeEvent definition code for java.beans.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.