org.viewaframework.binding.core
Class BeanAdapterBinding<SS,SP,TS,TP>

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

public class BeanAdapterBinding<SS,SP,TS,TP>
extends AbstractSelectionBinding<SS,SP,TS,TP>

Author:
Mario Garcia

Constructor Summary
BeanAdapterBinding(BeanAdapter<SS> source, Property<SP> sourceProperty, BeanAdapter<TS> target, Property<TP> targetProperty)
           
BeanAdapterBinding(SS source, Property<SP> sourceProperty, 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

BeanAdapterBinding

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

BeanAdapterBinding

public BeanAdapterBinding(SS source,
                          Property<SP> sourceProperty,
                          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.