function fvFieldInfo(title, name, format, solver)
{
	this.title = title;
	this.name = name;
	this.format = format;
	
	this.solve = solver;
}


fvFieldInfo.prototype.getValue = function(form)
{
	return this.format.unformat(form[this.name].value);
}

fvFieldInfo.prototype.setValue = function(form, value)
{
	form[this.name].value = this.format.format(value);
}

fvFieldInfo.prototype.clearValue = function(form)
{
	form[this.name].value = "";
}

fvFieldInfo.prototype.isEmpty = function(form)
{
	return false;
}

fvFieldInfo.prototype.setChangeEvent = function(form, rowReadyFunc)
{
	form[this.name].onchange = rowReadyFunc;
}
