{
  "widget": {
    "name": "NumericTextBox",
    "selector": "jqx-numeric-text-box"
  },
  "properties": [
    {
      "name": "decimalSeparator",
      "value": ".",
      "allowedValues": [],
      "description": "Sets or gets the char to use as the decimal separator in numeric values. ",
      "demoValues": [ ",", "." ],
      "type": "string"
    },
    {
      "name": "disabled",
      "value": false,
      "allowedValues": [],
      "description": "Enables or disables the jqxNumericTextBox. ",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "enableMouseWheelAction",
      "value": false,
      "allowedValues": [],
      "description": "Enables or disables incrementing/decrementing the value using the mouse wheel in jqxNumericTextBox. ",
      "demoValues": [ false, true ],
      "type": "boolean"
    },
    {
      "name": "inputFormat",
      "value": "integer",
      "allowedValues": [ "integer", "floatingPoint", "complex" ],
      "description": "Sets or gets the input format of the widget. Setting this property dynamically can lead to precision loss. ",
      "demoValues": [ "floatingPoint", "complex" ],
      "type": "string"
    },
    {
      "name": "language",
      "value": "en",
      "allowedValues": [],
      "description": "Sets or gets the language. Used in conjunction with the property <strong>messages</strong>. ",
      "demoValues": [ "de", "en" ],
      "type": "string"
    },
    {
      "name": "max",
      "value": null,
      "allowedValues": [],
      "description": "Sets or gets the maximum value of the widget. ",
      "demoValues": [ "10", "20" ],
      "type": "any"
    },
    {
      "name": "messages",
      "value": "{ \"en\": { \"binary\": \"BIN\", \"octal\": \"OCT\", \"decimal\": \"DEC\", \"hexadecimal\": \"HEX\", \"missingReference\": \"jqxNumericTextBox: Missing reference to {{file}}.\", \"integerOnly\": \"jqxNumericTextBox: The property {{property}} can only be set when inputFormat is integer.\", \"noInteger\": \"jqxNumericTextBox: the property {{property}} cannot be set when inputFormat is integer.\", \"significantPrecisionDigits\": \"jqxNumericTextBox: the properties significantDigits and precisionDigits cannot be set at the same time.\" } }",
      "allowedValues": [],
      "description": "Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property <strong>language</strong>. ",
      "demoValues": [
        "{ \"de\": { \"binary\": \"Dual\", \"octal\": \"Oktal\", \"decimal\": \"Dezimal\", \"hexadecimal\": \"Hexadezimal\", \"missingReference\": \"jqxNumericTextBox: Fehlende Bezugnahme auf {{file}}.\", \"integerOnly\": \"jqxNumericTextBox: Die Eigenschaft {{property}} kann nur eingestellt werden, wenn inputFormat integer ist.\", \"noInteger\": \"jqxNumericTextBox: Die Eigenschaft {{property}} kann nicht eingestellt werden, wenn inputFormat integer ist.\", \"significantPrecisionDigits\": \"jqxNumericTextBox: Die Eigenschaften significantDigits und precisionDigits können nicht zusammen eingestellt werden.\" } }",
        "{ \"de\": { \"binary\": \"2\", \"octal\": \"8\", \"decimal\": \"10\", \"hexadecimal\": \"16\", \"missingReference\": \"jqxNumericTextBox: Fehlende Bezugnahme auf {{file}}.\", \"integerOnly\": \"jqxNumericTextBox: Die Eigenschaft {{property}} kann nur eingestellt werden, wenn inputFormat integer ist.\", \"noInteger\": \"jqxNumericTextBox: Die Eigenschaft {{property}} kann nicht eingestellt werden, wenn inputFormat integer ist.\", \"significantPrecisionDigits\": \"jqxNumericTextBox: Die Eigenschaften significantDigits und precisionDigits können nicht zusammen eingestellt werden.\" } }"
      ],
      "type": "object"
    },
    {
      "name": "min",
      "value": null,
      "allowedValues": [],
      "description": "Sets or gets the minimum value of the widget. ",
      "demoValues": [ "5", "0" ],
      "type": "any"
    },
    {
      "name": "placeholder",
      "value": "\"\"",
      "allowedValues": [],
      "description": "Determines the widget's place holder displayed when the widget's input is empty. ",
      "demoValues": [ "Placeholder", "New Placeholder" ],
      "type": "string"
    },
    {
      "name": "popupEnabled",
      "value": true,
      "allowedValues": [],
      "description": "Determines if a pop-up will be displayed when the radix display button is clicked. The pop-up shows the entered value represented in the binary, octal, decimal and hexadecimal numeral systems. ",
      "demoValues": [ false, false ],
      "type": "boolean"
    },
    {
      "name": "precisionDigits",
      "value": null,
      "allowedValues": [],
      "description": "Determines the number of digits after the decimal point. Applicable when <strong>inputFormat</strong> is either <em>'floatingPoint'</em> or <em>'complex'</em>. ",
      "demoValues": [ 5, 6 ],
      "type": "number"
    },
    {
      "name": "radix",
      "value": 10,
      "allowedValues": [ 2, 8, 10, 16, "binary", "octal", "decimal", "hexadecimal" ],
      "description": "Sets or gets the radix of the jqxNumericTextBox. The radix specifies the numeral system in which to display the widget's value. Applicable only when <strong>inputFormat</strong> is <em>'integer'</em>. ",
      "demoValues": [ 8, "binary" ],
      "type": "any"
    },
    {
      "name": "radixDisplay",
      "value": false,
      "allowedValues": [],
      "description": "Enables or disables the radix display button of the jqxNumericTextBox. Applicable only when <strong>inputFormat</strong> is <em>'integer'</em>. ",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "readonly",
      "value": false,
      "allowedValues": [],
      "description": "Sets or gets the readonly state of the jqxNumericTextBox. ",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "scientificNotation",
      "value": false,
      "allowedValues": [],
      "description": "Enables or disables outputting the value in scientific notation. Applicable only when <strong>inputFormat</strong> is <em>'integer'</em>. ",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "showUnit",
      "value": false,
      "allowedValues": [],
      "description": "Enables or disables the visibility of the units. ",
      "demoValues": [ true, false ],
      "type": "boolean"
    },
    {
      "name": "significantDigits",
      "value": null,
      "allowedValues": [],
      "description": "Determining how many significant digits are in a number. Applicable when <strong>inputFormat</strong> is either <em>'floatingPoint'</em> or <em>'complex'</em>. ",
      "demoValues": [ 5, 6 ],
      "type": "number"
    },
    {
      "name": "spinButtons",
      "value": false,
      "allowedValues": [],
      "description": "Enables or disables the visibility of the spin buttons. ",
      "demoValues": [ false, true ],
      "type": "boolean"
    },
    {
      "name": "spinButtonsDelay",
      "value": 75,
      "allowedValues": [],
      "description": "Sets the delay between repeats of spin buttons in miliseconds. ",
      "demoValues": [ 50, 100 ],
      "type": "number"
    },
    {
      "name": "spinButtonsInitialDelay",
      "value": 0,
      "allowedValues": [],
      "description": "Sets a delay before the first repeat iteration of spin buttons in miliseconds. ",
      "demoValues": [ 25, 50 ],
      "type": "number"
    },
    {
      "name": "spinButtonsPosition",
      "value": "right",
      "allowedValues": [ "left", "right" ],
      "description": "Sets or gets the position of the spin buttons of the jqxNumericTextBox. ",
      "demoValues": [ "left", "right" ],
      "type": "string"
    },
    {
      "name": "spinButtonsStep",
      "value": "1",
      "allowedValues": [],
      "description": "Sets or gets the increase/decrease step. ",
      "demoValues": [ "2", "3" ],
      "type": "any"
    },
    {
      "name": "unit",
      "value": "kg",
      "allowedValues": [],
      "description": "Sets or gets the name of unit used in jqxNumericTextBox widget. ",
      "demoValues": [ "cm", "mm" ],
      "type": "string"
    },
    {
      "name": "value",
      "value": "0",
      "allowedValues": [],
      "description": "Sets or gets the value of the jqxNumericTextBox widget. ",
      "demoValues": [ "5", "10" ],
      "type": "any"
    },
    {
      "name": "wordLength",
      "value": "int32",
      "allowedValues": [ "int8", "uint8", "int16", "uint16", "int32", "uint32", "int64", "uint64" ],
      "description": "Sets or gets the word length. Applicable only when <strong>inputFormat</strong> is <em>'integer'</em>. If <strong>min</strong> and/or <strong>max</strong> are not set by default, they will be set automatically based on the specified word length. ",
      "demoValues": [ "int8", "int64" ],
      "type": "string"
    }
  ],
  "events": [
    {
      "name": "change",
      "description": "This event is triggered when the value is changed. "
    },
    {
      "name": "close",
      "description": "This event is triggered when the pop-up is closed. "
    },
    {
      "name": "open",
      "description": "This event is triggered when the pop-up is opened. "
    },
    {
      "name": "radixChange",
      "description": "This event is triggered when the radix is changed. "
    }
  ],
  "methods": [
    {
      "name": "focus",
      "description": "Focuses the NumericTextBox. ",
      "demoValues": [ false ],
      "returnDataType": "None",
      "arguments": [
        {
          "name": "None",
          "type": null,
          "description": "",
          "optional": false
        }
      ]
    },
    {
      "name": "val",
      "description": "Get/set the value of the NumericTextBox. ",
      "demoValues": [ true, "10" ],
      "returnDataType": "String",
      "arguments": [
        {
          "name": "value",
          "type": "string/number",
          "description": "The value to be set. If no parameter is passed, returns the displayed value of the jqxNumericTextBox. ",
          "optional": true
        },
        {
          "name": "suppressValidation",
          "type": "boolean",
          "description": "If <em>true</em> is passed, the passed value will be set to the jqxNumericTextBox without validation. ",
          "optional": true
        }
      ]
    }
  ]
}