X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/output/Ext.Number.js diff --git a/docs/output/Ext.Number.js b/docs/output/Ext.Number.js index 2b149463..08d30aee 100644 --- a/docs/output/Ext.Number.js +++ b/docs/output/Ext.Number.js @@ -1,213 +1 @@ -Ext.data.JsonP.Ext_Number({ - "allMixins": [ - - ], - "deprecated": null, - "docauthor": null, - "members": { - "cfg": [ - - ], - "method": [ - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Number3.html#Ext-Number-method-constrain", - "shortDoc": "Checks whether or not the passed number is within a desired range. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Number.js", - "private": false, - "params": [ - { - "type": "Number", - "optional": false, - "doc": "

The number to check

\n", - "name": "number" - }, - { - "type": "Number", - "optional": false, - "doc": "

The minimum number in the range

\n", - "name": "min" - }, - { - "type": "Number", - "optional": false, - "doc": "

The maximum number in the range

\n", - "name": "max" - } - ], - "name": "constrain", - "owner": "Ext.Number", - "doc": "

Checks whether or not the passed number is within a desired range. If the number is already within the\nrange it is returned, otherwise the min or max value is returned depending on which side of the range is\nexceeded. Note that this method returns the constrained value but does not change the current number.

\n", - "linenr": 13, - "return": { - "type": "Number", - "doc": "

The constrained value if outside the range, otherwise the current value

\n" - }, - "html_filename": "Number3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Number3.html#Ext-Number-method-from", - "shortDoc": "Validate that a value is numeric and convert it to a number if necessary. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Number.js", - "private": false, - "params": [ - { - "type": "Mixed", - "optional": false, - "doc": "\n", - "name": "value" - }, - { - "type": "Number", - "optional": false, - "doc": "

The value to return if the original value is non-numeric

\n", - "name": "defaultValue" - } - ], - "name": "from", - "owner": "Ext.Number", - "doc": "

Validate that a value is numeric and convert it to a number if necessary. Returns the specified default value if\nit is not.

\n\n

Ext.Number.from('1.23', 1); // returns 1.23\nExt.Number.from('abc', 1); // returns 1

\n", - "linenr": 76, - "return": { - "type": "Number", - "doc": "

value, if numeric, defaultValue otherwise

\n" - }, - "html_filename": "Number3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Number3.html#Ext-Number-method-snap", - "shortDoc": "Snaps the passed number between stopping points based upon a passed increment value. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Number.js", - "private": false, - "params": [ - { - "type": "Number", - "optional": false, - "doc": "

The unsnapped value.

\n", - "name": "value" - }, - { - "type": "Number", - "optional": false, - "doc": "

The increment by which the value must move.

\n", - "name": "increment" - }, - { - "type": "Number", - "optional": false, - "doc": "

The minimum value to which the returned value must be constrained. Overrides the increment..

\n", - "name": "minValue" - }, - { - "type": "Number", - "optional": false, - "doc": "

The maximum value to which the returned value must be constrained. Overrides the increment..

\n", - "name": "maxValue" - } - ], - "name": "snap", - "owner": "Ext.Number", - "doc": "

Snaps the passed number between stopping points based upon a passed increment value.

\n", - "linenr": 34, - "return": { - "type": "Number", - "doc": "

The value of the nearest snap target.

\n" - }, - "html_filename": "Number3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Number3.html#Ext-Number-method-toFixed", - "shortDoc": "Formats a number using fixed-point notation ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Number.js", - "private": false, - "params": [ - { - "type": "Number", - "optional": false, - "doc": "

The number to format

\n", - "name": "value" - }, - { - "type": "Number", - "optional": false, - "doc": "

The number of digits to show after the decimal point

\n", - "name": "precision" - } - ], - "name": "toFixed", - "owner": "Ext.Number", - "doc": "

Formats a number using fixed-point notation

\n", - "linenr": 61, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "Number3.html" - } - ], - "property": [ - - ], - "cssVar": [ - - ], - "cssMixin": [ - - ], - "event": [ - - ] - }, - "singleton": true, - "alias": null, - "superclasses": [ - - ], - "protected": false, - "tagname": "class", - "mixins": [ - - ], - "href": "Number3.html#Ext-Number", - "subclasses": [ - - ], - "static": false, - "author": null, - "component": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/lang/Number.js", - "private": false, - "alternateClassNames": [ - - ], - "name": "Ext.Number", - "doc": "

A collection of useful static methods to deal with numbers

\n", - "mixedInto": [ - - ], - "linenr": 1, - "xtypes": [ - - ], - "html_filename": "Number3.html", - "extends": null -}); \ No newline at end of file +Ext.data.JsonP.Ext_Number({"tagname":"class","html":"

Files

A collection of useful static methods to deal with numbers

\n
Defined By

Methods

Checks whether or not the passed number is within a desired range. ...

Checks whether or not the passed number is within a desired range. If the number is already within the\nrange it is returned, otherwise the min or max value is returned depending on which side of the range is\nexceeded. Note that this method returns the constrained value but does not change the current number.

\n

Parameters

  • number : Number

    The number to check

    \n
  • min : Number

    The minimum number in the range

    \n
  • max : Number

    The maximum number in the range

    \n

Returns

  • Number

    The constrained value if outside the range, otherwise the current value

    \n
Validate that a value is numeric and convert it to a number if necessary. ...

Validate that a value is numeric and convert it to a number if necessary. Returns the specified default value if\nit is not.

\n\n

Ext.Number.from('1.23', 1); // returns 1.23\nExt.Number.from('abc', 1); // returns 1

\n

Parameters

  • value : Object
    \n
  • defaultValue : Number

    The value to return if the original value is non-numeric

    \n

Returns

  • Number

    value, if numeric, defaultValue otherwise

    \n
( Number value, Number increment, Number minValue, Number maxValue ) : Number
Snaps the passed number between stopping points based upon a passed increment value. ...

Snaps the passed number between stopping points based upon a passed increment value.

\n

Parameters

  • value : Number

    The unsnapped value.

    \n
  • increment : Number

    The increment by which the value must move.

    \n
  • minValue : Number

    The minimum value to which the returned value must be constrained. Overrides the increment..

    \n
  • maxValue : Number

    The maximum value to which the returned value must be constrained. Overrides the increment..

    \n

Returns

  • Number

    The value of the nearest snap target.

    \n
Formats a number using fixed-point notation ...

Formats a number using fixed-point notation

\n

Parameters

  • value : Number

    The number to format

    \n
  • precision : Number

    The number of digits to show after the decimal point

    \n
","allMixins":[],"meta":{},"requires":[],"deprecated":null,"extends":null,"inheritable":false,"static":false,"superclasses":[],"singleton":true,"code_type":"nop","alias":null,"statics":{"property":[],"css_var":[],"css_mixin":[],"cfg":[],"method":[],"event":[]},"subclasses":[],"uses":[],"protected":false,"mixins":[],"members":{"property":[],"css_var":[],"css_mixin":[],"cfg":[],"method":[{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Number","template":false,"required":null,"protected":false,"name":"constrain","id":"method-constrain"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Number","template":false,"required":null,"protected":false,"name":"from","id":"method-from"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Number","template":false,"required":null,"protected":false,"name":"snap","id":"method-snap"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Number","template":false,"required":null,"protected":false,"name":"toFixed","id":"method-toFixed"}],"event":[]},"private":false,"component":false,"name":"Ext.Number","alternateClassNames":[],"id":"class-Ext.Number","mixedInto":[],"xtypes":{},"files":[{"href":"Number4.html#Ext-Number","filename":"Number.js"}]}); \ No newline at end of file