19 package org.turro.zkoss.input;
21 import org.zkoss.zul.Doublebox;
22 import org.zkoss.zul.impl.InputElement;
30 private double calculated, value;
31 private Doublebox editor;
38 this.calculated = estimated;
42 return editor.getValue();
53 editor =
new Doublebox(value != 0.0 ?
61 return editor.getValue().compareTo(calculated) == 0;
66 editor.setValue(calculated);
72 editor.setValue(value != 0.0 ?