Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Field
        Checkbox

Class Ext.form.Checkbox

Package:Ext.form
Defined In:Checkbox.js
Class:Checkbox
Subclasses:Radio
Extends:Field
* Single checkbox field. Can be used as a direct replacement for traditional checkbox fields.

Config Options

Config Options Defined By
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  boxLabel : String
The text that appears beside the checkbox (defaults to '')
Checkbox
  checked : Boolean
True if the checkbox should render already checked (defaults to false)
Checkbox
  disabled : Boolean
Render this component disabled (default is false).
Component
  fieldClass : String
The default CSS class for the field (defaults to "x-form-field")
Field
  height : Number
The height of this component in pixels (defaults to auto).
BoxComponent
  hidden : Boolean
Render this component hidden (default is false).
Component
  invalidClass : String
The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
Field
  msgFx : String
Experimental The effect used when displaying a validation message under the field (defaults to 'normal').
Field
  name : String
The field's HTML name attribute (defaults to "").
Field
  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
  scope : Object
An object to use as the scope ("this" reference) of the handler function (defaults to this Checkbox).
Checkbox
  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
  width : Number
The width of this component in pixels (defaults to auto).
BoxComponent
  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
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By