org.springframework.binding.value.swing
Class FocusLostTextComponentAdapter

java.lang.Object
  extended by org.springframework.binding.value.support.AbstractValueModelAdapter
      extended by org.springframework.binding.value.swing.FocusLostTextComponentAdapter
All Implemented Interfaces:
FocusListener, EventListener

public class FocusLostTextComponentAdapter
extends AbstractValueModelAdapter
implements FocusListener


Field Summary
 
Fields inherited from class org.springframework.binding.value.support.AbstractValueModelAdapter
logger
 
Constructor Summary
FocusLostTextComponentAdapter(JTextComponent component, ValueModel valueModel)
           
 
Method Summary
 void focusGained(FocusEvent e)
           
 void focusLost(FocusEvent e)
           
protected  void valueModelValueChanged(Object value)
          Called when the value held by the value model has changes
 
Methods inherited from class org.springframework.binding.value.support.AbstractValueModelAdapter
adaptedValueChanged, getValueModel, initalizeAdaptedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FocusLostTextComponentAdapter

public FocusLostTextComponentAdapter(JTextComponent component,
                                     ValueModel valueModel)
Method Detail

valueModelValueChanged

protected void valueModelValueChanged(Object value)
Description copied from class: AbstractValueModelAdapter
Called when the value held by the value model has changes

Specified by:
valueModelValueChanged in class AbstractValueModelAdapter
Parameters:
value - the new value held by the value model

focusLost

public void focusLost(FocusEvent e)
Specified by:
focusLost in interface FocusListener

focusGained

public void focusGained(FocusEvent e)
Specified by:
focusGained in interface FocusListener


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.