|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.beansbinding.AbstractBindingListener
public abstract class AbstractBindingListener
An abstract subclass of BindingListener that simplifies writing
BindingListeners by allowing you to extend this class and re-implement
only the methods you care about.
| Constructor Summary | |
|---|---|
AbstractBindingListener()
|
|
| Method Summary | |
|---|---|
void |
bindingBecameBound(Binding binding)
Notification that a Binding has been bound. |
void |
bindingBecameUnbound(Binding binding)
Notification that a Binding has been unbound. |
void |
sourceChanged(Binding binding,
PropertyStateEvent event)
Notification that the source property of a Binding has fired
a PropertyStateEvent for the Binding's source object. |
void |
sourceEdited(Binding binding)
Deprecated. This method has been replaced by sourceChanged(org.jdesktop.beansbinding.Binding, org.jdesktop.beansbinding.PropertyStateEvent) and it
will go away soon. It is being kept for a short period only,
to assist in migration. |
void |
synced(Binding binding)
Notification that the source and target of a Binding have
been made in sync. |
void |
syncFailed(Binding binding,
Binding.SyncFailure failure)
Notification that the Binding attempted to sync the source and
target, but the sync failed. |
void |
targetChanged(Binding binding,
PropertyStateEvent event)
Notification that the target property of a Binding has fired
a PropertyStateEvent for the Binding's target object. |
void |
targetEdited(Binding binding)
Deprecated. This method has been replaced by targetChanged(org.jdesktop.beansbinding.Binding, org.jdesktop.beansbinding.PropertyStateEvent) and it
will go away soon. It is being kept for a short period only,
to assist in migration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBindingListener()
| Method Detail |
|---|
public void bindingBecameBound(Binding binding)
Binding has been bound.
bindingBecameBound in interface BindingListenerbinding - the Bindingpublic void bindingBecameUnbound(Binding binding)
Binding has been unbound.
bindingBecameUnbound in interface BindingListenerbinding - the Binding
public void syncFailed(Binding binding,
Binding.SyncFailure failure)
Binding attempted to sync the source and
target, but the sync failed.
syncFailed in interface BindingListenerbinding - the Bindingfailure - the reason the sync failedpublic void synced(Binding binding)
Binding have
been made in sync.
synced in interface BindingListenerbinding - the Binding
public void sourceChanged(Binding binding,
PropertyStateEvent event)
Binding has fired
a PropertyStateEvent for the Binding's source object.
This implementation calls sourceEdited if the provided event returns
true from getValueChanged.
sourceChanged in interface BindingListenerbinding - the Binding
public void targetChanged(Binding binding,
PropertyStateEvent event)
Binding has fired
a PropertyStateEvent for the Binding's target object.
This implementation calls targetEdited if the provided event returns
true from getValueChanged.
targetChanged in interface BindingListenerbinding - the Binding@Deprecated public void sourceEdited(Binding binding)
sourceChanged(org.jdesktop.beansbinding.Binding, org.jdesktop.beansbinding.PropertyStateEvent) and it
will go away soon. It is being kept for a short period only,
to assist in migration.
Binding has fired
a PropertyStateEvent indicating that its value or readability
has changed for the Binding's source object. Called by the default
AbstractBindingListener's implementation of sourceChanged.
binding - the Binding@Deprecated public void targetEdited(Binding binding)
targetChanged(org.jdesktop.beansbinding.Binding, org.jdesktop.beansbinding.PropertyStateEvent) and it
will go away soon. It is being kept for a short period only,
to assist in migration.
Binding has fired
a PropertyStateEvent indicating that its value or readability
has changed for the Binding's target object. Called by the default
AbstractBindingListener's implementation of targetChanged.
binding - the Binding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||