|
@@ -808,18 +808,26 @@ UI.Number.prototype.setValue = function ( value ) {
|
|
|
|
|
|
};
|
|
|
|
|
|
-UI.Number.prototype.setRange = function ( min, max ) {
|
|
|
+UI.Number.prototype.setPrecision = function ( precision ) {
|
|
|
|
|
|
- this.min = min;
|
|
|
- this.max = max;
|
|
|
+ this.precision = precision;
|
|
|
|
|
|
return this;
|
|
|
|
|
|
};
|
|
|
|
|
|
-UI.Number.prototype.setPrecision = function ( precision ) {
|
|
|
+UI.Number.prototype.setStep = function ( step ) {
|
|
|
|
|
|
- this.precision = precision;
|
|
|
+ this.step = step;
|
|
|
+
|
|
|
+ return this;
|
|
|
+
|
|
|
+};
|
|
|
+
|
|
|
+UI.Number.prototype.setRange = function ( min, max ) {
|
|
|
+
|
|
|
+ this.min = min;
|
|
|
+ this.max = max;
|
|
|
|
|
|
return this;
|
|
|
|
|
@@ -977,6 +985,14 @@ UI.Integer.prototype.setValue = function ( value ) {
|
|
|
|
|
|
};
|
|
|
|
|
|
+UI.Number.prototype.setStep = function ( step ) {
|
|
|
+
|
|
|
+ this.step = step;
|
|
|
+
|
|
|
+ return this;
|
|
|
+
|
|
|
+};
|
|
|
+
|
|
|
UI.Integer.prototype.setRange = function ( min, max ) {
|
|
|
|
|
|
this.min = min;
|