|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.util.beans.BeanChangeDelegate
public class BeanChangeDelegate
Property change listener that can listen for changes to one bean but dispatch them to a different one, re-sourcing the messages as it goes. It does this by having friendly access to the bean change support class... and so will only work with BeanChangeSupport objects and this class cannot be subclassed or it will lose its friendly access. This class is primarily useful for hooking up events thrown by ObservableList to the standard property change support of a regular bean. Indeed, special support has been built in to properly re-source ListPropertyChangeEvents.
Constructor Summary | |
---|---|
BeanChangeDelegate(BeanChangeSupport bean)
|
Method Summary | |
---|---|
void |
propertyChange(java.beans.PropertyChangeEvent event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanChangeDelegate(BeanChangeSupport bean)
Method Detail |
---|
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |