Package jadex.commons.beans
Class PropertyChangeSupport
- java.lang.Object
-
- jadex.commons.beans.PropertyChangeSupport
-
- All Implemented Interfaces:
java.io.Serializable
public class PropertyChangeSupport extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyChangeSupport(java.lang.Object sourceBean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(PropertyChangeListener listener)
void
addPropertyChangeListener(java.lang.String propertyName, PropertyChangeListener listener)
void
fireIndexedPropertyChange(java.lang.String propertyName, int index, boolean oldValue, boolean newValue)
void
fireIndexedPropertyChange(java.lang.String propertyName, int index, int oldValue, int newValue)
void
fireIndexedPropertyChange(java.lang.String propertyName, int index, java.lang.Object oldValue, java.lang.Object newValue)
void
firePropertyChange(PropertyChangeEvent event)
void
firePropertyChange(java.lang.String propertyName, boolean oldValue, boolean newValue)
void
firePropertyChange(java.lang.String propertyName, int oldValue, int newValue)
void
firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
PropertyChangeListener[]
getPropertyChangeListeners()
PropertyChangeListener[]
getPropertyChangeListeners(java.lang.String propertyName)
boolean
hasListeners(java.lang.String propertyName)
void
removePropertyChangeListener(PropertyChangeListener listener)
void
removePropertyChangeListener(java.lang.String propertyName, PropertyChangeListener listener)
-
-
-
Method Detail
-
firePropertyChange
public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
-
fireIndexedPropertyChange
public void fireIndexedPropertyChange(java.lang.String propertyName, int index, java.lang.Object oldValue, java.lang.Object newValue)
-
removePropertyChangeListener
public void removePropertyChangeListener(java.lang.String propertyName, PropertyChangeListener listener)
-
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String propertyName, PropertyChangeListener listener)
-
getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners(java.lang.String propertyName)
-
firePropertyChange
public void firePropertyChange(java.lang.String propertyName, boolean oldValue, boolean newValue)
-
fireIndexedPropertyChange
public void fireIndexedPropertyChange(java.lang.String propertyName, int index, boolean oldValue, boolean newValue)
-
firePropertyChange
public void firePropertyChange(java.lang.String propertyName, int oldValue, int newValue)
-
fireIndexedPropertyChange
public void fireIndexedPropertyChange(java.lang.String propertyName, int index, int oldValue, int newValue)
-
hasListeners
public boolean hasListeners(java.lang.String propertyName)
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
-
getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners()
-
firePropertyChange
public void firePropertyChange(PropertyChangeEvent event)
-
-