org.viewaframework.binding.swing
Class TextFieldBinding<SS extends JTextField,SP,TS,TP>

java.lang.Object
  extended by org.viewaframework.binding.core.AbstractSelectionBinding<SS,SP,TS,TP>
      extended by org.viewaframework.binding.swing.TextFieldBinding<SS,SP,TS,TP>
Type Parameters:
SS -
SP -
TS -
TP -
All Implemented Interfaces:
Binding<SS>, SelectionBinding<SS,SP,TS,TP>

public class TextFieldBinding<SS extends JTextField,SP,TS,TP>
extends AbstractSelectionBinding<SS,SP,TS,TP>

Author:
Mario Garcia

Constructor Summary
TextFieldBinding(SS source, Property<SP> sourceProperty, BeanAdapter<TS> target, Property<TP> targetProperty)
           
 
Method Summary
 void bind()
          Binds source and target objects
 void unbind()
          Unbinds source and target objects
 
Methods inherited from class org.viewaframework.binding.core.AbstractSelectionBinding
getSource, getSourceListener, getSourceProperty, getTarget, getTargetListener, getTargetProperty, setSource, setSourceListener, setSourceProperty, setTarget, setTargetListener, setTargetProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFieldBinding

public TextFieldBinding(SS source,
                        Property<SP> sourceProperty,
                        BeanAdapter<TS> target,
                        Property<TP> targetProperty)
Parameters:
source -
sourceProperty -
target -
targetProperty -
Method Detail

bind

public void bind()
Description copied from interface: Binding
Binds source and target objects


unbind

public void unbind()
Description copied from interface: Binding
Unbinds source and target objects



Copyright © 2010. All Rights Reserved.