javierdotnet / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 3 forks source link

int parameter for SetMinValue and SetMaxValue of NumberField #415

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The setMinValue and SetMaxValue accepts an int as argument. This prevents
set a double as min or max value. Actually, the code 
 setAttribute("maxValue", maxValue, true, true);
setAttribute("minValue", minValue, true, true);
do not care whether it is int or double.
I suggest to change the parameter type from int to java.lang.Number or add
an set of extra methods to accept double as min/max.

Original issue reported on code.google.com by jasonzha...@gmail.com on 16 Sep 2008 at 5:38

GoogleCodeExporter commented 9 years ago

Original comment by sanjiv.j...@gmail.com on 9 Oct 2008 at 9:23