/[classpath]/classpath/java/beans/VetoableChangeListener.java
ViewVC logotype

Diff of /classpath/java/beans/VetoableChangeListener.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by ericb, Mon Apr 1 03:00:07 2002 UTC revision 1.7 by ericb, Mon Apr 1 07:38:57 2002 UTC
# Line 47  import java.util.EventListener; Line 47  import java.util.EventListener;
47   * been requested, but before it is permanent. If any listener rejects the   * been requested, but before it is permanent. If any listener rejects the
48   * change by throwing the PropertyChangeException, a new vetoableChange()   * change by throwing the PropertyChangeException, a new vetoableChange()
49   * event will be fired to all listeners who received a vetoableChange() event   * event will be fired to all listeners who received a vetoableChange() event
50   * in the first place, informing them to revert back to the old value.   * in the first place, informing them to revert back to the old value. Thus,
51   * The value, of course, never actually changed.   * the listener that threw the exception the first time should be prepared
52     * to rethrow it the second time. The value, of course, never actually changed.
53   *   *
54   * <p><strong>Note:</strong> This class may not be reliably used to determine   * <p><strong>Note:</strong> This class may not be reliably used to determine
55   * whether a property has actually changed.  Use the PropertyChangeListener   * whether a property has actually changed.  Use the PropertyChangeListener

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26