All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dragome.forms.bindings.client.binding.TransitionToBinding Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy