Package com.privatejgoodies.common.bean
Interface ObservableBean
- All Known Subinterfaces:
IActionBean,ObservableBean2
- All Known Implementing Classes:
AbstractUnitConverter,Bean,DefaultUnitConverter
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.
- Author:
- Karsten Lentzsch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the given PropertyChangeListener to the listener list.voidRemoves the given PropertyChangeListener from the listener list.
-
Method Details
-
addPropertyChangeListener
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
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:
-