com.dragome.forms.bindings.client.binding.TransitionFromBinding 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 TransitionFromBinding extends TransitionBindingSupport
{
public TransitionFromBinding(T triggerValue, T lastKnownValue)
{
super(lastKnownValue, triggerValue);
}
@Override
boolean isTrigger(T triggerValue, T lastKnownValue, T newValue)
{
return Utils.areEqual(lastKnownValue, triggerValue);
}
}