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 thisValueResultrepresents a failure and throwsUnsupportedOperationExceptionotherwise.final Binding.SyncFailureBinding.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.SyncFailureBinding.refreshAndNotify()The same asBinding.refresh()with the additional behavior of notifying all registeredBindingListenerswithsyncedifrefreshreturnsnullorsyncFailedifrefreshreturns aSyncFailure.protected final Binding.SyncFailureBinding.refreshAndNotifyUnmanaged()A protected version ofBinding.refreshAndNotify()that allows managed subclasses to refresh and notify without throwing an exception for being managed.protected final Binding.SyncFailureBinding.refreshUnmanaged()A protected version ofBinding.refresh()that allows managed subclasses to refresh without throwing an exception for being managed.final Binding.SyncFailureBinding.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.SyncFailureBinding.saveAndNotify()The same asBinding.save()with the additional behavior of notifying all registeredBindingListenerswithsyncedifsavereturnsnullorsyncFailedifsavereturns aSyncFailure.protected final Binding.SyncFailureBinding.saveAndNotifyUnmanaged()A protected version ofBinding.saveAndNotify()that allows managed subclasses to save and notify without throwing an exception for being managed.protected final Binding.SyncFailureBinding.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 voidBinding.notifySyncFailed(Binding.SyncFailure failure) Notifies all registeredBindingListenersof a failure to sync (refreshorsave), by callingsyncFailedon each one.voidAbstractBindingListener.syncFailed(Binding binding, Binding.SyncFailure failure) Notification that theBindingattempted to sync the source and target, but the sync failed.voidBindingListener.syncFailed(Binding binding, Binding.SyncFailure failure) Notification that theBindingattempted to sync the source and target, but the sync failed.