Added:
trunk/ExtJS2Samples/Web/App_Scripts/sscompat.debug.js
trunk/ExtJS2Samples/Web/App_Scripts/sscompat.js
Removed:
trunk/ExtJS2Samples/Web/App_Scripts/ssfx.UI.Forms.debug.js
trunk/ExtJS2Samples/Web/App_Scripts/ssfx.UI.Forms.js
trunk/ExtJS2Samples/Web/App_Scripts/ssmoz.debug.js
trunk/ExtJS2Samples/Web/App_Scripts/ssmoz.js
Modified:
trunk/CHANGELOG.txt
trunk/ExtJS2Parser/ExtJS2Parser/SourceConverter.cs
trunk/ExtJS2Parser/ExtSharp/ExtSharpAdapter.debug.js
trunk/ExtJS2Parser/ExtSharp/ExtSharpAdapter.js
trunk/ExtJS2Samples/SampleScripts/DefaultScript.cs
trunk/ExtJS2Samples/SampleScripts/SampleScripts.csproj
trunk/ExtJS2Samples/Web/App_Scripts/ExtSharp.debug.js
trunk/ExtJS2Samples/Web/App_Scripts/ExtSharp.js
trunk/ExtJS2Samples/Web/App_Scripts/SampleScripts.debug.js
trunk/ExtJS2Samples/Web/App_Scripts/SampleScripts.js
trunk/ExtJS2Samples/Web/App_Scripts/sscorlib.debug.js
trunk/ExtJS2Samples/Web/App_Scripts/sscorlib.js
trunk/ExtJS2Samples/Web/App_Scripts/ssfx.Core.debug.js
trunk/ExtJS2Samples/Web/App_Scripts/ssfx.Core.js
trunk/ExtJS2Samples/Web/web.config
Log:
05/24/2008 - teflon
* Updated code to use Script# v0.5.0.0
* Finally think I nailed down inheritance. You have to call the base
class constructor like so:
public class SamplePanel : Panel {
...
public SamplePanel(object config) {
Type.InvokeMethod(typeof
(SamplePanel), "superclass.constructor.call", this, config);
}
}
Modified: trunk/CHANGELOG.txt
==============================================================================
--- trunk/CHANGELOG.txt (original)
+++ trunk/CHANGELOG.txt Sat May 24 10:13:29 2008
@@ -1,3 +1,13 @@
+05/24/2008 - teflon
+* Updated code to use Script# v0.5.0.0
+* Finally think I nailed down inheritance. You have to call the base
class constructor like so:
+ public class SamplePanel : Panel {
+ ...
+ public SamplePanel(object config) {
+ Type.InvokeMethod(typeof
(SamplePanel), "superclass.constructor.call", this, config);
+ }
+ }
+
04/22/2008 - teflon
* Updated ExtSharp to use ExtJS 2.1
* Fixed Issue #10 - http://code.google.com/p/extsharp/issues/detail?id=10
Modified: trunk/ExtJS2Parser/ExtJS2Parser/SourceConverter.cs
==============================================================================
--- trunk/ExtJS2Parser/ExtJS2Parser/SourceConverter.cs (original)
+++ trunk/ExtJS2Parser/ExtJS2Parser/SourceConverter.cs Sat May 24
10:13:29 2008
@@ -120,14 +120,21 @@
sb.AppendLine(" var sp = typeof b.superclass != 'undefined';");
sb.AppendLine(" // if the base type is an ExtJS class");
sb.AppendLine(" if(sp || (ct &&
ct.substring(0,3)=='Ext')) {");
- sb.AppendLine(" // stop Script# from copying members");
- sb.AppendLine(" delete this.__basePrototypePending;");
sb.AppendLine(" // ugly, I know, but i don't
know any other way to accoplish this");
- sb.AppendLine(" eval(n+' = Ext.extend(b, this.prototype);');");
- sb.AppendLine(" this._createClass(n);");
+ sb.AppendLine(" eval('Ext.extend(' + n + ', b, this.prototype);');");
+ sb.AppendLine(" ");
+ sb.AppendLine(" // prevent Script# from copying members");
+ sb.AppendLine(" delete this.__basePrototypePending;");
+ sb.AppendLine(" ");
+ sb.AppendLine(" // copied from Type.prototype.createClass");
+ sb.AppendLine(" this.__typeName = n;");
+ sb.AppendLine(" this.__class = true;");
+ sb.AppendLine(" this.__baseType = Object;");
+ sb.AppendLine(" ");
sb.AppendLine(" return;");
sb.AppendLine(" }");
sb.AppendLine(" }");
+ sb.AppendLine(" // call the original createClass
function if there isn't a baseType");
sb.AppendLine(" this._createClass(n,b,i);");
sb.AppendLine("}");
sb.AppendLine();
@@ -137,7 +144,7 @@
sb.AppendLine("// Script# overwrites the String.replace()
method with a different implementation");
sb.AppendLine("// that replaces all occurences of the text
to search for instead of just the ");
sb.AppendLine("// first occurrence. This behavior breaks
the Ext DomQuery class. Luckily Script#");
- sb.AppendLine("// stores a backup of the original method,
so I'll just revert the change back");
+ sb.AppendLine("// stores a backup of the original method,
so I'll just revert the change back");
sb.AppendLine("// - sscorlib.debug.js, line #564");
sb.AppendLine("String.prototype.replace = String.prototype._replace;");
Modified: trunk/ExtJS2Parser/ExtSharp/ExtSharpAdapter.debug.js
==============================================================================
--- trunk/ExtJS2Parser/ExtSharp/ExtSharpAdapter.debug.js (original)
+++ trunk/ExtJS2Parser/ExtSharp/ExtSharpAdapter.debug.js Sat May 24
10:13:29 2008
@@ -37,14 +37,21 @@
var sp = typeof b.superclass != 'undefined';
// if the base type is an ExtJS class
if(sp || (ct && ct.substring(0,3)=='Ext')) {
- // stop Script# from copying members
- delete this.__basePrototypePending;
// ugly, I know, but i don't know any other way to
accoplish this
- eval(n+' = Ext.extend(b, this.prototype);');
- this._createClass(n);
+ eval('Ext.extend(' + n + ', b, this.prototype);');
+
+ // prevent Script# from copying members
+ delete this.__basePrototypePending;
+
+ // copied from Type.prototype.createClass
+ this.__typeName = n;
+ this.__class = true;
+ this.__baseType = Object;
+
return;
}
}
+ // call the original createClass function if there isn't a baseType
this._createClass(n,b,i);
}
@@ -54,6 +61,6 @@
// Script# overwrites the String.replace() method with a different implementation
// that replaces all occurences of the text to search for instead of
just the
// first occurrence. This behavior breaks the Ext DomQuery class.
Luckily Script#
-// stores a backup of the original method, so I'll just revert the
change back
+// stores a backup of the original method, so I'll just revert the
change back
// - sscorlib.debug.js, line #564
String.prototype.replace = String.prototype._replace;
Modified: trunk/ExtJS2Parser/ExtSharp/ExtSharpAdapter.js
==============================================================================
--- trunk/ExtJS2Parser/ExtSharp/ExtSharpAdapter.js (original)
+++ trunk/ExtJS2Parser/ExtSharp/ExtSharpAdapter.js Sat May 24 10:13:29 2008
@@ -1,4 +1,4 @@
-ExtClass=Ext;Ext.UpdaterClass=Ext.Updater;Ext.SplitBarClass=Ext.SplitBar;Ext.ToolbarClass=Ext.Toolbar;Ext.WindowClass=Ext.Window;Ext.form.ActionClass=Ext.form.Action;Ext.layout.BorderLayoutClass=Ext.layout.BorderLayout;Ext.DomQuery.is_=Ext.DomQuery.is;Ext.Element.is_=Ext.Element.is;Ext.override_=Ext.override;Ext.namespace_=Ext.namespace;Ext.dd.DragDrop.lock_=Ext.dd.DragDrop.lock;Ext.dd.DragDropMgr.lock_=Ext.dd.DragDropMgr.lock;Ext.grid.AbstractSelectionModel.lock_=Ext.grid.AbstractSelectionModel.lock;Ext.form.Action.params_=Ext.form.Action.params;Ext.form.Checkbox.checked_=Ext.form.Checkbox.checked;Ext.grid.ColumnModel.fixed_=Ext.grid.ColumnModel.fixed;Ext.menu.CheckItem.checked_=Ext.menu.CheckItem.checked;Type.prototype._createClass=Type.prototype.createClass;Type.prototype.createClass=function(n,b,i){if(b){var
ct=b.prototype.ctype;var sp=typeof b.superclass!='undefined';if(sp||
(ct&&ct.substring(0,3)=='Ext')){delete
this.__basePrototypePending;eval(n+' = Ext.extend(b, this.prototype);');this._createClass(n);return;}}
+ExtClass=Ext;Ext.UpdaterClass=Ext.Updater;Ext.SplitBarClass=Ext.SplitBar;Ext.ToolbarClass=Ext.Toolbar;Ext.WindowClass=Ext.Window;Ext.form.ActionClass=Ext.form.Action;Ext.layout.BorderLayoutClass=Ext.layout.BorderLayout;Ext.DomQuery.is_=Ext.DomQuery.is;Ext.Element.is_=Ext.Element.is;Ext.override_=Ext.override;Ext.namespace_=Ext.namespace;Ext.dd.DragDrop.lock_=Ext.dd.DragDrop.lock;Ext.dd.DragDropMgr.lock_=Ext.dd.DragDropMgr.lock;Ext.grid.AbstractSelectionModel.lock_=Ext.grid.AbstractSelectionModel.lock;Ext.form.Action.params_=Ext.form.Action.params;Ext.form.Checkbox.checked_=Ext.form.Checkbox.checked;Ext.grid.ColumnModel.fixed_=Ext.grid.ColumnModel.fixed;Ext.menu.CheckItem.checked_=Ext.menu.CheckItem.checked;Type.prototype._createClass=Type.prototype.createClass;Type.prototype.createClass=function(n,b,i){if(b){var
ct=b.prototype.ctype;var sp=typeof b.superclass!='undefined';if(sp||
(ct&&ct.substring(0,3)=='Ext')){eval('Ext.extend('+n+', b,
this.prototype);');delete this.__basePrototypePending;this.__typeName=n;this.__class=true;this.__baseType=Object;return;}}
this._createClass(n,b,i);}
String.prototype.replace=String.prototype._replace;
Modified: trunk/ExtJS2Samples/SampleScripts/DefaultScript.cs
==============================================================================
--- trunk/ExtJS2Samples/SampleScripts/DefaultScript.cs (original)
+++ trunk/ExtJS2Samples/SampleScripts/DefaultScript.cs Sat May 24
10:13:29 2008
@@ -18,10 +18,12 @@
"</tpl>" +
"</dl><div style=\"clear:both\"></div>");
- public SamplePanel(object config) : base(config) { }
+ public SamplePanel(object config) {
+ Type.InvokeMethod(typeof
(SamplePanel), "superclass.constructor.call", this, config);
+ }
public void afterRender() {
- Script.Eval("SampleScripts.SamplePanel.superclass.afterRender.call(this);");
+
Type.InvokeMethod(typeof(SamplePanel), "superclass.afterRender.call", this);
tpl.overwrite(Type.GetField(this, "body"), this);
}
}
Modified: trunk/ExtJS2Samples/SampleScripts/SampleScripts.csproj
==============================================================================
--- trunk/ExtJS2Samples/SampleScripts/SampleScripts.csproj (original)
+++ trunk/ExtJS2Samples/SampleScripts/SampleScripts.csproj Sat May 24
10:13:29 2008
@@ -37,7 +37,6 @@
</Reference>
<Reference Include="sscorlib" />
<Reference Include="ssfx.Core" />
- <Reference Include="ssfx.UI.Forms" />
</ItemGroup>
<ItemGroup>
<Content Include="Properties\Script.jst" />
Modified: trunk/ExtJS2Samples/Web/App_Scripts/ExtSharp.debug.js
==============================================================================
--- trunk/ExtJS2Samples/Web/App_Scripts/ExtSharp.debug.js (original)
+++ trunk/ExtJS2Samples/Web/App_Scripts/ExtSharp.debug.js Sat May 24
10:13:29 2008
@@ -8,46 +8,93 @@
// Ext.ActionConfig
Ext.ActionConfig = function Ext_ActionConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.ActionConfig.prototype = {
text: function Ext_ActionConfig$text(value) {
+ /// <summary>
+ /// The text to set for all components using this action
(defaults to '').
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ActionConfig"></returns>
this.o['text'] = value;
return this;
},
iconCls: function Ext_ActionConfig$iconCls(value) {
+ /// <summary>
+ /// The icon CSS class for all components using this action
(defaults to ''). The class should supply a background image that will
be used as the icon image.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ActionConfig"></returns>
this.o['iconCls'] = value;
return this;
},
disabled: function Ext_ActionConfig$disabled(value) {
+ /// <summary>
+ /// True to disable all components using this action, false to
enable them (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ActionConfig"></returns>
this.o['disabled'] = value;
return this;
},
hidden: function Ext_ActionConfig$hidden(value) {
+ /// <summary>
+ /// True to hide all components using this action, false to
show them (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ActionConfig"></returns>
this.o['hidden'] = value;
return this;
},
handler: function Ext_ActionConfig$handler(value) {
+ /// <summary>
+ /// The function that will be invoked by each component tied
to this action when the component's primary event is triggered
(defaults to undefined).
+ /// </summary>
+ /// <param name="value" type="Delegate">
+ /// </param>
+ /// <returns type="Ext.ActionConfig"></returns>
this.o['handler'] = value;
return this;
},
scope: function Ext_ActionConfig$scope(value) {
+ /// <summary>
+ /// The scope in which the {@link #handler} function will execute.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ActionConfig"></returns>
this.o['scope'] = value;
return this;
},
custom: function Ext_ActionConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ActionConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_ActionConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -57,56 +104,115 @@
// Ext.AjaxConfig
Ext.AjaxConfig = function Ext_AjaxConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.AjaxConfig.prototype = {
url: function Ext_AjaxConfig$url(value) {
+ /// <summary>
+ /// (Optional) The default URL to be used for requests to the
server. (defaults to undefined)
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o['url'] = value;
return this;
},
extraParams: function Ext_AjaxConfig$extraParams(value) {
+ /// <summary>
+ /// (Optional) An object containing properties which are used
as extra parameters to each request made by this object. (defaults to undefined)
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o['extraParams'] = value;
return this;
},
defaultHeaders: function Ext_AjaxConfig$defaultHeaders(value) {
+ /// <summary>
+ /// (Optional) An object containing request headers which are
added to each request made by this object. (defaults to undefined)
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o['defaultHeaders'] = value;
return this;
},
method: function Ext_AjaxConfig$method(value) {
+ /// <summary>
+ /// (Optional) The default HTTP method to be used for
requests. (defaults to undefined; if not set, but {@link #request}
params are present, POST will be used; otherwise, GET will be used.)
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o['method'] = value;
return this;
},
timeout: function Ext_AjaxConfig$timeout(value) {
+ /// <summary>
+ /// (Optional) The timeout in milliseconds to be used for
requests. (defaults to 30000)
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o['timeout'] = value;
return this;
},
autoAbort: function Ext_AjaxConfig$autoAbort(value) {
+ /// <summary>
+ /// (Optional) Whether this request should abort any pending
requests. (defaults to false) @type Boolean
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o['autoAbort'] = value;
return this;
},
disableCaching: function Ext_AjaxConfig$disableCaching(value) {
+ /// <summary>
+ /// (Optional) True to add a unique cache-buster param to GET
requests. (defaults to true) @type Boolean
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o['disableCaching'] = value;
return this;
},
listeners: function Ext_AjaxConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_AjaxConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.AjaxConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_AjaxConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -116,146 +222,315 @@
// Ext.BoxComponentConfig
Ext.BoxComponentConfig = function Ext_BoxComponentConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.BoxComponentConfig.prototype = {
x: function Ext_BoxComponentConfig$x(value) {
+ /// <summary>
+ /// The local x (left) coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['x'] = value;
return this;
},
y: function Ext_BoxComponentConfig$y(value) {
+ /// <summary>
+ /// The local y (top) coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['y'] = value;
return this;
},
pageX: function Ext_BoxComponentConfig$pageX(value) {
+ /// <summary>
+ /// The page level x coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['pageX'] = value;
return this;
},
pageY: function Ext_BoxComponentConfig$pageY(value) {
+ /// <summary>
+ /// The page level y coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['pageY'] = value;
return this;
},
height: function Ext_BoxComponentConfig$height(value) {
+ /// <summary>
+ /// The height of this component in pixels (defaults to auto).
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['height'] = value;
return this;
},
width: function Ext_BoxComponentConfig$width(value) {
+ /// <summary>
+ /// The width of this component in pixels (defaults to auto).
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['width'] = value;
return this;
},
autoHeight: function Ext_BoxComponentConfig$autoHeight(value) {
+ /// <summary>
+ /// True to use height:'auto', false to use fixed height.
Note: although many components inherit this config option, not all will
function as expected with a height of 'auto'. (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['autoHeight'] = value;
return this;
},
autoWidth: function Ext_BoxComponentConfig$autoWidth(value) {
+ /// <summary>
+ /// True to use width:'auto', false to use fixed width. Note:
although many components inherit this config option, not all will
function as expected with a width of 'auto'. (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['autoWidth'] = value;
return this;
},
xtype: function Ext_BoxComponentConfig$xtype(value) {
+ /// <summary>
+ /// The registered xtype to create. This config option is not
used when passing a config object into a constructor. This config
option is used only when lazy instantiation is being used, and a child
item of a Container is being specified not as a fully instantiated
Component, but as a Component config object. The xtype will be looked
up at render time up to determine what type of child Component to create.
+ /// The predefined xtypes are listed at the top of this document.
+ /// If you subclass Components to create your own Components,
you may register them using Ext.ComponentMgr.registerType in order to
be able to take advantage of lazy instantiation and rendering.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['xtype'] = value;
return this;
},
id: function Ext_BoxComponentConfig$id(value) {
+ /// <summary>
+ /// The unique id of this component (defaults to an
auto-assigned id).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['id'] = value;
return this;
},
autoEl: function Ext_BoxComponentConfig$autoEl(value) {
+ /// <summary>
+ /// {String/Object} A tag name or DomHelper spec to create an
element with. This is intended to create shorthand utility components
inline via JSON. It should not be used for higher level components
which already create their own elements. Example usage: <pre><code>
{xtype:'box', autoEl: 'div', cls:'my-class'} {xtype:'box', autoEl:
{tag:'blockquote', html:'autoEl is cool!'}} // with DomHelper </code></pre>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['autoEl'] = value;
return this;
},
cls: function Ext_BoxComponentConfig$cls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element (defaults to ''). This can be useful for adding
customized styles to the component or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['cls'] = value;
return this;
},
overCls: function Ext_BoxComponentConfig$overCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element when the mouse moves over the Element, and removed
when the mouse moves out. (defaults to ''). This can be useful for
adding customized "active" or "hover" styles to the component or any of
its children using standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['overCls'] = value;
return this;
},
style: function Ext_BoxComponentConfig$style(value) {
+ /// <summary>
+ /// A custom style specification to be applied to this
component's Element. Should be a valid argument to {@link Ext.Element#applyStyles}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['style'] = value;
return this;
},
ctCls: function Ext_BoxComponentConfig$ctCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's container (defaults to ''). This can be useful for adding
customized styles to the container or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['ctCls'] = value;
return this;
},
plugins: function Ext_BoxComponentConfig$plugins(value) {
+ /// <summary>
+ /// {Object/Array} An object or array of objects that will
provide custom functionality for this component. The only requirement
for a valid plugin is that it contain an init method that accepts a
reference of type Ext.Component. When a component is created, if any
plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call
methods or respond to events on the component as needed to provide its functionality.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['plugins'] = value;
return this;
},
applyTo: function Ext_BoxComponentConfig$applyTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element
corresponding to a DIV that is already present in the document that
specifies some structural markup for this component. When applyTo is
used, constituent parts of the component can also be specified by id or
CSS class name within the main element, and the component being created
may attempt to create its subcomponents from that markup if applicable.
Using this config, a call to render() is not required. If applyTo is
specified, any value passed for {@link #renderTo} will be ignored and
the target element's parent node will automatically be used as the
component's container.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['applyTo'] = value;
return this;
},
renderTo: function Ext_BoxComponentConfig$renderTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element that
will be the container to render this component into. Using this config,
a call to render() is not required.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['renderTo'] = value;
return this;
},
stateful: function Ext_BoxComponentConfig$stateful(value) {
+ /// <summary>
+ /// A flag which causes the Component to attempt to restore
the state of internal properties from a saved state on startup.<p> For
state saving to work, the state manager's provider must have been set
to an implementation of {@link Ext.state.Provider} which overrides the
{@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get
get} methods to save and recall name/value pairs. A built-in
implementation, {@link Ext.state.CookieProvider} is available.</p><p>To
set the state provider for the current page:</p><pre><code>
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
</code></pre><p>Components attempt to save state when one of the events
listed in the {@link #stateEvents} configuration fires.</p><p>You can
perform extra processing on state save and restore by attaching
handlers to the {@link #beforestaterestore}, {@link staterestore},
{@link beforestatesave} and {@link statesave} events</p>
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['stateful'] = value;
return this;
},
stateId: function Ext_BoxComponentConfig$stateId(value) {
+ /// <summary>
+ /// The unique id for this component to use for state
management purposes (defaults to the component id). <p>See {@link
#stateful} for an explanation of saving and restoring Component state.</p>
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['stateId'] = value;
return this;
},
disabledClass: function
Ext_BoxComponentConfig$disabledClass(value) {
+ /// <summary>
+ /// CSS class added to the component when it is disabled
(defaults to "x-item-disabled").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['disabledClass'] = value;
return this;
},
allowDomMove: function Ext_BoxComponentConfig$allowDomMove(value) {
+ /// <summary>
+ /// Whether the component can move the Dom node when rendering
(defaults to true).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['allowDomMove'] = value;
return this;
},
autoShow: function Ext_BoxComponentConfig$autoShow(value) {
+ /// <summary>
+ /// True if the component should check for hidden classes
(e.g. 'x-hidden' or 'x-hide-display') and remove them on render
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['autoShow'] = value;
return this;
},
hideMode: function Ext_BoxComponentConfig$hideMode(value) {
+ /// <summary>
+ /// How this component should hidden. Supported values
are "visibility" (css visibility), "offsets" (negative offset position)
and "display" (css display) - defaults to "display".
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['hideMode'] = value;
return this;
},
hideParent: function Ext_BoxComponentConfig$hideParent(value) {
+ /// <summary>
+ /// True to hide and show the component's container when
hide/show is called on the component, false to hide and show the
component itself (defaults to false). For example, this can be used as
a shortcut for a hide button on a window by setting hide:true on the
button when adding it to its parent container.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['hideParent'] = value;
return this;
},
listeners: function Ext_BoxComponentConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_BoxComponentConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.BoxComponentConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_BoxComponentConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -267,9 +542,23 @@
Ext.BoxComponentEvents = function Ext_BoxComponentEvents() {
}
Ext.BoxComponentEvents.get_resize = function
Ext_BoxComponentEvents$get_resize() {
+ /// <summary>
+ /// Fires after the component is resized.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis, {Number} adjWidth, {Number}
adjHeight, {Number} rawWidth, {Number} rawHeight)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>adjWidth</b></term><description>The
box-adjusted width that was
set</description></item><item><term><b>adjHeight</b></term><description>The
box-adjusted height that was
set</description></item><item><term><b>rawWidth</b></term><description>The
width that was originally
specified</description></item><item><term><b>rawHeight</b></term><description>The
height that was originally specified</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'resize';
}
Ext.BoxComponentEvents.get_move = function
Ext_BoxComponentEvents$get_move() {
+ /// <summary>
+ /// Fires after the component is moved.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis, {Number} x, {Number} y)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>x</b></term><description>The
new x
position</description></item><item><term><b>y</b></term><description>The
new y position</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'move';
}
@@ -278,221 +567,480 @@
// Ext.ButtonConfig
Ext.ButtonConfig = function Ext_ButtonConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.ButtonConfig.prototype = {
text: function Ext_ButtonConfig$text(value) {
+ /// <summary>
+ /// The button text
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['text'] = value;
return this;
},
icon: function Ext_ButtonConfig$icon(value) {
+ /// <summary>
+ /// The path to an image to display in the button (the image
will be set as the background-image
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['icon'] = value;
return this;
},
handler: function Ext_ButtonConfig$handler(value) {
+ /// <summary>
+ /// A function called when the button is clicked (can be used
instead of click event)
+ /// </summary>
+ /// <param name="value" type="Delegate">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['handler'] = value;
return this;
},
scope: function Ext_ButtonConfig$scope(value) {
+ /// <summary>
+ /// The scope of the handler
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['scope'] = value;
return this;
},
minWidth: function Ext_ButtonConfig$minWidth(value) {
+ /// <summary>
+ /// The minimum width for this button (used to give a set of
buttons a common width)
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['minWidth'] = value;
return this;
},
tooltip: function Ext_ButtonConfig$tooltip(value) {
+ /// <summary>
+ /// {String/Object} The tooltip for the button - can be a
string or QuickTips config object
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['tooltip'] = value;
return this;
},
hidden: function Ext_ButtonConfig$hidden(value) {
+ /// <summary>
+ /// True to start hidden (defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['hidden'] = value;
return this;
},
disabled: function Ext_ButtonConfig$disabled(value) {
+ /// <summary>
+ /// True to start disabled (defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['disabled'] = value;
return this;
},
pressed: function Ext_ButtonConfig$pressed(value) {
+ /// <summary>
+ /// True to start pressed (only if enableToggle = true)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['pressed'] = value;
return this;
},
toggleGroup: function Ext_ButtonConfig$toggleGroup(value) {
+ /// <summary>
+ /// The group this toggle button is a member of (only 1 per
group can be pressed, only
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['toggleGroup'] = value;
return this;
},
repeat: function Ext_ButtonConfig$repeat(value) {
+ /// <summary>
+ /// {Boolean/Object} True to repeat fire the click event while
the mouse is down. This can also be
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['repeat'] = value;
return this;
},
tabIndex: function Ext_ButtonConfig$tabIndex(value) {
+ /// <summary>
+ /// Set a DOM tabIndex for this button (defaults to undefined)
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['tabIndex'] = value;
return this;
},
allowDepress: function Ext_ButtonConfig$allowDepress(value) {
+ /// <summary>
+ /// True to allow a pressed Button to be depressed (defaults
to false). Only valid when {@link #enableToggle} is true.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['allowDepress'] = value;
return this;
},
enableToggle: function Ext_ButtonConfig$enableToggle(value) {
+ /// <summary>
+ /// True to enable pressed/not pressed toggling (defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['enableToggle'] = value;
return this;
},
toggleHandler: function Ext_ButtonConfig$toggleHandler(value) {
+ /// <summary>
+ /// Function called when a Button with {@link #enableToggle}
set to true is clicked. Two arguments are passed:<ul
class="mdetail-params"><li><b>button</b> : Ext.Button<div
class="sub-desc">this Button object</div></li><li><b>state</b> :
Boolean<div class="sub-desc">The next state if the Button, true means pressed.</div></li></ul>
+ /// </summary>
+ /// <param name="value" type="Delegate">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['toggleHandler'] = value;
return this;
},
menu: function Ext_ButtonConfig$menu(value) {
+ /// <summary>
+ /// Standard menu attribute consisting of a reference to a
menu object, a menu id or a menu config blob (defaults to undefined).
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['menu'] = value;
return this;
},
menuAlign: function Ext_ButtonConfig$menuAlign(value) {
+ /// <summary>
+ /// The position to align the menu to (see {@link
Ext.Element#alignTo} for more details, defaults to 'tl-bl?').
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['menuAlign'] = value;
return this;
},
iconCls: function Ext_ButtonConfig$iconCls(value) {
+ /// <summary>
+ /// A css class which sets a background image to be used as
the icon for this button
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['iconCls'] = value;
return this;
},
type: function Ext_ButtonConfig$type(value) {
+ /// <summary>
+ /// submit, reset or button - defaults to 'button'
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['type'] = value;
return this;
},
clickEvent: function Ext_ButtonConfig$clickEvent(value) {
+ /// <summary>
+ /// The type of event to map to the button's event handler
(defaults to 'click')
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['clickEvent'] = value;
return this;
},
handleMouseEvents: function
Ext_ButtonConfig$handleMouseEvents(value) {
+ /// <summary>
+ /// False to disable visual cues on mouseover, mouseout and
mousedown (defaults to true)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['handleMouseEvents'] = value;
return this;
},
tooltipType: function Ext_ButtonConfig$tooltipType(value) {
+ /// <summary>
+ /// The type of tooltip to use. Either "qtip" (default) for
QuickTips or "title" for title attribute.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['tooltipType'] = value;
return this;
},
template: function Ext_ButtonConfig$template(value) {
+ /// <summary>
+ /// (Optional) An {@link Ext.Template} with which to create
the Button's main element. This Template must contain numeric
substitution parameter 0 if it is to display the text property.
Changing the template could require code modifications if required
elements (e.g. a button) aren't present.
+ /// </summary>
+ /// <param name="value" type="Ext.Template">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['template'] = value;
return this;
},
cls: function Ext_ButtonConfig$cls(value) {
+ /// <summary>
+ /// A CSS class string to apply to the button's main element.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['cls'] = value;
return this;
},
xtype: function Ext_ButtonConfig$xtype(value) {
+ /// <summary>
+ /// The registered xtype to create. This config option is not
used when passing a config object into a constructor. This config
option is used only when lazy instantiation is being used, and a child
item of a Container is being specified not as a fully instantiated
Component, but as a Component config object. The xtype will be looked
up at render time up to determine what type of child Component to create.
+ /// The predefined xtypes are listed at the top of this document.
+ /// If you subclass Components to create your own Components,
you may register them using Ext.ComponentMgr.registerType in order to
be able to take advantage of lazy instantiation and rendering.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['xtype'] = value;
return this;
},
id: function Ext_ButtonConfig$id(value) {
+ /// <summary>
+ /// The unique id of this component (defaults to an
auto-assigned id).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['id'] = value;
return this;
},
autoEl: function Ext_ButtonConfig$autoEl(value) {
+ /// <summary>
+ /// {String/Object} A tag name or DomHelper spec to create an
element with. This is intended to create shorthand utility components
inline via JSON. It should not be used for higher level components
which already create their own elements. Example usage: <pre><code>
{xtype:'box', autoEl: 'div', cls:'my-class'} {xtype:'box', autoEl:
{tag:'blockquote', html:'autoEl is cool!'}} // with DomHelper </code></pre>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['autoEl'] = value;
return this;
},
overCls: function Ext_ButtonConfig$overCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element when the mouse moves over the Element, and removed
when the mouse moves out. (defaults to ''). This can be useful for
adding customized "active" or "hover" styles to the component or any of
its children using standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['overCls'] = value;
return this;
},
style: function Ext_ButtonConfig$style(value) {
+ /// <summary>
+ /// A custom style specification to be applied to this
component's Element. Should be a valid argument to {@link Ext.Element#applyStyles}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['style'] = value;
return this;
},
ctCls: function Ext_ButtonConfig$ctCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's container (defaults to ''). This can be useful for adding
customized styles to the container or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['ctCls'] = value;
return this;
},
plugins: function Ext_ButtonConfig$plugins(value) {
+ /// <summary>
+ /// {Object/Array} An object or array of objects that will
provide custom functionality for this component. The only requirement
for a valid plugin is that it contain an init method that accepts a
reference of type Ext.Component. When a component is created, if any
plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call
methods or respond to events on the component as needed to provide its functionality.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['plugins'] = value;
return this;
},
applyTo: function Ext_ButtonConfig$applyTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element
corresponding to a DIV that is already present in the document that
specifies some structural markup for this component. When applyTo is
used, constituent parts of the component can also be specified by id or
CSS class name within the main element, and the component being created
may attempt to create its subcomponents from that markup if applicable.
Using this config, a call to render() is not required. If applyTo is
specified, any value passed for {@link #renderTo} will be ignored and
the target element's parent node will automatically be used as the
component's container.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['applyTo'] = value;
return this;
},
renderTo: function Ext_ButtonConfig$renderTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element that
will be the container to render this component into. Using this config,
a call to render() is not required.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['renderTo'] = value;
return this;
},
stateful: function Ext_ButtonConfig$stateful(value) {
+ /// <summary>
+ /// A flag which causes the Component to attempt to restore
the state of internal properties from a saved state on startup.<p> For
state saving to work, the state manager's provider must have been set
to an implementation of {@link Ext.state.Provider} which overrides the
{@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get
get} methods to save and recall name/value pairs. A built-in
implementation, {@link Ext.state.CookieProvider} is available.</p><p>To
set the state provider for the current page:</p><pre><code>
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
</code></pre><p>Components attempt to save state when one of the events
listed in the {@link #stateEvents} configuration fires.</p><p>You can
perform extra processing on state save and restore by attaching
handlers to the {@link #beforestaterestore}, {@link staterestore},
{@link beforestatesave} and {@link statesave} events</p>
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['stateful'] = value;
return this;
},
stateId: function Ext_ButtonConfig$stateId(value) {
+ /// <summary>
+ /// The unique id for this component to use for state
management purposes (defaults to the component id). <p>See {@link
#stateful} for an explanation of saving and restoring Component state.</p>
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['stateId'] = value;
return this;
},
disabledClass: function Ext_ButtonConfig$disabledClass(value) {
+ /// <summary>
+ /// CSS class added to the component when it is disabled
(defaults to "x-item-disabled").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['disabledClass'] = value;
return this;
},
allowDomMove: function Ext_ButtonConfig$allowDomMove(value) {
+ /// <summary>
+ /// Whether the component can move the Dom node when rendering
(defaults to true).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['allowDomMove'] = value;
return this;
},
autoShow: function Ext_ButtonConfig$autoShow(value) {
+ /// <summary>
+ /// True if the component should check for hidden classes
(e.g. 'x-hidden' or 'x-hide-display') and remove them on render
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['autoShow'] = value;
return this;
},
hideMode: function Ext_ButtonConfig$hideMode(value) {
+ /// <summary>
+ /// How this component should hidden. Supported values
are "visibility" (css visibility), "offsets" (negative offset position)
and "display" (css display) - defaults to "display".
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['hideMode'] = value;
return this;
},
hideParent: function Ext_ButtonConfig$hideParent(value) {
+ /// <summary>
+ /// True to hide and show the component's container when
hide/show is called on the component, false to hide and show the
component itself (defaults to false). For example, this can be used as
a shortcut for a hide button on a window by setting hide:true on the
button when adding it to its parent container.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['hideParent'] = value;
return this;
},
listeners: function Ext_ButtonConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_ButtonConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ButtonConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_ButtonConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -504,27 +1052,83 @@
Ext.ButtonEvents = function Ext_ButtonEvents() {
}
Ext.ButtonEvents.get_click = function Ext_ButtonEvents$get_click() {
+ /// <summary>
+ /// Fires when this button is clicked
+ /// <pre><code>
+ /// USAGE: ({Button} objthis, {EventObject} e)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>e</b></term><description>The
click event</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'click';
}
Ext.ButtonEvents.get_toggle = function Ext_ButtonEvents$get_toggle() {
+ /// <summary>
+ /// Fires when the "pressed" state of this button changes (only if
enableToggle = true)
+ /// <pre><code>
+ /// USAGE: ({Button} objthis, {Boolean} pressed)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>pressed</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'toggle';
}
Ext.ButtonEvents.get_mouseover = function
Ext_ButtonEvents$get_mouseover() {
+ /// <summary>
+ /// Fires when the mouse hovers over the button
+ /// <pre><code>
+ /// USAGE: ({Button} objthis, {Event} e)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>e</b></term><description>The
event object</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'mouseover';
}
Ext.ButtonEvents.get_mouseout = function
Ext_ButtonEvents$get_mouseout() {
+ /// <summary>
+ /// Fires when the mouse exits the button
+ /// <pre><code>
+ /// USAGE: ({Button} objthis, {Event} e)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>e</b></term><description>The
event object</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'mouseout';
}
Ext.ButtonEvents.get_menushow = function
Ext_ButtonEvents$get_menushow() {
+ /// <summary>
+ /// If this button has a menu, this event fires when it is shown
+ /// <pre><code>
+ /// USAGE: ({Button} objthis, {Menu} menu)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>menu</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'menushow';
}
Ext.ButtonEvents.get_menuhide = function
Ext_ButtonEvents$get_menuhide() {
+ /// <summary>
+ /// If this button has a menu, this event fires when it is hidden
+ /// <pre><code>
+ /// USAGE: ({Button} objthis, {Menu} menu)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>menu</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'menuhide';
}
Ext.ButtonEvents.get_menutriggerover = function
Ext_ButtonEvents$get_menutriggerover() {
+ /// <summary>
+ /// If this button has a menu, this event fires when the mouse
enters the menu triggering element
+ /// <pre><code>
+ /// USAGE: ({Button} objthis, {Menu} menu, {EventObject} e)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>menu</b></term><description></description></item><item><term><b>e</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'menutriggerover';
}
Ext.ButtonEvents.get_menutriggerout = function
Ext_ButtonEvents$get_menutriggerout() {
+ /// <summary>
+ /// If this button has a menu, this event fires when the mouse
leaves the menu triggering element
+ /// <pre><code>
+ /// USAGE: ({Button} objthis, {Menu} menu, {EventObject} e)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>menu</b></term><description></description></item><item><term><b>e</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'menutriggerout';
}
@@ -533,126 +1137,271 @@
// Ext.ColorPaletteConfig
Ext.ColorPaletteConfig = function Ext_ColorPaletteConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.ColorPaletteConfig.prototype = {
tpl: function Ext_ColorPaletteConfig$tpl(value) {
+ /// <summary>
+ /// An existing XTemplate instance to be used in place of the
default template for rendering the component.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['tpl'] = value;
return this;
},
itemCls: function Ext_ColorPaletteConfig$itemCls(value) {
+ /// <summary>
+ /// The CSS class to apply to the containing element (defaults to "x-color-palette")
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['itemCls'] = value;
return this;
},
value: function Ext_ColorPaletteConfig$value(value) {
+ /// <summary>
+ /// The initial color to highlight (should be a valid 6-digit
color hex code without the # symbol). Note that the hex codes are case-sensitive.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['value'] = value;
return this;
},
allowReselect: function
Ext_ColorPaletteConfig$allowReselect(value) {
+ /// <summary>
+ /// If set to true then reselecting a color that is already
selected fires the selection event
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['allowReselect'] = value;
return this;
},
xtype: function Ext_ColorPaletteConfig$xtype(value) {
+ /// <summary>
+ /// The registered xtype to create. This config option is not
used when passing a config object into a constructor. This config
option is used only when lazy instantiation is being used, and a child
item of a Container is being specified not as a fully instantiated
Component, but as a Component config object. The xtype will be looked
up at render time up to determine what type of child Component to create.
+ /// The predefined xtypes are listed at the top of this document.
+ /// If you subclass Components to create your own Components,
you may register them using Ext.ComponentMgr.registerType in order to
be able to take advantage of lazy instantiation and rendering.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['xtype'] = value;
return this;
},
id: function Ext_ColorPaletteConfig$id(value) {
+ /// <summary>
+ /// The unique id of this component (defaults to an
auto-assigned id).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['id'] = value;
return this;
},
autoEl: function Ext_ColorPaletteConfig$autoEl(value) {
+ /// <summary>
+ /// {String/Object} A tag name or DomHelper spec to create an
element with. This is intended to create shorthand utility components
inline via JSON. It should not be used for higher level components
which already create their own elements. Example usage: <pre><code>
{xtype:'box', autoEl: 'div', cls:'my-class'} {xtype:'box', autoEl:
{tag:'blockquote', html:'autoEl is cool!'}} // with DomHelper </code></pre>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['autoEl'] = value;
return this;
},
cls: function Ext_ColorPaletteConfig$cls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element (defaults to ''). This can be useful for adding
customized styles to the component or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['cls'] = value;
return this;
},
overCls: function Ext_ColorPaletteConfig$overCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element when the mouse moves over the Element, and removed
when the mouse moves out. (defaults to ''). This can be useful for
adding customized "active" or "hover" styles to the component or any of
its children using standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['overCls'] = value;
return this;
},
style: function Ext_ColorPaletteConfig$style(value) {
+ /// <summary>
+ /// A custom style specification to be applied to this
component's Element. Should be a valid argument to {@link Ext.Element#applyStyles}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['style'] = value;
return this;
},
ctCls: function Ext_ColorPaletteConfig$ctCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's container (defaults to ''). This can be useful for adding
customized styles to the container or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['ctCls'] = value;
return this;
},
plugins: function Ext_ColorPaletteConfig$plugins(value) {
+ /// <summary>
+ /// {Object/Array} An object or array of objects that will
provide custom functionality for this component. The only requirement
for a valid plugin is that it contain an init method that accepts a
reference of type Ext.Component. When a component is created, if any
plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call
methods or respond to events on the component as needed to provide its functionality.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['plugins'] = value;
return this;
},
applyTo: function Ext_ColorPaletteConfig$applyTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element
corresponding to a DIV that is already present in the document that
specifies some structural markup for this component. When applyTo is
used, constituent parts of the component can also be specified by id or
CSS class name within the main element, and the component being created
may attempt to create its subcomponents from that markup if applicable.
Using this config, a call to render() is not required. If applyTo is
specified, any value passed for {@link #renderTo} will be ignored and
the target element's parent node will automatically be used as the
component's container.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['applyTo'] = value;
return this;
},
renderTo: function Ext_ColorPaletteConfig$renderTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element that
will be the container to render this component into. Using this config,
a call to render() is not required.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['renderTo'] = value;
return this;
},
stateful: function Ext_ColorPaletteConfig$stateful(value) {
+ /// <summary>
+ /// A flag which causes the Component to attempt to restore
the state of internal properties from a saved state on startup.<p> For
state saving to work, the state manager's provider must have been set
to an implementation of {@link Ext.state.Provider} which overrides the
{@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get
get} methods to save and recall name/value pairs. A built-in
implementation, {@link Ext.state.CookieProvider} is available.</p><p>To
set the state provider for the current page:</p><pre><code>
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
</code></pre><p>Components attempt to save state when one of the events
listed in the {@link #stateEvents} configuration fires.</p><p>You can
perform extra processing on state save and restore by attaching
handlers to the {@link #beforestaterestore}, {@link staterestore},
{@link beforestatesave} and {@link statesave} events</p>
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['stateful'] = value;
return this;
},
stateId: function Ext_ColorPaletteConfig$stateId(value) {
+ /// <summary>
+ /// The unique id for this component to use for state
management purposes (defaults to the component id). <p>See {@link
#stateful} for an explanation of saving and restoring Component state.</p>
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['stateId'] = value;
return this;
},
disabledClass: function
Ext_ColorPaletteConfig$disabledClass(value) {
+ /// <summary>
+ /// CSS class added to the component when it is disabled
(defaults to "x-item-disabled").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['disabledClass'] = value;
return this;
},
allowDomMove: function Ext_ColorPaletteConfig$allowDomMove(value) {
+ /// <summary>
+ /// Whether the component can move the Dom node when rendering
(defaults to true).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['allowDomMove'] = value;
return this;
},
autoShow: function Ext_ColorPaletteConfig$autoShow(value) {
+ /// <summary>
+ /// True if the component should check for hidden classes
(e.g. 'x-hidden' or 'x-hide-display') and remove them on render
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['autoShow'] = value;
return this;
},
hideMode: function Ext_ColorPaletteConfig$hideMode(value) {
+ /// <summary>
+ /// How this component should hidden. Supported values
are "visibility" (css visibility), "offsets" (negative offset position)
and "display" (css display) - defaults to "display".
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['hideMode'] = value;
return this;
},
hideParent: function Ext_ColorPaletteConfig$hideParent(value) {
+ /// <summary>
+ /// True to hide and show the component's container when
hide/show is called on the component, false to hide and show the
component itself (defaults to false). For example, this can be used as
a shortcut for a hide button on a window by setting hide:true on the
button when adding it to its parent container.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['hideParent'] = value;
return this;
},
listeners: function Ext_ColorPaletteConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_ColorPaletteConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ColorPaletteConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_ColorPaletteConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -664,6 +1413,13 @@
Ext.ColorPaletteEvents = function Ext_ColorPaletteEvents() {
}
Ext.ColorPaletteEvents.get_select = function
Ext_ColorPaletteEvents$get_select() {
+ /// <summary>
+ /// Fires when a color is selected
+ /// <pre><code>
+ /// USAGE: ({ColorPalette} objthis, {String} color)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>color</b></term><description>The
6-digit color hex code (without the # symbol)</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'select';
}
@@ -672,106 +1428,227 @@
// Ext.ComponentConfig
Ext.ComponentConfig = function Ext_ComponentConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.ComponentConfig.prototype = {
xtype: function Ext_ComponentConfig$xtype(value) {
+ /// <summary>
+ /// The registered xtype to create. This config option is not
used when passing a config object into a constructor. This config
option is used only when lazy instantiation is being used, and a child
item of a Container is being specified not as a fully instantiated
Component, but as a Component config object. The xtype will be looked
up at render time up to determine what type of child Component to create.
+ /// The predefined xtypes are listed at the top of this document.
+ /// If you subclass Components to create your own Components,
you may register them using Ext.ComponentMgr.registerType in order to
be able to take advantage of lazy instantiation and rendering.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['xtype'] = value;
return this;
},
id: function Ext_ComponentConfig$id(value) {
+ /// <summary>
+ /// The unique id of this component (defaults to an
auto-assigned id).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['id'] = value;
return this;
},
autoEl: function Ext_ComponentConfig$autoEl(value) {
+ /// <summary>
+ /// {String/Object} A tag name or DomHelper spec to create an
element with. This is intended to create shorthand utility components
inline via JSON. It should not be used for higher level components
which already create their own elements. Example usage: <pre><code>
{xtype:'box', autoEl: 'div', cls:'my-class'} {xtype:'box', autoEl:
{tag:'blockquote', html:'autoEl is cool!'}} // with DomHelper </code></pre>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['autoEl'] = value;
return this;
},
cls: function Ext_ComponentConfig$cls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element (defaults to ''). This can be useful for adding
customized styles to the component or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['cls'] = value;
return this;
},
overCls: function Ext_ComponentConfig$overCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element when the mouse moves over the Element, and removed
when the mouse moves out. (defaults to ''). This can be useful for
adding customized "active" or "hover" styles to the component or any of
its children using standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['overCls'] = value;
return this;
},
style: function Ext_ComponentConfig$style(value) {
+ /// <summary>
+ /// A custom style specification to be applied to this
component's Element. Should be a valid argument to {@link Ext.Element#applyStyles}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['style'] = value;
return this;
},
ctCls: function Ext_ComponentConfig$ctCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's container (defaults to ''). This can be useful for adding
customized styles to the container or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['ctCls'] = value;
return this;
},
plugins: function Ext_ComponentConfig$plugins(value) {
+ /// <summary>
+ /// {Object/Array} An object or array of objects that will
provide custom functionality for this component. The only requirement
for a valid plugin is that it contain an init method that accepts a
reference of type Ext.Component. When a component is created, if any
plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call
methods or respond to events on the component as needed to provide its functionality.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['plugins'] = value;
return this;
},
applyTo: function Ext_ComponentConfig$applyTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element
corresponding to a DIV that is already present in the document that
specifies some structural markup for this component. When applyTo is
used, constituent parts of the component can also be specified by id or
CSS class name within the main element, and the component being created
may attempt to create its subcomponents from that markup if applicable.
Using this config, a call to render() is not required. If applyTo is
specified, any value passed for {@link #renderTo} will be ignored and
the target element's parent node will automatically be used as the
component's container.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['applyTo'] = value;
return this;
},
renderTo: function Ext_ComponentConfig$renderTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element that
will be the container to render this component into. Using this config,
a call to render() is not required.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['renderTo'] = value;
return this;
},
stateful: function Ext_ComponentConfig$stateful(value) {
+ /// <summary>
+ /// A flag which causes the Component to attempt to restore
the state of internal properties from a saved state on startup.<p> For
state saving to work, the state manager's provider must have been set
to an implementation of {@link Ext.state.Provider} which overrides the
{@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get
get} methods to save and recall name/value pairs. A built-in
implementation, {@link Ext.state.CookieProvider} is available.</p><p>To
set the state provider for the current page:</p><pre><code>
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
</code></pre><p>Components attempt to save state when one of the events
listed in the {@link #stateEvents} configuration fires.</p><p>You can
perform extra processing on state save and restore by attaching
handlers to the {@link #beforestaterestore}, {@link staterestore},
{@link beforestatesave} and {@link statesave} events</p>
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['stateful'] = value;
return this;
},
stateId: function Ext_ComponentConfig$stateId(value) {
+ /// <summary>
+ /// The unique id for this component to use for state
management purposes (defaults to the component id). <p>See {@link
#stateful} for an explanation of saving and restoring Component state.</p>
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['stateId'] = value;
return this;
},
disabledClass: function Ext_ComponentConfig$disabledClass(value) {
+ /// <summary>
+ /// CSS class added to the component when it is disabled
(defaults to "x-item-disabled").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['disabledClass'] = value;
return this;
},
allowDomMove: function Ext_ComponentConfig$allowDomMove(value) {
+ /// <summary>
+ /// Whether the component can move the Dom node when rendering
(defaults to true).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['allowDomMove'] = value;
return this;
},
autoShow: function Ext_ComponentConfig$autoShow(value) {
+ /// <summary>
+ /// True if the component should check for hidden classes
(e.g. 'x-hidden' or 'x-hide-display') and remove them on render
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['autoShow'] = value;
return this;
},
hideMode: function Ext_ComponentConfig$hideMode(value) {
+ /// <summary>
+ /// How this component should hidden. Supported values
are "visibility" (css visibility), "offsets" (negative offset position)
and "display" (css display) - defaults to "display".
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['hideMode'] = value;
return this;
},
hideParent: function Ext_ComponentConfig$hideParent(value) {
+ /// <summary>
+ /// True to hide and show the component's container when
hide/show is called on the component, false to hide and show the
component itself (defaults to false). For example, this can be used as
a shortcut for a hide button on a window by setting hide:true on the
button when adding it to its parent container.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['hideParent'] = value;
return this;
},
listeners: function Ext_ComponentConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_ComponentConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ComponentConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_ComponentConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -783,45 +1660,143 @@
Ext.ComponentEvents = function Ext_ComponentEvents() {
}
Ext.ComponentEvents.get_disable = function
Ext_ComponentEvents$get_disable() {
+ /// <summary>
+ /// Fires after the component is disabled.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'disable';
}
Ext.ComponentEvents.get_enable = function
Ext_ComponentEvents$get_enable() {
+ /// <summary>
+ /// Fires after the component is enabled.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'enable';
}
Ext.ComponentEvents.get_beforeshow = function
Ext_ComponentEvents$get_beforeshow() {
+ /// <summary>
+ /// Fires before the component is shown. Return false to stop the show.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforeshow';
}
Ext.ComponentEvents.get_show = function Ext_ComponentEvents$get_show() {
+ /// <summary>
+ /// Fires after the component is shown.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'show';
}
Ext.ComponentEvents.get_beforehide = function
Ext_ComponentEvents$get_beforehide() {
+ /// <summary>
+ /// Fires before the component is hidden. Return false to stop the hide.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforehide';
}
Ext.ComponentEvents.get_hide = function Ext_ComponentEvents$get_hide() {
+ /// <summary>
+ /// Fires after the component is hidden.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'hide';
}
Ext.ComponentEvents.get_beforerender = function
Ext_ComponentEvents$get_beforerender() {
+ /// <summary>
+ /// Fires before the component is rendered. Return false to stop
the render.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforerender';
}
Ext.ComponentEvents.get_render = function
Ext_ComponentEvents$get_render() {
+ /// <summary>
+ /// Fires after the component is rendered.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'render';
}
Ext.ComponentEvents.get_beforedestroy = function
Ext_ComponentEvents$get_beforedestroy() {
+ /// <summary>
+ /// Fires before the component is destroyed. Return false to stop
the destroy.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforedestroy';
}
Ext.ComponentEvents.get_destroy = function
Ext_ComponentEvents$get_destroy() {
+ /// <summary>
+ /// Fires after the component is destroyed.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis)
+ /// </code></pre><list type="bullet"><item><term><b>objthis</b></term><description></description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'destroy';
}
Ext.ComponentEvents.get_beforestaterestore = function
Ext_ComponentEvents$get_beforestaterestore() {
+ /// <summary>
+ /// Fires before the state of the component is restored. Return
false to stop the restore.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis, {Object} state)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>state</b></term><description>The
hash of state values</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforestaterestore';
}
Ext.ComponentEvents.get_staterestore = function
Ext_ComponentEvents$get_staterestore() {
+ /// <summary>
+ /// Fires after the state of the component is restored.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis, {Object} state)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>state</b></term><description>The
hash of state values</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'staterestore';
}
Ext.ComponentEvents.get_beforestatesave = function
Ext_ComponentEvents$get_beforestatesave() {
+ /// <summary>
+ /// Fires before the state of the component is saved to the
configured state provider. Return false to stop the save.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis, {Object} state)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>state</b></term><description>The
hash of state values</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforestatesave';
}
Ext.ComponentEvents.get_statesave = function
Ext_ComponentEvents$get_statesave() {
+ /// <summary>
+ /// Fires after the state of the component is saved to the
configured state provider.
+ /// <pre><code>
+ /// USAGE: ({Ext.Component} objthis, {Object} state)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>state</b></term><description>The
hash of state values</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'statesave';
}
@@ -830,16 +1805,27 @@
// Ext.ComponentMgrConfig
Ext.ComponentMgrConfig = function Ext_ComponentMgrConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.ComponentMgrConfig.prototype = {
custom: function Ext_ComponentMgrConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ComponentMgrConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_ComponentMgrConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -849,16 +1835,27 @@
// Ext.CompositeElementConfig
Ext.CompositeElementConfig = function Ext_CompositeElementConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.CompositeElementConfig.prototype = {
custom: function Ext_CompositeElementConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CompositeElementConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_CompositeElementConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -868,16 +1865,27 @@
// Ext.CompositeElementLiteConfig
Ext.CompositeElementLiteConfig = function
Ext_CompositeElementLiteConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.CompositeElementLiteConfig.prototype = {
custom: function Ext_CompositeElementLiteConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CompositeElementLiteConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function
Ext_CompositeElementLiteConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -887,181 +1895,389 @@
// Ext.ContainerConfig
Ext.ContainerConfig = function Ext_ContainerConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.ContainerConfig.prototype = {
defaultType: function Ext_ContainerConfig$defaultType(value) {
+ /// <summary>
+ /// The default type of container represented by this object
as registered in Ext.ComponentMgr (defaults to 'panel').
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['defaultType'] = value;
return this;
},
layout: function Ext_ContainerConfig$layout(value) {
+ /// <summary>
+ /// The layout type to be used in this container. If not
specified, a default {@link Ext.layout.ContainerLayout} will be created
and used. Valid values are: absolute, accordion, anchor, border, card,
column, fit, form and table. Specific config values for the chosen
layout type can be specified using {@link #layoutConfig}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['layout'] = value;
return this;
},
layoutConfig: function Ext_ContainerConfig$layoutConfig(value) {
+ /// <summary>
+ /// This is a config object containing properties specific to
the chosen layout (to be used in conjunction with the {@link #layout}
config value). For complete details regarding the valid config options
for each layout type, see the layout class corresponding to the type
specified:<ul class="mdetail-params"><li>{@link
Ext.layout.Absolute}</li><li>{@link
Ext.layout.Accordion}</li><li>{@link
Ext.layout.AnchorLayout}</li><li>{@link
Ext.layout.BorderLayout}</li><li>{@link
Ext.layout.CardLayout}</li><li>{@link
Ext.layout.ColumnLayout}</li><li>{@link
Ext.layout.FitLayout}</li><li>{@link
Ext.layout.FormLayout}</li><li>{@link Ext.layout.TableLayout}</li></ul>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['layoutConfig'] = value;
return this;
},
bufferResize: function Ext_ContainerConfig$bufferResize(value) {
+ /// <summary>
+ /// {Boolean/Number} When set to true (100 milliseconds) or a
number of milliseconds, the layout assigned for this container will
buffer the frequency it calculates and does a re-layout of components.
This is useful for heavy containers or containers with a large quantity
of sub-components for which frequent layout calls would be expensive.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['bufferResize'] = value;
return this;
},
activeItem: function Ext_ContainerConfig$activeItem(value) {
+ /// <summary>
+ /// {String/Number} A string component id or the numeric
index of the component that should be initially activated within the
container's layout on render. For example, activeItem: 'item-1' or
activeItem: 0 (index 0 = the first item in the container's collection).
activeItem only applies to layout styles that can display items one at
a time (like {@link Ext.layout.Accordion}, {@link
Ext.layout.CardLayout} and {@link Ext.layout.FitLayout}). Related to
{@link Ext.layout.ContainerLayout#activeItem}.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['activeItem'] = value;
return this;
},
items: function Ext_ContainerConfig$items(value) {
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['items'] = value;
return this;
},
defaults: function Ext_ContainerConfig$defaults(value) {
+ /// <summary>
+ /// A config object that will be applied to all components
added to this container either via the {@link #items} config or via the
{@link #add} or {@link #insert} methods. The defaults config can
contain any number of name/value property pairs to be added to each
item, and should be valid for the types of items being added to the
container. For example, to automatically apply padding to the body of
each of a set of contained {@link Ext.Panel} items, you could pass:
defaults: {bodyStyle:'padding:15px'}.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['defaults'] = value;
return this;
},
x: function Ext_ContainerConfig$x(value) {
+ /// <summary>
+ /// The local x (left) coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['x'] = value;
return this;
},
y: function Ext_ContainerConfig$y(value) {
+ /// <summary>
+ /// The local y (top) coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['y'] = value;
return this;
},
pageX: function Ext_ContainerConfig$pageX(value) {
+ /// <summary>
+ /// The page level x coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['pageX'] = value;
return this;
},
pageY: function Ext_ContainerConfig$pageY(value) {
+ /// <summary>
+ /// The page level y coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['pageY'] = value;
return this;
},
height: function Ext_ContainerConfig$height(value) {
+ /// <summary>
+ /// The height of this component in pixels (defaults to auto).
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['height'] = value;
return this;
},
width: function Ext_ContainerConfig$width(value) {
+ /// <summary>
+ /// The width of this component in pixels (defaults to auto).
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['width'] = value;
return this;
},
autoHeight: function Ext_ContainerConfig$autoHeight(value) {
+ /// <summary>
+ /// True to use height:'auto', false to use fixed height.
Note: although many components inherit this config option, not all will
function as expected with a height of 'auto'. (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['autoHeight'] = value;
return this;
},
autoWidth: function Ext_ContainerConfig$autoWidth(value) {
+ /// <summary>
+ /// True to use width:'auto', false to use fixed width. Note:
although many components inherit this config option, not all will
function as expected with a width of 'auto'. (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['autoWidth'] = value;
return this;
},
xtype: function Ext_ContainerConfig$xtype(value) {
+ /// <summary>
+ /// The registered xtype to create. This config option is not
used when passing a config object into a constructor. This config
option is used only when lazy instantiation is being used, and a child
item of a Container is being specified not as a fully instantiated
Component, but as a Component config object. The xtype will be looked
up at render time up to determine what type of child Component to create.
+ /// The predefined xtypes are listed at the top of this document.
+ /// If you subclass Components to create your own Components,
you may register them using Ext.ComponentMgr.registerType in order to
be able to take advantage of lazy instantiation and rendering.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['xtype'] = value;
return this;
},
id: function Ext_ContainerConfig$id(value) {
+ /// <summary>
+ /// The unique id of this component (defaults to an
auto-assigned id).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['id'] = value;
return this;
},
autoEl: function Ext_ContainerConfig$autoEl(value) {
+ /// <summary>
+ /// {String/Object} A tag name or DomHelper spec to create an
element with. This is intended to create shorthand utility components
inline via JSON. It should not be used for higher level components
which already create their own elements. Example usage: <pre><code>
{xtype:'box', autoEl: 'div', cls:'my-class'} {xtype:'box', autoEl:
{tag:'blockquote', html:'autoEl is cool!'}} // with DomHelper </code></pre>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['autoEl'] = value;
return this;
},
cls: function Ext_ContainerConfig$cls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element (defaults to ''). This can be useful for adding
customized styles to the component or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['cls'] = value;
return this;
},
overCls: function Ext_ContainerConfig$overCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element when the mouse moves over the Element, and removed
when the mouse moves out. (defaults to ''). This can be useful for
adding customized "active" or "hover" styles to the component or any of
its children using standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['overCls'] = value;
return this;
},
style: function Ext_ContainerConfig$style(value) {
+ /// <summary>
+ /// A custom style specification to be applied to this
component's Element. Should be a valid argument to {@link Ext.Element#applyStyles}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['style'] = value;
return this;
},
ctCls: function Ext_ContainerConfig$ctCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's container (defaults to ''). This can be useful for adding
customized styles to the container or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['ctCls'] = value;
return this;
},
plugins: function Ext_ContainerConfig$plugins(value) {
+ /// <summary>
+ /// {Object/Array} An object or array of objects that will
provide custom functionality for this component. The only requirement
for a valid plugin is that it contain an init method that accepts a
reference of type Ext.Component. When a component is created, if any
plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call
methods or respond to events on the component as needed to provide its functionality.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['plugins'] = value;
return this;
},
applyTo: function Ext_ContainerConfig$applyTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element
corresponding to a DIV that is already present in the document that
specifies some structural markup for this component. When applyTo is
used, constituent parts of the component can also be specified by id or
CSS class name within the main element, and the component being created
may attempt to create its subcomponents from that markup if applicable.
Using this config, a call to render() is not required. If applyTo is
specified, any value passed for {@link #renderTo} will be ignored and
the target element's parent node will automatically be used as the
component's container.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['applyTo'] = value;
return this;
},
renderTo: function Ext_ContainerConfig$renderTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element that
will be the container to render this component into. Using this config,
a call to render() is not required.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['renderTo'] = value;
return this;
},
stateful: function Ext_ContainerConfig$stateful(value) {
+ /// <summary>
+ /// A flag which causes the Component to attempt to restore
the state of internal properties from a saved state on startup.<p> For
state saving to work, the state manager's provider must have been set
to an implementation of {@link Ext.state.Provider} which overrides the
{@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get
get} methods to save and recall name/value pairs. A built-in
implementation, {@link Ext.state.CookieProvider} is available.</p><p>To
set the state provider for the current page:</p><pre><code>
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
</code></pre><p>Components attempt to save state when one of the events
listed in the {@link #stateEvents} configuration fires.</p><p>You can
perform extra processing on state save and restore by attaching
handlers to the {@link #beforestaterestore}, {@link staterestore},
{@link beforestatesave} and {@link statesave} events</p>
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['stateful'] = value;
return this;
},
stateId: function Ext_ContainerConfig$stateId(value) {
+ /// <summary>
+ /// The unique id for this component to use for state
management purposes (defaults to the component id). <p>See {@link
#stateful} for an explanation of saving and restoring Component state.</p>
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['stateId'] = value;
return this;
},
disabledClass: function Ext_ContainerConfig$disabledClass(value) {
+ /// <summary>
+ /// CSS class added to the component when it is disabled
(defaults to "x-item-disabled").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['disabledClass'] = value;
return this;
},
allowDomMove: function Ext_ContainerConfig$allowDomMove(value) {
+ /// <summary>
+ /// Whether the component can move the Dom node when rendering
(defaults to true).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['allowDomMove'] = value;
return this;
},
autoShow: function Ext_ContainerConfig$autoShow(value) {
+ /// <summary>
+ /// True if the component should check for hidden classes
(e.g. 'x-hidden' or 'x-hide-display') and remove them on render
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['autoShow'] = value;
return this;
},
hideMode: function Ext_ContainerConfig$hideMode(value) {
+ /// <summary>
+ /// How this component should hidden. Supported values
are "visibility" (css visibility), "offsets" (negative offset position)
and "display" (css display) - defaults to "display".
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['hideMode'] = value;
return this;
},
hideParent: function Ext_ContainerConfig$hideParent(value) {
+ /// <summary>
+ /// True to hide and show the component's container when
hide/show is called on the component, false to hide and show the
component itself (defaults to false). For example, this can be used as
a shortcut for a hide button on a window by setting hide:true on the
button when adding it to its parent container.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['hideParent'] = value;
return this;
},
listeners: function Ext_ContainerConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_ContainerConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.ContainerConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_ContainerConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -1073,18 +2289,55 @@
Ext.ContainerEvents = function Ext_ContainerEvents() {
}
Ext.ContainerEvents.get_afterlayout = function
Ext_ContainerEvents$get_afterlayout() {
+ /// <summary>
+ /// Fires when the components in this container are arranged by
the associated layout manager.
+ /// <pre><code>
+ /// USAGE: ({Ext.Container} objthis, {ContainerLayout} layout)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>layout</b></term><description>The
ContainerLayout implementation for this container</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'afterlayout';
}
Ext.ContainerEvents.get_beforeadd = function
Ext_ContainerEvents$get_beforeadd() {
+ /// <summary>
+ /// Fires before any {@link Ext.Component} is added or inserted
into the container.
+ /// A handler can return false to cancel the add.
+ /// <pre><code>
+ /// USAGE: ({Ext.Container} objthis, {Ext.Component} component,
{Number} index)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>component</b></term><description>The
component being
added</description></item><item><term><b>index</b></term><description>The
index at which the component will be added to the container's items collection</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforeadd';
}
Ext.ContainerEvents.get_beforeremove = function
Ext_ContainerEvents$get_beforeremove() {
+ /// <summary>
+ /// Fires before any {@link Ext.Component} is removed from the
container. A handler can return
+ /// false to cancel the remove.
+ /// <pre><code>
+ /// USAGE: ({Ext.Container} objthis, {Ext.Component} component)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>component</b></term><description>The
component being removed</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforeremove';
}
Ext.ContainerEvents.get_add = function Ext_ContainerEvents$get_add() {
+ /// <summary>
+ /// Fires after any {@link Ext.Component} is added or inserted
into the container.
+ /// <pre><code>
+ /// USAGE: ({Ext.Container} objthis, {Ext.Component} component,
{Number} index)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>component</b></term><description>The
component that was
added</description></item><item><term><b>index</b></term><description>The
index at which the component was added to the container's items collection</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'add';
}
Ext.ContainerEvents.get_remove = function
Ext_ContainerEvents$get_remove() {
+ /// <summary>
+ /// Fires after any {@link Ext.Component} is removed from the container.
+ /// <pre><code>
+ /// USAGE: ({Ext.Container} objthis, {Ext.Component} component)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>component</b></term><description>The
component that was removed</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'remove';
}
@@ -1093,256 +2346,557 @@
// Ext.CycleButtonConfig
Ext.CycleButtonConfig = function Ext_CycleButtonConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.CycleButtonConfig.prototype = {
items: function Ext_CycleButtonConfig$items(value) {
+ /// <summary>
+ /// An array of {@link Ext.menu.CheckItem} <b>config</b>
objects to be used when creating the button's menu items (e.g.,
{text:'Foo', iconCls:'foo-icon'})
+ /// </summary>
+ /// <param name="value" type="Array">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['items'] = value;
return this;
},
showText: function Ext_CycleButtonConfig$showText(value) {
+ /// <summary>
+ /// True to display the active item's text as the button text
(defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['showText'] = value;
return this;
},
prependText: function Ext_CycleButtonConfig$prependText(value) {
+ /// <summary>
+ /// A static string to prepend before the active item's text
when displayed as the button's text (only applies when showText = true,
defaults to '')
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['prependText'] = value;
return this;
},
changeHandler: function Ext_CycleButtonConfig$changeHandler(value) {
+ /// <summary>
+ /// A callback function that will be invoked each time the
active menu item in the button's menu has changed. If this callback is
not supplied, the SplitButton will instead fire the {@link #change}
event on active item change. The changeHandler function will be called
with the following argument list: (SplitButton this, Ext.menu.CheckItem item)
+ /// </summary>
+ /// <param name="value" type="Delegate">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['changeHandler'] = value;
return this;
},
forceIcon: function Ext_CycleButtonConfig$forceIcon(value) {
+ /// <summary>
+ /// A css class which sets an image to be used as the static
icon for this button. This icon will always be displayed regardless of
which item is selected in the dropdown list. This overrides the
default behavior of changing the button's icon to match the selected
item's icon on change.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['forceIcon'] = value;
return this;
},
arrowHandler: function Ext_CycleButtonConfig$arrowHandler(value) {
+ /// <summary>
+ /// A function called when the arrow button is clicked (can be
used instead of click event)
+ /// </summary>
+ /// <param name="value" type="Delegate">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['arrowHandler'] = value;
return this;
},
arrowTooltip: function Ext_CycleButtonConfig$arrowTooltip(value) {
+ /// <summary>
+ /// The title attribute of the arrow
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['arrowTooltip'] = value;
return this;
},
text: function Ext_CycleButtonConfig$text(value) {
+ /// <summary>
+ /// The button text
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['text'] = value;
return this;
},
icon: function Ext_CycleButtonConfig$icon(value) {
+ /// <summary>
+ /// The path to an image to display in the button (the image
will be set as the background-image
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['icon'] = value;
return this;
},
handler: function Ext_CycleButtonConfig$handler(value) {
+ /// <summary>
+ /// A function called when the button is clicked (can be used
instead of click event)
+ /// </summary>
+ /// <param name="value" type="Delegate">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['handler'] = value;
return this;
},
scope: function Ext_CycleButtonConfig$scope(value) {
+ /// <summary>
+ /// The scope of the handler
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['scope'] = value;
return this;
},
minWidth: function Ext_CycleButtonConfig$minWidth(value) {
+ /// <summary>
+ /// The minimum width for this button (used to give a set of
buttons a common width)
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['minWidth'] = value;
return this;
},
tooltip: function Ext_CycleButtonConfig$tooltip(value) {
+ /// <summary>
+ /// {String/Object} The tooltip for the button - can be a
string or QuickTips config object
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['tooltip'] = value;
return this;
},
hidden: function Ext_CycleButtonConfig$hidden(value) {
+ /// <summary>
+ /// True to start hidden (defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['hidden'] = value;
return this;
},
disabled: function Ext_CycleButtonConfig$disabled(value) {
+ /// <summary>
+ /// True to start disabled (defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['disabled'] = value;
return this;
},
pressed: function Ext_CycleButtonConfig$pressed(value) {
+ /// <summary>
+ /// True to start pressed (only if enableToggle = true)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['pressed'] = value;
return this;
},
toggleGroup: function Ext_CycleButtonConfig$toggleGroup(value) {
+ /// <summary>
+ /// The group this toggle button is a member of (only 1 per
group can be pressed, only
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['toggleGroup'] = value;
return this;
},
repeat: function Ext_CycleButtonConfig$repeat(value) {
+ /// <summary>
+ /// {Boolean/Object} True to repeat fire the click event while
the mouse is down. This can also be
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['repeat'] = value;
return this;
},
tabIndex: function Ext_CycleButtonConfig$tabIndex(value) {
+ /// <summary>
+ /// Set a DOM tabIndex for this button (defaults to undefined)
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['tabIndex'] = value;
return this;
},
allowDepress: function Ext_CycleButtonConfig$allowDepress(value) {
+ /// <summary>
+ /// True to allow a pressed Button to be depressed (defaults
to false). Only valid when {@link #enableToggle} is true.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['allowDepress'] = value;
return this;
},
enableToggle: function Ext_CycleButtonConfig$enableToggle(value) {
+ /// <summary>
+ /// True to enable pressed/not pressed toggling (defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['enableToggle'] = value;
return this;
},
toggleHandler: function Ext_CycleButtonConfig$toggleHandler(value) {
+ /// <summary>
+ /// Function called when a Button with {@link #enableToggle}
set to true is clicked. Two arguments are passed:<ul
class="mdetail-params"><li><b>button</b> : Ext.Button<div
class="sub-desc">this Button object</div></li><li><b>state</b> :
Boolean<div class="sub-desc">The next state if the Button, true means pressed.</div></li></ul>
+ /// </summary>
+ /// <param name="value" type="Delegate">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['toggleHandler'] = value;
return this;
},
menu: function Ext_CycleButtonConfig$menu(value) {
+ /// <summary>
+ /// Standard menu attribute consisting of a reference to a
menu object, a menu id or a menu config blob (defaults to undefined).
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['menu'] = value;
return this;
},
menuAlign: function Ext_CycleButtonConfig$menuAlign(value) {
+ /// <summary>
+ /// The position to align the menu to (see {@link
Ext.Element#alignTo} for more details, defaults to 'tl-bl?').
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['menuAlign'] = value;
return this;
},
iconCls: function Ext_CycleButtonConfig$iconCls(value) {
+ /// <summary>
+ /// A css class which sets a background image to be used as
the icon for this button
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['iconCls'] = value;
return this;
},
type: function Ext_CycleButtonConfig$type(value) {
+ /// <summary>
+ /// submit, reset or button - defaults to 'button'
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['type'] = value;
return this;
},
clickEvent: function Ext_CycleButtonConfig$clickEvent(value) {
+ /// <summary>
+ /// The type of event to map to the button's event handler
(defaults to 'click')
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['clickEvent'] = value;
return this;
},
handleMouseEvents: function
Ext_CycleButtonConfig$handleMouseEvents(value) {
+ /// <summary>
+ /// False to disable visual cues on mouseover, mouseout and
mousedown (defaults to true)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['handleMouseEvents'] = value;
return this;
},
tooltipType: function Ext_CycleButtonConfig$tooltipType(value) {
+ /// <summary>
+ /// The type of tooltip to use. Either "qtip" (default) for
QuickTips or "title" for title attribute.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['tooltipType'] = value;
return this;
},
template: function Ext_CycleButtonConfig$template(value) {
+ /// <summary>
+ /// (Optional) An {@link Ext.Template} with which to create
the Button's main element. This Template must contain numeric
substitution parameter 0 if it is to display the text property.
Changing the template could require code modifications if required
elements (e.g. a button) aren't present.
+ /// </summary>
+ /// <param name="value" type="Ext.Template">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['template'] = value;
return this;
},
cls: function Ext_CycleButtonConfig$cls(value) {
+ /// <summary>
+ /// A CSS class string to apply to the button's main element.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['cls'] = value;
return this;
},
xtype: function Ext_CycleButtonConfig$xtype(value) {
+ /// <summary>
+ /// The registered xtype to create. This config option is not
used when passing a config object into a constructor. This config
option is used only when lazy instantiation is being used, and a child
item of a Container is being specified not as a fully instantiated
Component, but as a Component config object. The xtype will be looked
up at render time up to determine what type of child Component to create.
+ /// The predefined xtypes are listed at the top of this document.
+ /// If you subclass Components to create your own Components,
you may register them using Ext.ComponentMgr.registerType in order to
be able to take advantage of lazy instantiation and rendering.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['xtype'] = value;
return this;
},
id: function Ext_CycleButtonConfig$id(value) {
+ /// <summary>
+ /// The unique id of this component (defaults to an
auto-assigned id).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['id'] = value;
return this;
},
autoEl: function Ext_CycleButtonConfig$autoEl(value) {
+ /// <summary>
+ /// {String/Object} A tag name or DomHelper spec to create an
element with. This is intended to create shorthand utility components
inline via JSON. It should not be used for higher level components
which already create their own elements. Example usage: <pre><code>
{xtype:'box', autoEl: 'div', cls:'my-class'} {xtype:'box', autoEl:
{tag:'blockquote', html:'autoEl is cool!'}} // with DomHelper </code></pre>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['autoEl'] = value;
return this;
},
overCls: function Ext_CycleButtonConfig$overCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element when the mouse moves over the Element, and removed
when the mouse moves out. (defaults to ''). This can be useful for
adding customized "active" or "hover" styles to the component or any of
its children using standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['overCls'] = value;
return this;
},
style: function Ext_CycleButtonConfig$style(value) {
+ /// <summary>
+ /// A custom style specification to be applied to this
component's Element. Should be a valid argument to {@link Ext.Element#applyStyles}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['style'] = value;
return this;
},
ctCls: function Ext_CycleButtonConfig$ctCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's container (defaults to ''). This can be useful for adding
customized styles to the container or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['ctCls'] = value;
return this;
},
plugins: function Ext_CycleButtonConfig$plugins(value) {
+ /// <summary>
+ /// {Object/Array} An object or array of objects that will
provide custom functionality for this component. The only requirement
for a valid plugin is that it contain an init method that accepts a
reference of type Ext.Component. When a component is created, if any
plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call
methods or respond to events on the component as needed to provide its functionality.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['plugins'] = value;
return this;
},
applyTo: function Ext_CycleButtonConfig$applyTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element
corresponding to a DIV that is already present in the document that
specifies some structural markup for this component. When applyTo is
used, constituent parts of the component can also be specified by id or
CSS class name within the main element, and the component being created
may attempt to create its subcomponents from that markup if applicable.
Using this config, a call to render() is not required. If applyTo is
specified, any value passed for {@link #renderTo} will be ignored and
the target element's parent node will automatically be used as the
component's container.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['applyTo'] = value;
return this;
},
renderTo: function Ext_CycleButtonConfig$renderTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element that
will be the container to render this component into. Using this config,
a call to render() is not required.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['renderTo'] = value;
return this;
},
stateful: function Ext_CycleButtonConfig$stateful(value) {
+ /// <summary>
+ /// A flag which causes the Component to attempt to restore
the state of internal properties from a saved state on startup.<p> For
state saving to work, the state manager's provider must have been set
to an implementation of {@link Ext.state.Provider} which overrides the
{@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get
get} methods to save and recall name/value pairs. A built-in
implementation, {@link Ext.state.CookieProvider} is available.</p><p>To
set the state provider for the current page:</p><pre><code>
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
</code></pre><p>Components attempt to save state when one of the events
listed in the {@link #stateEvents} configuration fires.</p><p>You can
perform extra processing on state save and restore by attaching
handlers to the {@link #beforestaterestore}, {@link staterestore},
{@link beforestatesave} and {@link statesave} events</p>
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['stateful'] = value;
return this;
},
stateId: function Ext_CycleButtonConfig$stateId(value) {
+ /// <summary>
+ /// The unique id for this component to use for state
management purposes (defaults to the component id). <p>See {@link
#stateful} for an explanation of saving and restoring Component state.</p>
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['stateId'] = value;
return this;
},
disabledClass: function Ext_CycleButtonConfig$disabledClass(value) {
+ /// <summary>
+ /// CSS class added to the component when it is disabled
(defaults to "x-item-disabled").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['disabledClass'] = value;
return this;
},
allowDomMove: function Ext_CycleButtonConfig$allowDomMove(value) {
+ /// <summary>
+ /// Whether the component can move the Dom node when rendering
(defaults to true).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['allowDomMove'] = value;
return this;
},
autoShow: function Ext_CycleButtonConfig$autoShow(value) {
+ /// <summary>
+ /// True if the component should check for hidden classes
(e.g. 'x-hidden' or 'x-hide-display') and remove them on render
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['autoShow'] = value;
return this;
},
hideMode: function Ext_CycleButtonConfig$hideMode(value) {
+ /// <summary>
+ /// How this component should hidden. Supported values
are "visibility" (css visibility), "offsets" (negative offset position)
and "display" (css display) - defaults to "display".
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['hideMode'] = value;
return this;
},
hideParent: function Ext_CycleButtonConfig$hideParent(value) {
+ /// <summary>
+ /// True to hide and show the component's container when
hide/show is called on the component, false to hide and show the
component itself (defaults to false). For example, this can be used as
a shortcut for a hide button on a window by setting hide:true on the
button when adding it to its parent container.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['hideParent'] = value;
return this;
},
listeners: function Ext_CycleButtonConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_CycleButtonConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.CycleButtonConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_CycleButtonConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -1354,6 +2908,15 @@
Ext.CycleButtonEvents = function Ext_CycleButtonEvents() {
}
Ext.CycleButtonEvents.get_change = function
Ext_CycleButtonEvents$get_change() {
+ /// <summary>
+ /// Fires after the button's active menu item has changed. Note
that if a {@link #changeHandler} function
+ /// is set on this CycleButton, it will be called instead on
active item change and this change event will
+ /// not be fired.
+ /// <pre><code>
+ /// USAGE: ({Ext.CycleButton} objthis, {Ext.menu.CheckItem} item)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>item</b></term><description>The
menu item that was selected</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'change';
}
@@ -1362,201 +2925,436 @@
// Ext.DataViewConfig
Ext.DataViewConfig = function Ext_DataViewConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.DataViewConfig.prototype = {
tpl: function Ext_DataViewConfig$tpl(value) {
+ /// <summary>
+ /// {String/Array} The HTML fragment or an array of fragments
that will make up the template used by this DataView. This should be
specified in the same format expected by the constructor of {@link Ext.XTemplate}.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['tpl'] = value;
return this;
},
store: function Ext_DataViewConfig$store(value) {
+ /// <summary>
+ /// The {@link Ext.data.Store} to bind this DataView to.
+ /// </summary>
+ /// <param name="value" type="Ext.data.Store">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['store'] = value;
return this;
},
itemSelector: function Ext_DataViewConfig$itemSelector(value) {
+ /// <summary>
+ /// <b>This is a required setting</b>. A simple CSS selector
(e.g. div.some-class or span:first-child) that will be used to
determine what nodes this DataView will be working with.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['itemSelector'] = value;
return this;
},
multiSelect: function Ext_DataViewConfig$multiSelect(value) {
+ /// <summary>
+ /// True to allow selection of more than one item at a time,
false to allow selection of only a single item at a time or no
selection at all, depending on the value of {@link #singleSelect}
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['multiSelect'] = value;
return this;
},
singleSelect: function Ext_DataViewConfig$singleSelect(value) {
+ /// <summary>
+ /// True to allow selection of exactly one item at a time,
false to allow no selection at all (defaults to false). Note that if
{@link #multiSelect} = true, this value will be ignored.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['singleSelect'] = value;
return this;
},
simpleSelect: function Ext_DataViewConfig$simpleSelect(value) {
+ /// <summary>
+ /// True to enable multiselection by clicking on multiple
items without requiring the user to hold Shift or Ctrl, false to force
the user to hold Ctrl or Shift to select more than on item (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['simpleSelect'] = value;
return this;
},
overClass: function Ext_DataViewConfig$overClass(value) {
+ /// <summary>
+ /// A CSS class to apply to each item in the view on mouseover
(defaults to undefined).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['overClass'] = value;
return this;
},
loadingText: function Ext_DataViewConfig$loadingText(value) {
+ /// <summary>
+ /// A string to display during data load operations (defaults
to undefined). If specified, this text will be displayed in a loading
div and the view's contents will be cleared while loading, otherwise
the view's contents will continue to display normally until the new
data is loaded and the contents are replaced.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['loadingText'] = value;
return this;
},
selectedClass: function Ext_DataViewConfig$selectedClass(value) {
+ /// <summary>
+ /// A CSS class to apply to each selected item in the view
(defaults to 'x-view-selected').
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['selectedClass'] = value;
return this;
},
emptyText: function Ext_DataViewConfig$emptyText(value) {
+ /// <summary>
+ /// The text to display in the view when there is no data to
display (defaults to '').
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['emptyText'] = value;
return this;
},
deferEmptyText: function Ext_DataViewConfig$deferEmptyText(value) {
+ /// <summary>
+ /// True to defer emptyText being applied until the store's
first load
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['deferEmptyText'] = value;
return this;
},
x: function Ext_DataViewConfig$x(value) {
+ /// <summary>
+ /// The local x (left) coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['x'] = value;
return this;
},
y: function Ext_DataViewConfig$y(value) {
+ /// <summary>
+ /// The local y (top) coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['y'] = value;
return this;
},
pageX: function Ext_DataViewConfig$pageX(value) {
+ /// <summary>
+ /// The page level x coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['pageX'] = value;
return this;
},
pageY: function Ext_DataViewConfig$pageY(value) {
+ /// <summary>
+ /// The page level y coordinate for this component if
contained within a positioning container.
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['pageY'] = value;
return this;
},
height: function Ext_DataViewConfig$height(value) {
+ /// <summary>
+ /// The height of this component in pixels (defaults to auto).
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['height'] = value;
return this;
},
width: function Ext_DataViewConfig$width(value) {
+ /// <summary>
+ /// The width of this component in pixels (defaults to auto).
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['width'] = value;
return this;
},
autoHeight: function Ext_DataViewConfig$autoHeight(value) {
+ /// <summary>
+ /// True to use height:'auto', false to use fixed height.
Note: although many components inherit this config option, not all will
function as expected with a height of 'auto'. (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['autoHeight'] = value;
return this;
},
autoWidth: function Ext_DataViewConfig$autoWidth(value) {
+ /// <summary>
+ /// True to use width:'auto', false to use fixed width. Note:
although many components inherit this config option, not all will
function as expected with a width of 'auto'. (defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['autoWidth'] = value;
return this;
},
xtype: function Ext_DataViewConfig$xtype(value) {
+ /// <summary>
+ /// The registered xtype to create. This config option is not
used when passing a config object into a constructor. This config
option is used only when lazy instantiation is being used, and a child
item of a Container is being specified not as a fully instantiated
Component, but as a Component config object. The xtype will be looked
up at render time up to determine what type of child Component to create.
+ /// The predefined xtypes are listed at the top of this document.
+ /// If you subclass Components to create your own Components,
you may register them using Ext.ComponentMgr.registerType in order to
be able to take advantage of lazy instantiation and rendering.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['xtype'] = value;
return this;
},
id: function Ext_DataViewConfig$id(value) {
+ /// <summary>
+ /// The unique id of this component (defaults to an
auto-assigned id).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['id'] = value;
return this;
},
autoEl: function Ext_DataViewConfig$autoEl(value) {
+ /// <summary>
+ /// {String/Object} A tag name or DomHelper spec to create an
element with. This is intended to create shorthand utility components
inline via JSON. It should not be used for higher level components
which already create their own elements. Example usage: <pre><code>
{xtype:'box', autoEl: 'div', cls:'my-class'} {xtype:'box', autoEl:
{tag:'blockquote', html:'autoEl is cool!'}} // with DomHelper </code></pre>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['autoEl'] = value;
return this;
},
cls: function Ext_DataViewConfig$cls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element (defaults to ''). This can be useful for adding
customized styles to the component or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['cls'] = value;
return this;
},
overCls: function Ext_DataViewConfig$overCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element when the mouse moves over the Element, and removed
when the mouse moves out. (defaults to ''). This can be useful for
adding customized "active" or "hover" styles to the component or any of
its children using standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['overCls'] = value;
return this;
},
style: function Ext_DataViewConfig$style(value) {
+ /// <summary>
+ /// A custom style specification to be applied to this
component's Element. Should be a valid argument to {@link Ext.Element#applyStyles}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['style'] = value;
return this;
},
ctCls: function Ext_DataViewConfig$ctCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's container (defaults to ''). This can be useful for adding
customized styles to the container or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['ctCls'] = value;
return this;
},
plugins: function Ext_DataViewConfig$plugins(value) {
+ /// <summary>
+ /// {Object/Array} An object or array of objects that will
provide custom functionality for this component. The only requirement
for a valid plugin is that it contain an init method that accepts a
reference of type Ext.Component. When a component is created, if any
plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call
methods or respond to events on the component as needed to provide its functionality.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['plugins'] = value;
return this;
},
applyTo: function Ext_DataViewConfig$applyTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element
corresponding to a DIV that is already present in the document that
specifies some structural markup for this component. When applyTo is
used, constituent parts of the component can also be specified by id or
CSS class name within the main element, and the component being created
may attempt to create its subcomponents from that markup if applicable.
Using this config, a call to render() is not required. If applyTo is
specified, any value passed for {@link #renderTo} will be ignored and
the target element's parent node will automatically be used as the
component's container.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['applyTo'] = value;
return this;
},
renderTo: function Ext_DataViewConfig$renderTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element that
will be the container to render this component into. Using this config,
a call to render() is not required.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['renderTo'] = value;
return this;
},
stateful: function Ext_DataViewConfig$stateful(value) {
+ /// <summary>
+ /// A flag which causes the Component to attempt to restore
the state of internal properties from a saved state on startup.<p> For
state saving to work, the state manager's provider must have been set
to an implementation of {@link Ext.state.Provider} which overrides the
{@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get
get} methods to save and recall name/value pairs. A built-in
implementation, {@link Ext.state.CookieProvider} is available.</p><p>To
set the state provider for the current page:</p><pre><code>
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
</code></pre><p>Components attempt to save state when one of the events
listed in the {@link #stateEvents} configuration fires.</p><p>You can
perform extra processing on state save and restore by attaching
handlers to the {@link #beforestaterestore}, {@link staterestore},
{@link beforestatesave} and {@link statesave} events</p>
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['stateful'] = value;
return this;
},
stateId: function Ext_DataViewConfig$stateId(value) {
+ /// <summary>
+ /// The unique id for this component to use for state
management purposes (defaults to the component id). <p>See {@link
#stateful} for an explanation of saving and restoring Component state.</p>
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['stateId'] = value;
return this;
},
disabledClass: function Ext_DataViewConfig$disabledClass(value) {
+ /// <summary>
+ /// CSS class added to the component when it is disabled
(defaults to "x-item-disabled").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['disabledClass'] = value;
return this;
},
allowDomMove: function Ext_DataViewConfig$allowDomMove(value) {
+ /// <summary>
+ /// Whether the component can move the Dom node when rendering
(defaults to true).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['allowDomMove'] = value;
return this;
},
autoShow: function Ext_DataViewConfig$autoShow(value) {
+ /// <summary>
+ /// True if the component should check for hidden classes
(e.g. 'x-hidden' or 'x-hide-display') and remove them on render
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['autoShow'] = value;
return this;
},
hideMode: function Ext_DataViewConfig$hideMode(value) {
+ /// <summary>
+ /// How this component should hidden. Supported values
are "visibility" (css visibility), "offsets" (negative offset position)
and "display" (css display) - defaults to "display".
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['hideMode'] = value;
return this;
},
hideParent: function Ext_DataViewConfig$hideParent(value) {
+ /// <summary>
+ /// True to hide and show the component's container when
hide/show is called on the component, false to hide and show the
component itself (defaults to false). For example, this can be used as
a shortcut for a hide button on a window by setting hide:true on the
button when adding it to its parent container.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['hideParent'] = value;
return this;
},
listeners: function Ext_DataViewConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_DataViewConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DataViewConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_DataViewConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -1568,24 +3366,73 @@
Ext.DataViewEvents = function Ext_DataViewEvents() {
}
Ext.DataViewEvents.get_beforeclick = function
Ext_DataViewEvents$get_beforeclick() {
+ /// <summary>
+ /// Fires before a click is processed. Returns false to cancel the
default action.
+ /// <pre><code>
+ /// USAGE: ({Ext.DataView} objthis, {Number} index, {HTMLElement}
node, {Ext.EventObject} e)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>index</b></term><description>The
index of the target
node</description></item><item><term><b>node</b></term><description>The
target
node</description></item><item><term><b>e</b></term><description>The
raw event object</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforeclick';
}
Ext.DataViewEvents.get_click = function Ext_DataViewEvents$get_click() {
+ /// <summary>
+ /// Fires when a template node is clicked.
+ /// <pre><code>
+ /// USAGE: ({Ext.DataView} objthis, {Number} index, {HTMLElement}
node, {Ext.EventObject} e)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>index</b></term><description>The
index of the target
node</description></item><item><term><b>node</b></term><description>The
target
node</description></item><item><term><b>e</b></term><description>The
raw event object</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'click';
}
Ext.DataViewEvents.get_containerclick = function
Ext_DataViewEvents$get_containerclick() {
+ /// <summary>
+ /// Fires when a click occurs and it is not on a template node.
+ /// <pre><code>
+ /// USAGE: ({Ext.DataView} objthis, {Ext.EventObject} e)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>e</b></term><description>The
raw event object</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'containerclick';
}
Ext.DataViewEvents.get_dblclick = function
Ext_DataViewEvents$get_dblclick() {
+ /// <summary>
+ /// Fires when a template node is double clicked.
+ /// <pre><code>
+ /// USAGE: ({Ext.DataView} objthis, {Number} index, {HTMLElement}
node, {Ext.EventObject} e)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>index</b></term><description>The
index of the target
node</description></item><item><term><b>node</b></term><description>The
target
node</description></item><item><term><b>e</b></term><description>The
raw event object</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'dblclick';
}
Ext.DataViewEvents.get_contextmenu = function
Ext_DataViewEvents$get_contextmenu() {
+ /// <summary>
+ /// Fires when a template node is right clicked.
+ /// <pre><code>
+ /// USAGE: ({Ext.DataView} objthis, {Number} index, {HTMLElement}
node, {Ext.EventObject} e)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>index</b></term><description>The
index of the target
node</description></item><item><term><b>node</b></term><description>The
target
node</description></item><item><term><b>e</b></term><description>The
raw event object</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'contextmenu';
}
Ext.DataViewEvents.get_selectionchange = function
Ext_DataViewEvents$get_selectionchange() {
+ /// <summary>
+ /// Fires when the selected nodes change.
+ /// <pre><code>
+ /// USAGE: ({Ext.DataView} objthis, {Array} selections)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>selections</b></term><description>Array
of the selected nodes</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'selectionchange';
}
Ext.DataViewEvents.get_beforeselect = function
Ext_DataViewEvents$get_beforeselect() {
+ /// <summary>
+ /// Fires before a selection is made. If any handlers return
false, the selection is cancelled.
+ /// <pre><code>
+ /// USAGE: ({Ext.DataView} objthis, {HTMLElement} node, {Array} selections)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>node</b></term><description>The
node to be
selected</description></item><item><term><b>selections</b></term><description>Array
of currently selected nodes</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'beforeselect';
}
@@ -1594,206 +3441,447 @@
// Ext.DatePickerConfig
Ext.DatePickerConfig = function Ext_DatePickerConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.DatePickerConfig.prototype = {
todayText: function Ext_DatePickerConfig$todayText(value) {
+ /// <summary>
+ /// The text to display on the button that selects the current
date (defaults to "Today")
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['todayText'] = value;
return this;
},
okText: function Ext_DatePickerConfig$okText(value) {
+ /// <summary>
+ /// The text to display on the ok button
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['okText'] = value;
return this;
},
cancelText: function Ext_DatePickerConfig$cancelText(value) {
+ /// <summary>
+ /// The text to display on the cancel button
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['cancelText'] = value;
return this;
},
todayTip: function Ext_DatePickerConfig$todayTip(value) {
+ /// <summary>
+ /// The tooltip to display for the button that selects the
current date (defaults to "{current date} (Spacebar)")
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['todayTip'] = value;
return this;
},
minDate: function Ext_DatePickerConfig$minDate(value) {
+ /// <summary>
+ /// Minimum allowable date (JavaScript date object, defaults
to null)
+ /// </summary>
+ /// <param name="value" type="Date">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['minDate'] = value;
return this;
},
maxDate: function Ext_DatePickerConfig$maxDate(value) {
+ /// <summary>
+ /// Maximum allowable date (JavaScript date object, defaults
to null)
+ /// </summary>
+ /// <param name="value" type="Date">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['maxDate'] = value;
return this;
},
minText: function Ext_DatePickerConfig$minText(value) {
+ /// <summary>
+ /// The error text to display if the minDate validation fails
(defaults to "This date is before the minimum date")
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['minText'] = value;
return this;
},
maxText: function Ext_DatePickerConfig$maxText(value) {
+ /// <summary>
+ /// The error text to display if the maxDate validation fails
(defaults to "This date is after the maximum date")
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['maxText'] = value;
return this;
},
format: function Ext_DatePickerConfig$format(value) {
+ /// <summary>
+ /// The default date format string which can be overriden for
localization support. The format must be valid according to {@link
Date#parseDate} (defaults to 'm/d/y').
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['format'] = value;
return this;
},
disabledDays: function Ext_DatePickerConfig$disabledDays(value) {
+ /// <summary>
+ /// An array of days to disable, 0-based. For example, [0, 6]
disables Sunday and Saturday (defaults to null).
+ /// </summary>
+ /// <param name="value" type="Array">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['disabledDays'] = value;
return this;
},
disabledDaysText: function
Ext_DatePickerConfig$disabledDaysText(value) {
+ /// <summary>
+ /// The tooltip to display when the date falls on a disabled
day (defaults to "")
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['disabledDaysText'] = value;
return this;
},
disabledDatesRE: function
Ext_DatePickerConfig$disabledDatesRE(value) {
+ /// <summary>
+ /// JavaScript regular expression used to disable a pattern of
dates (defaults to null)
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['disabledDatesRE'] = value;
return this;
},
disabledDatesText: function
Ext_DatePickerConfig$disabledDatesText(value) {
+ /// <summary>
+ /// The tooltip text to display when the date falls on a
disabled date (defaults to "")
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['disabledDatesText'] = value;
return this;
},
constrainToViewport: function
Ext_DatePickerConfig$constrainToViewport(value) {
+ /// <summary>
+ /// True to constrain the date picker to the viewport
(defaults to true)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['constrainToViewport'] = value;
return this;
},
monthNames: function Ext_DatePickerConfig$monthNames(value) {
+ /// <summary>
+ /// An array of textual month names which can be overriden for
localization support (defaults to Date.monthNames)
+ /// </summary>
+ /// <param name="value" type="Array">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['monthNames'] = value;
return this;
},
dayNames: function Ext_DatePickerConfig$dayNames(value) {
+ /// <summary>
+ /// An array of textual day names which can be overriden for
localization support (defaults to Date.dayNames)
+ /// </summary>
+ /// <param name="value" type="Array">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['dayNames'] = value;
return this;
},
nextText: function Ext_DatePickerConfig$nextText(value) {
+ /// <summary>
+ /// The next month navigation button tooltip (defaults
to 'Next Month (Control+Right)')
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['nextText'] = value;
return this;
},
prevText: function Ext_DatePickerConfig$prevText(value) {
+ /// <summary>
+ /// The previous month navigation button tooltip (defaults
to 'Previous Month (Control+Left)')
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['prevText'] = value;
return this;
},
monthYearText: function Ext_DatePickerConfig$monthYearText(value) {
+ /// <summary>
+ /// The header month selector tooltip (defaults to 'Choose a
month (Control+Up/Down to move years)')
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['monthYearText'] = value;
return this;
},
startDay: function Ext_DatePickerConfig$startDay(value) {
+ /// <summary>
+ /// Day index at which the week should begin, 0-based
(defaults to 0, which is Sunday)
+ /// </summary>
+ /// <param name="value" type="Number">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['startDay'] = value;
return this;
},
xtype: function Ext_DatePickerConfig$xtype(value) {
+ /// <summary>
+ /// The registered xtype to create. This config option is not
used when passing a config object into a constructor. This config
option is used only when lazy instantiation is being used, and a child
item of a Container is being specified not as a fully instantiated
Component, but as a Component config object. The xtype will be looked
up at render time up to determine what type of child Component to create.
+ /// The predefined xtypes are listed at the top of this document.
+ /// If you subclass Components to create your own Components,
you may register them using Ext.ComponentMgr.registerType in order to
be able to take advantage of lazy instantiation and rendering.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['xtype'] = value;
return this;
},
id: function Ext_DatePickerConfig$id(value) {
+ /// <summary>
+ /// The unique id of this component (defaults to an
auto-assigned id).
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['id'] = value;
return this;
},
autoEl: function Ext_DatePickerConfig$autoEl(value) {
+ /// <summary>
+ /// {String/Object} A tag name or DomHelper spec to create an
element with. This is intended to create shorthand utility components
inline via JSON. It should not be used for higher level components
which already create their own elements. Example usage: <pre><code>
{xtype:'box', autoEl: 'div', cls:'my-class'} {xtype:'box', autoEl:
{tag:'blockquote', html:'autoEl is cool!'}} // with DomHelper </code></pre>
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['autoEl'] = value;
return this;
},
cls: function Ext_DatePickerConfig$cls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element (defaults to ''). This can be useful for adding
customized styles to the component or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['cls'] = value;
return this;
},
overCls: function Ext_DatePickerConfig$overCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's Element when the mouse moves over the Element, and removed
when the mouse moves out. (defaults to ''). This can be useful for
adding customized "active" or "hover" styles to the component or any of
its children using standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['overCls'] = value;
return this;
},
style: function Ext_DatePickerConfig$style(value) {
+ /// <summary>
+ /// A custom style specification to be applied to this
component's Element. Should be a valid argument to {@link Ext.Element#applyStyles}.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['style'] = value;
return this;
},
ctCls: function Ext_DatePickerConfig$ctCls(value) {
+ /// <summary>
+ /// An optional extra CSS class that will be added to this
component's container (defaults to ''). This can be useful for adding
customized styles to the container or any of its children using
standard CSS rules.
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['ctCls'] = value;
return this;
},
plugins: function Ext_DatePickerConfig$plugins(value) {
+ /// <summary>
+ /// {Object/Array} An object or array of objects that will
provide custom functionality for this component. The only requirement
for a valid plugin is that it contain an init method that accepts a
reference of type Ext.Component. When a component is created, if any
plugins are available, the component will call the init method on each
plugin, passing a reference to itself. Each plugin can then call
methods or respond to events on the component as needed to provide its functionality.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['plugins'] = value;
return this;
},
applyTo: function Ext_DatePickerConfig$applyTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element
corresponding to a DIV that is already present in the document that
specifies some structural markup for this component. When applyTo is
used, constituent parts of the component can also be specified by id or
CSS class name within the main element, and the component being created
may attempt to create its subcomponents from that markup if applicable.
Using this config, a call to render() is not required. If applyTo is
specified, any value passed for {@link #renderTo} will be ignored and
the target element's parent node will automatically be used as the
component's container.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['applyTo'] = value;
return this;
},
renderTo: function Ext_DatePickerConfig$renderTo(value) {
+ /// <summary>
+ /// The id of the node, a DOM node or an existing Element that
will be the container to render this component into. Using this config,
a call to render() is not required.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['renderTo'] = value;
return this;
},
stateful: function Ext_DatePickerConfig$stateful(value) {
+ /// <summary>
+ /// A flag which causes the Component to attempt to restore
the state of internal properties from a saved state on startup.<p> For
state saving to work, the state manager's provider must have been set
to an implementation of {@link Ext.state.Provider} which overrides the
{@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get
get} methods to save and recall name/value pairs. A built-in
implementation, {@link Ext.state.CookieProvider} is available.</p><p>To
set the state provider for the current page:</p><pre><code>
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
</code></pre><p>Components attempt to save state when one of the events
listed in the {@link #stateEvents} configuration fires.</p><p>You can
perform extra processing on state save and restore by attaching
handlers to the {@link #beforestaterestore}, {@link staterestore},
{@link beforestatesave} and {@link statesave} events</p>
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['stateful'] = value;
return this;
},
stateId: function Ext_DatePickerConfig$stateId(value) {
+ /// <summary>
+ /// The unique id for this component to use for state
management purposes (defaults to the component id). <p>See {@link
#stateful} for an explanation of saving and restoring Component state.</p>
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['stateId'] = value;
return this;
},
disabledClass: function Ext_DatePickerConfig$disabledClass(value) {
+ /// <summary>
+ /// CSS class added to the component when it is disabled
(defaults to "x-item-disabled").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['disabledClass'] = value;
return this;
},
allowDomMove: function Ext_DatePickerConfig$allowDomMove(value) {
+ /// <summary>
+ /// Whether the component can move the Dom node when rendering
(defaults to true).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['allowDomMove'] = value;
return this;
},
autoShow: function Ext_DatePickerConfig$autoShow(value) {
+ /// <summary>
+ /// True if the component should check for hidden classes
(e.g. 'x-hidden' or 'x-hide-display') and remove them on render
(defaults to false).
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['autoShow'] = value;
return this;
},
hideMode: function Ext_DatePickerConfig$hideMode(value) {
+ /// <summary>
+ /// How this component should hidden. Supported values
are "visibility" (css visibility), "offsets" (negative offset position)
and "display" (css display) - defaults to "display".
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['hideMode'] = value;
return this;
},
hideParent: function Ext_DatePickerConfig$hideParent(value) {
+ /// <summary>
+ /// True to hide and show the component's container when
hide/show is called on the component, false to hide and show the
component itself (defaults to false). For example, this can be used as
a shortcut for a hide button on a window by setting hide:true on the
button when adding it to its parent container.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['hideParent'] = value;
return this;
},
listeners: function Ext_DatePickerConfig$listeners(value) {
+ /// <summary>
+ /// A config object containing one or more event handlers to
be added to this object during initialization. This should be a valid
listeners config object as specified in the {@link #addListener}
example for attaching multiple handlers at once.
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o['listeners'] = value;
return this;
},
custom: function Ext_DatePickerConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DatePickerConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_DatePickerConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -1805,6 +3893,13 @@
Ext.DatePickerEvents = function Ext_DatePickerEvents() {
}
Ext.DatePickerEvents.get_select = function
Ext_DatePickerEvents$get_select() {
+ /// <summary>
+ /// Fires when a date is selected
+ /// <pre><code>
+ /// USAGE: ({DatePicker} objthis, {Date} date)
+ /// </code></pre><list
type="bullet"><item><term><b>objthis</b></term><description></description></item><item><term><b>date</b></term><description>The
selected date</description></item></list>
+ /// </summary>
+ /// <value type="String"></value>
return 'select';
}
@@ -1813,16 +3908,27 @@
// Ext.DomHelperConfig
Ext.DomHelperConfig = function Ext_DomHelperConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.DomHelperConfig.prototype = {
custom: function Ext_DomHelperConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DomHelperConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_DomHelperConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -1832,16 +3938,27 @@
// Ext.DomQueryConfig
Ext.DomQueryConfig = function Ext_DomQueryConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.DomQueryConfig.prototype = {
custom: function Ext_DomQueryConfig$custom(key, value) {
+ /// <summary>
+ /// Allows you to add custom config options
+ /// </summary>
+ /// <param name="key" type="String">
+ /// </param>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.DomQueryConfig"></returns>
this.o[key] = value;
return this;
},
toDictionary: function Ext_DomQueryConfig$toDictionary() {
+ /// <returns type="Object"></returns>
return this.o;
}
}
@@ -1851,166 +3968,359 @@
// Ext.EditorConfig
Ext.EditorConfig = function Ext_EditorConfig() {
+ /// <field name="o" type="Object">
+ /// </field>
this.o = {};
}
Ext.EditorConfig.prototype = {
autoSize: function Ext_EditorConfig$autoSize(value) {
+ /// <summary>
+ /// {Boolean/String} True for the editor to automatically
adopt the size of the underlying field, "width" to adopt the width
only, or "height" to adopt the height only (defaults to false)
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['autoSize'] = value;
return this;
},
revertInvalid: function Ext_EditorConfig$revertInvalid(value) {
+ /// <summary>
+ /// True to automatically revert the field value and cancel
the edit when the user completes an edit and the field validation fails
(defaults to true)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['revertInvalid'] = value;
return this;
},
ignoreNoChange: function Ext_EditorConfig$ignoreNoChange(value) {
+ /// <summary>
+ /// True to skip the the edit completion process (no save, no
events fired) if the user completes an edit and the value has not
changed (defaults to false). Applies only to string values - edits for
other data types will never be ignored.
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['ignoreNoChange'] = value;
return this;
},
hideEl: function Ext_EditorConfig$hideEl(value) {
+ /// <summary>
+ /// False to keep the bound element visible while the editor
is displayed (defaults to true)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['hideEl'] = value;
return this;
},
value: function Ext_EditorConfig$value(value) {
+ /// <summary>
+ /// The data value of the underlying field (defaults to "")
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['value'] = value;
return this;
},
alignment: function Ext_EditorConfig$alignment(value) {
+ /// <summary>
+ /// The position to align to (see {@link Ext.Element#alignTo}
for more details, defaults to "c-c?").
+ /// </summary>
+ /// <param name="value" type="String">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['alignment'] = value;
return this;
},
shadow: function Ext_EditorConfig$shadow(value) {
+ /// <summary>
+ /// {Boolean/String} "sides" for sides/bottom only, "frame"
for 4-way shadow, and "drop" for bottom-right shadow (defaults to "frame")
+ /// </summary>
+ /// <param name="value" type="Object">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['shadow'] = value;
return this;
},
constrain: function Ext_EditorConfig$constrain(value) {
+ /// <summary>
+ /// True to constrain the editor to the viewport
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['constrain'] = value;
return this;
},
swallowKeys: function Ext_EditorConfig$swallowKeys(value) {
+ /// <summary>
+ /// Handle the keydown/keypress events so they don't propagate
(defaults to true)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['swallowKeys'] = value;
return this;
},
completeOnEnter: function Ext_EditorConfig$completeOnEnter(value) {
+ /// <summary>
+ /// True to complete the edit when the enter key is pressed
(defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['completeOnEnter'] = value;
return this;
},
cancelOnEsc: function Ext_EditorConfig$cancelOnEsc(value) {
+ /// <summary>
+ /// True to cancel the edit when the escape key is pressed
(defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
this.o['cancelOnEsc'] = value;
return this;
},
updateEl: function Ext_EditorConfig$updateEl(value) {
+ /// <summary>
+ /// True to update the innerHTML of the bound element when the
update completes (defaults to false)
+ /// </summary>
+ /// <param name="value" type="Boolean">
+ /// </param>
+ /// <returns type="Ext.EditorConfig"></returns>
==============================================================================
Diff truncated at 200k characters