Uses of Class
org.jdesktop.beansbinding.Binding.SyncFailure
Packages that use Binding.SyncFailure
Package
Description
Provides support for defining properties and creating bindings between
sets of two properties.
-
Uses of Binding.SyncFailure in org.jdesktop.beansbinding
Methods in org.jdesktop.beansbinding that return Binding.SyncFailureModifier and TypeMethodDescriptionBinding.ValueResult.getFailure()
Returns the failure if thisValueResult
represents a failure and throwsUnsupportedOperationException
otherwise.final Binding.SyncFailure
Binding.refresh()
Fetches the value of the source property for the source object and sets it as the value of the target property for the target object.final Binding.SyncFailure
Binding.refreshAndNotify()
The same asBinding.refresh()
with the additional behavior of notifying all registeredBindingListeners
withsynced
ifrefresh
returnsnull
orsyncFailed
ifrefresh
returns aSyncFailure
.protected final Binding.SyncFailure
Binding.refreshAndNotifyUnmanaged()
A protected version ofBinding.refreshAndNotify()
that allows managed subclasses to refresh and notify without throwing an exception for being managed.protected final Binding.SyncFailure
Binding.refreshUnmanaged()
A protected version ofBinding.refresh()
that allows managed subclasses to refresh without throwing an exception for being managed.final Binding.SyncFailure
Binding.save()
Fetches the value of the target property for the target object and sets it as the value of the source property for the source object.final Binding.SyncFailure
Binding.saveAndNotify()
The same asBinding.save()
with the additional behavior of notifying all registeredBindingListeners
withsynced
ifsave
returnsnull
orsyncFailed
ifsave
returns aSyncFailure
.protected final Binding.SyncFailure
Binding.saveAndNotifyUnmanaged()
A protected version ofBinding.saveAndNotify()
that allows managed subclasses to save and notify without throwing an exception for being managed.protected final Binding.SyncFailure
Binding.saveUnmanaged()
A protected version ofBinding.save()
that allows managed subclasses to save without throwing an exception for being managed.Methods in org.jdesktop.beansbinding with parameters of type Binding.SyncFailureModifier and TypeMethodDescriptionprotected final void
Binding.notifySyncFailed
(Binding.SyncFailure failure) Notifies all registeredBindingListeners
of a failure to sync (refresh
orsave
), by callingsyncFailed
on each one.void
AbstractBindingListener.syncFailed
(Binding binding, Binding.SyncFailure failure) Notification that theBinding
attempted to sync the source and target, but the sync failed.void
BindingListener.syncFailed
(Binding binding, Binding.SyncFailure failure) Notification that theBinding
attempted to sync the source and target, but the sync failed.