Basic HTML version of Foils prepared Aug 14 1997

Foil 10 Bound Properties

From JavaBeans Examples UC Web applications Certificate -- Aug 11,14 97. by Nancy McCracken


A property is bound if a change to its value can be reported as an event to other beans.
One way is to inherit from the class: public class java.beans.PropertyChangeSupport implements java.io.Serializable ... public synchronized void addPropertyChangeListener ... public synchronized void removePropertyChangeListener ... public void firePropertyChange (String propertyName, Object oldValue, Object newValue);
This class behaves as a source of events.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Jan 8 1998