Package jadex.commons.beans
Class VetoableChangeSupport
- java.lang.Object
-
- jadex.commons.beans.VetoableChangeSupport
-
- All Implemented Interfaces:
java.io.Serializable
public class VetoableChangeSupport extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VetoableChangeSupport(java.lang.Object sourceBean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVetoableChangeListener(VetoableChangeListener listener)
void
addVetoableChangeListener(java.lang.String propertyName, VetoableChangeListener listener)
void
fireVetoableChange(PropertyChangeEvent event)
void
fireVetoableChange(java.lang.String propertyName, boolean oldValue, boolean newValue)
void
fireVetoableChange(java.lang.String propertyName, int oldValue, int newValue)
void
fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
VetoableChangeListener[]
getVetoableChangeListeners()
VetoableChangeListener[]
getVetoableChangeListeners(java.lang.String propertyName)
boolean
hasListeners(java.lang.String propertyName)
void
removeVetoableChangeListener(VetoableChangeListener listener)
void
removeVetoableChangeListener(java.lang.String propertyName, VetoableChangeListener listener)
-
-
-
Method Detail
-
removeVetoableChangeListener
public void removeVetoableChangeListener(java.lang.String propertyName, VetoableChangeListener listener)
-
addVetoableChangeListener
public void addVetoableChangeListener(java.lang.String propertyName, VetoableChangeListener listener)
-
getVetoableChangeListeners
public VetoableChangeListener[] getVetoableChangeListeners(java.lang.String propertyName)
-
hasListeners
public boolean hasListeners(java.lang.String propertyName)
-
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener listener)
-
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)
-
getVetoableChangeListeners
public VetoableChangeListener[] getVetoableChangeListeners()
-
fireVetoableChange
public void fireVetoableChange(java.lang.String propertyName, boolean oldValue, boolean newValue) throws PropertyVetoException
- Throws:
PropertyVetoException
-
fireVetoableChange
public void fireVetoableChange(java.lang.String propertyName, int oldValue, int newValue) throws PropertyVetoException
- Throws:
PropertyVetoException
-
fireVetoableChange
public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws PropertyVetoException
- Throws:
PropertyVetoException
-
fireVetoableChange
public void fireVetoableChange(PropertyChangeEvent event) throws PropertyVetoException
- Throws:
PropertyVetoException
-
-