Alien-Web-ExtJS-V3
view release on metacpan or search on metacpan
share/docs/source/Checkbox.html view on Meta::CPAN
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
<script type="text/javascript">
function highlight() {
document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
}
</script>
</head>
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js"><span id='Ext-form-Checkbox-method-constructor'><span id='Ext-form-Checkbox'>/**
</span></span> * @class Ext.form.Checkbox
* @extends Ext.form.Field
* Single checkbox field. Can be used as a direct replacement for traditional checkbox fields.
* @constructor
* Creates a new Checkbox
* @param {Object} config Configuration options
* @xtype checkbox
*/
Ext.form.Checkbox = Ext.extend(Ext.form.Field, {
<span id='Ext-form-Checkbox-cfg-focusClass'> /**
</span> * @cfg {String} focusClass The CSS class to use when the checkbox receives focus (defaults to undefined)
*/
focusClass : undefined,
<span id='Ext-form-Checkbox-cfg-fieldClass'> /**
</span> * @cfg {String} fieldClass The default CSS class for the checkbox (defaults to 'x-form-field')
*/
fieldClass : 'x-form-field',
<span id='Ext-form-Checkbox-cfg-checked'> /**
</span> * @cfg {Boolean} checked <tt>true</tt> if the checkbox should render initially checked (defaults to <tt>false</tt>)
*/
checked : false,
<span id='Ext-form-Checkbox-cfg-boxLabel'> /**
</span> * @cfg {String} boxLabel The text that appears beside the checkbox
*/
boxLabel: '&#160;',
<span id='Ext-form-Checkbox-cfg-autoCreate'> /**
</span> * @cfg {String/Object} autoCreate A DomHelper element spec, or true for a default element spec (defaults to
* {tag: 'input', type: 'checkbox', autocomplete: 'off'})
*/
defaultAutoCreate : { tag: 'input', type: 'checkbox', autocomplete: 'off'},
<span id='Ext-form-Checkbox-cfg-inputValue'> /**
</span> * @cfg {String} inputValue The value that should go into the generated input element's value attribute
*/
<span id='Ext-form-Checkbox-cfg-handler'> /**
</span> * @cfg {Function} handler A function called when the {@link #checked} value changes (can be used instead of
* handling the check event). The handler is passed the following parameters:
* <div class="mdetail-params"><ul>
* <li><b>checkbox</b> : Ext.form.Checkbox<div class="sub-desc">The Checkbox being toggled.</div></li>
* <li><b>checked</b> : Boolean<div class="sub-desc">The new checked state of the checkbox.</div></li>
* </ul></div>
*/
<span id='Ext-form-Checkbox-cfg-scope'> /**
</span> * @cfg {Object} scope An object to use as the scope ('this' reference) of the {@link #handler} function
* (defaults to this Checkbox).
*/
( run in 0.795 second using v1.01-cache-2.11-cpan-02777c243ea )