public class NonVetoableProperty extends AbstractProperty
| Constructor and Description | 
|---|
| NonVetoableProperty(java.lang.Object sourceBean,
                   java.lang.String name)Constructs an instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addVetoableChangeListener(java.beans.VetoableChangeListener listener)Doesn't add a VetoableChangeListener. | 
| boolean | isVetoable()Indicates if changes to this property can be vetoed. | 
| void | removeVetoableChangeListener(java.beans.VetoableChangeListener listener)Doesn't remove a VetoableChangeListener. | 
| void | setValue(java.lang.Object newValue)Sets the property value. | 
| void | setValueAndNotifyListeners(java.lang.Object newValue)Sets the property value. | 
addPropertyChangeListener, clearValue, getName, getSourceBean, getValue, isReporting, notifyListeners, removePropertyChangeListener, setCurrentValue, setReportingpublic NonVetoableProperty(java.lang.Object sourceBean,
                           java.lang.String name)
sourceBean - The source bean of the property.name - The name of the property.public boolean isVetoable()
isVetoable in interface PropertyisVetoable in class AbstractPropertypublic void setValueAndNotifyListeners(java.lang.Object newValue)
isReporting() is true.setValueAndNotifyListeners in interface PropertysetValueAndNotifyListeners in class AbstractPropertynewValue - The new property value.public void setValue(java.lang.Object newValue)
setValue in interface PropertysetValue in class AbstractPropertynewValue - The new property value.public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
                               throws java.lang.UnsupportedOperationException
addVetoableChangeListener in interface PropertyaddVetoableChangeListener in class AbstractPropertylistener - The VetoableChangeListener to add.java.lang.UnsupportedOperationException - This operation is unsupported for this
                          type of Property.  Always thrown.public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
removeVetoableChangeListener in interface PropertyremoveVetoableChangeListener in class AbstractPropertylistener - The VetoableChangeListener to remove.