com.dragome.forms.bindings.client.binding.TransitionToBinding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-form-bindings Show documentation
Show all versions of dragome-form-bindings Show documentation
Dragome SDK module: form bindings
package com.dragome.forms.bindings.client.binding;
import com.dragome.forms.bindings.client.util.Utils;
/**
* Created by IntelliJ IDEA.
* User: andrew
* Date: Apr 13, 2010
* Time: 12:52:08 PM
* To change this template use File | Settings | File Templates.
*/
class TransitionToBinding extends TransitionBindingSupport
{
protected TransitionToBinding(T triggerValue, T lastKnownValue)
{
super(lastKnownValue, triggerValue);
}
@Override
boolean isTrigger(T triggerValue, T lastKnownValue, T newValue)
{
return Utils.areEqual(triggerValue, newValue);
}
}