-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-form.field.Display-method-constructor'><span id='Ext-form.field.Display'>/**
-</span></span> * @class Ext.form.field.Display
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../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-field-Display'>/**
+</span> * @class Ext.form.field.Display
* @extends Ext.form.field.Base
* <p>A display-only text field which is not validated and not submitted. This is useful for when you want
* to display a value from a form's {@link Ext.form.Basic#load loaded data} but do not want to allow the
renderTo: Ext.getBody()
});
</code></pre>
-
- * @constructor
- * Creates a new DisplayField.
- * @param {Object} config Configuration options
- *
- * @xtype displayfield
*/
Ext.define('Ext.form.field.Display', {
extend:'Ext.form.field.Base',
}
],
-<span id='Ext-form.field.Display-cfg-fieldCls'> /**
+<span id='Ext-form-field-Display-cfg-fieldCls'> /**
</span> * @cfg {String} fieldCls The default CSS class for the field (defaults to <tt>"x-form-display-field"</tt>)
*/
fieldCls: Ext.baseCSSPrefix + 'form-display-field',
-<span id='Ext-form.field.Display-cfg-htmlEncode'> /**
+<span id='Ext-form-field-Display-cfg-htmlEncode'> /**
</span> * @cfg {Boolean} htmlEncode <tt>false</tt> to skip HTML-encoding the text when rendering it (defaults to
* <tt>false</tt>). This might be useful if you want to include tags in the field's innerHTML rather than
* rendering them as string literals per the default logic.
return this.inputEl;
}
-<span id='Ext-form.field.Display-cfg-inputType'> /**
+<span id='Ext-form-field-Display-cfg-inputType'> /**
</span> * @cfg {String} inputType
* @hide
*/
-<span id='Ext-form.field.Display-cfg-disabled'> /**
+<span id='Ext-form-field-Display-cfg-disabled'> /**
</span> * @cfg {Boolean} disabled
* @hide
*/
-<span id='Ext-form.field.Display-cfg-readOnly'> /**
+<span id='Ext-form-field-Display-cfg-readOnly'> /**
</span> * @cfg {Boolean} readOnly
* @hide
*/
-<span id='Ext-form.field.Display-cfg-validateOnChange'> /**
+<span id='Ext-form-field-Display-cfg-validateOnChange'> /**
</span> * @cfg {Boolean} validateOnChange
* @hide
*/
-<span id='Ext-form.field.Display-cfg-checkChangeEvents'> /**
+<span id='Ext-form-field-Display-cfg-checkChangeEvents'> /**
</span> * @cfg {Number} checkChangeEvents
* @hide
*/
-<span id='Ext-form.field.Display-cfg-checkChangeBuffer'> /**
+<span id='Ext-form-field-Display-cfg-checkChangeBuffer'> /**
</span> * @cfg {Number} checkChangeBuffer
* @hide
*/
});
-</pre></pre></body></html>
\ No newline at end of file
+</pre>
+</body>
+</html>