List of usage examples for java.beans VetoableChangeSupport VetoableChangeSupport
public VetoableChangeSupport(Object sourceBean)
From source file:org.mili.core.properties.DefaultChangeSupport.java
/** * Instantiates a new default change support. * * @param source the source//w w w .j av a2s . c o m */ protected DefaultChangeSupport(Object source) { Validate.notNull(source, "source cannot be null!"); this.source = source; this.vcs = new VetoableChangeSupport(source); this.pcs = new PropertyChangeSupport(source); }
From source file:zlicense.de.schlichtherle.xml.GenericCertificate.java
public final synchronized void addVetoableChangeListener(VetoableChangeListener paramVetoableChangeListener) { if (this.vetoableChangeSupport == null) { this.vetoableChangeSupport = new VetoableChangeSupport(this); }//from www . j a va2 s . co m this.vetoableChangeSupport.addVetoableChangeListener(paramVetoableChangeListener); }