|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyChangeSupport
org.faktorips.runtime.IpsPropertyChangeSupport
public class IpsPropertyChangeSupport
Extension of PropertyChangeSupport providing special methods to fire
AssociationChangedEvents.
| Constructor Summary | |
|---|---|
IpsPropertyChangeSupport(Object sourceBean)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener,
boolean propagateEventsFromChildren)
|
void |
fireAssociationAdded(String associationName,
Object addedAssociationTarget)
Report a bound association property update to any registered listeners. |
void |
fireAssociationChange(AssociationChangedEvent evt)
Fire an existing AssociationChangedEvent to any registered listeners. |
void |
fireAssociationRemoved(String associationName,
Object removedAssociationTarget)
Report a bound association property update to any registered listeners. |
void |
fireChildPropertyChange(PropertyChangeEvent evt)
This will be called if any child of this object fires a change event. |
void |
firePropertyChange(PropertyChangeEvent evt)
Events with the same source as the source registered as sourceBean are fired as
usual, others are fired using
fireChildPropertyChange(PropertyChangeEvent). |
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IpsPropertyChangeSupport(Object sourceBean)
| Method Detail |
|---|
public void fireAssociationChange(AssociationChangedEvent evt)
evt - The AssociationChangedEvent object.public void firePropertyChange(PropertyChangeEvent evt)
sourceBean are fired as
usual, others are fired using
fireChildPropertyChange(PropertyChangeEvent).
firePropertyChange in class PropertyChangeSupport
public void fireAssociationAdded(String associationName,
Object addedAssociationTarget)
associationName - The programmatic name of the association that was changed.addedAssociationTarget - The target added to the association.
public void fireAssociationRemoved(String associationName,
Object removedAssociationTarget)
associationName - The programmatic name of the association that was changed.removedAssociationTarget - The target removed from the association.
public void addPropertyChangeListener(PropertyChangeListener listener,
boolean propagateEventsFromChildren)
propagateEventsFromChildren - if set to true, this object's change listeners
will also be notified when one of this object's children fires a change event.PropertyChangeSupport.addPropertyChangeListener(PropertyChangeListener)public void fireChildPropertyChange(PropertyChangeEvent evt)
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in class PropertyChangeSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||