Module odo.core
Package net.odoframework.beans
Class TwoWayBinding<Source,SourceType,Target,TargetType>
java.lang.Object
net.odoframework.beans.OneWayBinding<Source,SourceType,Target,TargetType>
net.odoframework.beans.TwoWayBinding<Source,SourceType,Target,TargetType>
public class TwoWayBinding<Source,SourceType,Target,TargetType> extends OneWayBinding<Source,SourceType,Target,TargetType>
-
Field Summary
Fields inherited from class net.odoframework.beans.OneWayBinding
fromTarget, sourceBinding, targetBinding -
Constructor Summary
Constructors Constructor Description TwoWayBinding(Binding<Source,SourceType> sourceBinding, Binding<Target,TargetType> targetBinding)TwoWayBinding(Binding<Source,SourceType> sourceBinding, Binding<Target,TargetType> targetBinding, Function<SourceType,TargetType> toTarget, Function<TargetType,SourceType> fromTarget) -
Method Summary
Modifier and Type Method Description TargetTypebindTo(Source source, Target target)Methods inherited from class net.odoframework.beans.OneWayBinding
bindFrom, getSource, getTarget
-
Constructor Details
-
TwoWayBinding
public TwoWayBinding(Binding<Source,SourceType> sourceBinding, Binding<Target,TargetType> targetBinding, Function<SourceType,TargetType> toTarget, Function<TargetType,SourceType> fromTarget) -
TwoWayBinding
public TwoWayBinding(Binding<Source,SourceType> sourceBinding, Binding<Target,TargetType> targetBinding)
-
-
Method Details
-
bindTo
-