API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. VetoableChangeSupport View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      VetoableChangeSupport
Implements
 Serializable
Subclasses
Description
public class VetoableChangeSupport
  This is a utility class that can be used by beans that support constrained properties.
See also:   
Constructors
public VetoableChangeSupport (Object sourceBean)
  Constructs a VetoableChangeSupport object.
Methods
Hide/Show inherited methods
publicsynchronized void addVetoableChangeListener (String propertyName, VetoableChangeListener listener)
  Add a VetoableChangeListener for a specific property.
publicsynchronized void addVetoableChangeListener (VetoableChangeListener listener)
  Add a VetoableListener to the listener list.
public void fireVetoableChange (PropertyChangeEvent evt) throws PropertyVetoException
  Fire a vetoable property update to any registered listeners.
public void fireVetoableChange (String propertyName, boolean oldValue, boolean newValue) throws PropertyVetoException
  Report a boolean vetoable property update to any registered listeners.
public void fireVetoableChange (String propertyName, int oldValue, int newValue) throws PropertyVetoException
  Report a int vetoable property update to any registered listeners.
public void fireVetoableChange (String propertyName, Object oldValue, Object newValue) throws PropertyVetoException
  Report a vetoable property update to any registered listeners.
publicsynchronized VetoableChangeListener getVetoableChangeListeners ()
  Returns the list of VetoableChangeListeners.
publicsynchronized VetoableChangeListener getVetoableChangeListeners (String propertyName)
  Returns an array of all the listeners which have been associated with the named property.
publicsynchronized boolean hasListeners (String propertyName)
  Check if there are any listeners for a specific property, including those registered on all properties.
publicsynchronized void removeVetoableChangeListener (String propertyName, VetoableChangeListener listener)
  Remove a VetoableChangeListener for a specific property.
publicsynchronized void removeVetoableChangeListener (VetoableChangeListener listener)
  Remove a VetoableChangeListener from the listener list.
Fields
Hide/Show inherited fields
pack-privatefinalstatic long serialVersionUID = "-5090210921595982017"
Serialization version ID, so we're compatible with JDK 1.1
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar