com.motlin.risk.gui
Class LoggingBindingListener

java.lang.Object
  extended by org.jdesktop.beansbinding.AbstractBindingListener
      extended by com.motlin.risk.gui.LoggingBindingListener
All Implemented Interfaces:
EventListener, org.jdesktop.beansbinding.BindingListener

public final class LoggingBindingListener
extends org.jdesktop.beansbinding.AbstractBindingListener

Binding listener used to log synchronization events. It displays (in given label) warnings for failed synchronizations.

Author:
Jiri Vagner, Jan Stola

Method Summary
 void synced(org.jdesktop.beansbinding.Binding binding)
           
 void syncFailed(org.jdesktop.beansbinding.Binding binding, org.jdesktop.beansbinding.Binding.SyncFailure fail)
           
 
Methods inherited from class org.jdesktop.beansbinding.AbstractBindingListener
bindingBecameBound, bindingBecameUnbound, sourceChanged, sourceEdited, targetChanged, targetEdited
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

syncFailed

public void syncFailed(org.jdesktop.beansbinding.Binding binding,
                       org.jdesktop.beansbinding.Binding.SyncFailure fail)
Specified by:
syncFailed in interface org.jdesktop.beansbinding.BindingListener
Overrides:
syncFailed in class org.jdesktop.beansbinding.AbstractBindingListener

synced

public void synced(org.jdesktop.beansbinding.Binding binding)
Specified by:
synced in interface org.jdesktop.beansbinding.BindingListener
Overrides:
synced in class org.jdesktop.beansbinding.AbstractBindingListener