/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. Build date: 2013-04-03 15:07:25 */ Ext.data.JsonP.Number({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":null,"uses":[],"html":"

Files

\n
Defined By

Methods

( min, max ) : Number
Checks whether or not the current number is within a desired range. ...

Checks whether or not the current 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

  • 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
","superclasses":[],"meta":{},"requires":[],"html_meta":{},"statics":{"property":[],"cfg":[],"css_var":[],"method":[],"event":[],"css_mixin":[]},"files":[{"href":"Ext-more.html#Number","filename":"Ext-more.js"}],"linenr":665,"members":{"property":[],"cfg":[],"css_var":[],"method":[{"tagname":"method","owner":"Number","meta":{},"name":"constrain","id":"method-constrain"}],"event":[],"css_mixin":[]},"inheritable":null,"private":null,"component":false,"name":"Number","singleton":false,"override":null,"inheritdoc":null,"id":"class-Number","mixins":[],"mixedInto":[]});