Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Field
        TextField
          NumberField

Class CQ.Ext.form.NumberField

Package:CQ.Ext.form
Class:NumberField
Extends:CQ.Ext.form.TextField
Clientlib:cq.widgets
xtype:numberfield
Numeric text field that provides automatic keystroke filtering and numeric validation.

Config Options

Config Options Defined By
  allowDecimals : Boolean
False to disallow decimal values (defaults to true)
NumberField
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  allowNegative : Boolean
False to prevent entering a negative sign (defaults to true)
NumberField
  baseChars : String
The base set of characters to evaluate as valid numbers (defaults to '0123456789').
NumberField
  decimalPrecision : Number
The maximum precision to display after the decimal separator (defaults to 2)
NumberField
  decimalSeparator : String
Character(s) to allow as the decimal separator (defaults to '.')
NumberField
  disabled : Boolean
Render this component disabled (default is false).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
  fieldClass : String
The default CSS class for the field (defaults to "x-form-field x-form-num-field")
NumberField
  focusClass : String
The CSS class to use when the field receives focus (defaults to 'x-form-focus')
Field
  invalidClass : String
The CSS class to use when marking a field invalid (defaults to 'x-form-invalid')
Field
  maxValue : Number
The maximum allowed value (defaults to Number.MAX_VALUE)
NumberField
  minValue : Number
The minimum allowed value (defaults to Number.NEGATIVE_INFINITY)
NumberField
  pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
  pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
  validateOnBlur : Boolean
Whether the field should validate when it loses focus (defaults to true).
Field
  validationDelay : Number
The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
Field
  validationEvent : String/Boolean
The event that should initiate field validation. Set to false to disable automatic validation (defaults to 'keyup').
Field
  value : Mixed
A value to initialize this field with (defaults to undefined).
Field
  x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
  y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent

Public Properties

Property Defined By
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  refOwner : CQ.Ext.Container The
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By