org.viewaframework.binding.swing.text
Class TextFieldBindingListener<T,TV,SV>

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

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

Author:
Mario Garcia

Constructor Summary
TextFieldBindingListener(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

TextFieldBindingListener

public TextFieldBindingListener(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>
Parameters:
evt -
Returns:


Copyright © 2010. All Rights Reserved.