org.viewaframework.binding.swing.combo
Class ComboBoxSelectionBindListener<T,TV,SV>

java.lang.Object
  extended by org.viewaframework.binding.core.AbstractBindingListener<T,TV,SV>
      extended by org.viewaframework.binding.swing.combo.ComboBoxSelectionBindListener<T,TV,SV>
Type Parameters:
T -
TV -
SV -
All Implemented Interfaces:
PropertyChangeListener, EventListener, SynchronizedListener

public class ComboBoxSelectionBindListener<T,TV,SV>
extends AbstractBindingListener<T,TV,SV>

Author:
Mario Garcia

Constructor Summary
ComboBoxSelectionBindListener(BeanAdapter<T> target, Property<TV> targetProperty, Property<SV> sourceProperty)
           
 
Method Summary
 Object getNewValue(PropertyChangeEvent evt)
           
 boolean isPropertyToHandle(PropertyChangeEvent evt)
          Whether the property triggered is the one to handle
 
Methods inherited from class org.viewaframework.binding.core.AbstractBindingListener
getSourceProperty, getTarget, getTargetProperty, handleProperty, isSynchronized, propertyChange, setSourceProperty, setTarget, setTargetProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComboBoxSelectionBindListener

public ComboBoxSelectionBindListener(BeanAdapter<T> target,
                                     Property<TV> targetProperty,
                                     Property<SV> sourceProperty)
Parameters:
target -
targetProperty -
sourceProperty -
Method Detail

getNewValue

public Object getNewValue(PropertyChangeEvent evt)
Returns:

isPropertyToHandle

public boolean isPropertyToHandle(PropertyChangeEvent evt)
Description copied from class: AbstractBindingListener
Whether the property triggered is the one to handle

Overrides:
isPropertyToHandle in class AbstractBindingListener<T,TV,SV>
Returns:


Copyright © 2010. All Rights Reserved.