ObservableBean (JGoodies Common 1.4 API)
Date: 2012-07-24

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jgoodies.common.bean
Interface ObservableBean

All Known Subinterfaces:
  IActionBean, ObservableBean2

All Known Implementing Classes:
  AbstractBean, Bean

    public interface ObservableBean

Describes objects that provide bound properties as specified in the Java Bean Specification. This interface is primarily intended to ensure compile-time safety for beans that shall be observed.

Version:
  $Revision: 1.1 $
Author:
  Karsten Lentzsch
See Also:
  `PropertyChangeListener`, `PropertyChangeEvent`, `PropertyChangeSupport`

Method Summary
`void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds the given PropertyChangeListener to the listener list.
`void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes the given PropertyChangeListener from the listener list.

Method Detail

### addPropertyChangeListener

    void addPropertyChangeListener(PropertyChangeListener listener)

  Adds the given PropertyChangeListener to the listener list. The listener is registered for all bound properties of this class.

  Parameters:
    `listener` - the PropertyChangeListener to be added
  See Also:
    `removePropertyChangeListener(PropertyChangeListener)`

### removePropertyChangeListener

    void removePropertyChangeListener(PropertyChangeListener listener)

  Removes the given PropertyChangeListener from the listener list. This method should be used to remove PropertyChangeListeners that were registered for all bound properties of this class.

  Parameters:
    `listener` - the PropertyChangeListener to be removed
  See Also:
    `addPropertyChangeListener(PropertyChangeListener)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009-2012 JGoodies Karsten Lentzsch. All Rights Reserved.