code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* JS堂翻译小组... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* JS堂翻译... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @todo
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/**
* @author Ed Spencer
* @class Ext.data.Store
* @extends Ext.data.AbstractStore
*
* <p>The Store class encapsulates a client side cache of {@link Ext.data.Model Model} objects. Stores load
* data via a {@link Ext.data.Proxy Proxy}, and also provide functions for {@link #sort sorting},
* {@link #filter filteri... | JavaScript |
/**
* @author Ed Spencer
* @class Ext.data.ProxyMgr
* @extends Ext.AbstractManager
* @singleton
* @ignore
*/
Ext.data.ProxyMgr = new Ext.AbstractManager({
create: function(config) {
if (config == undefined || typeof config == 'string') {
config = {
type: config
... | JavaScript |
/**
* @author Ed Spencer
* @class Ext.data.PolymorphicAssociation
* @extends Ext.data.Association
* @ignore
*/
Ext.data.PolymorphicAssociation = Ext.extend(Ext.data.Association, {
constructor: function(config) {
Ext.data.PolymorphicAssociation.superclass.constructor.call(this, config);
... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @todo
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @todo
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0 RC-1
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
Ext.data.TreeReader = Ext.extend(Ext.data.JsonReader, {
extractData : function(root, returnRecords) {
var records = Ext.data.TreeReader.superclass.extractData.call(this, root, returnRecords),
ln = records.length,
i = 0,
record;
if (returnRecords) {
f... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @todo
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0.1
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* JS堂翻译小组... | JavaScript |
/*
* @version Sencha 1.0RC
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/**
* @author Ed Spencer
* @class Ext.data.SessionStorageProxy
* @extends Ext.data.WebStorageProxy
*
* <p>这个Proxy是以HTML5 Session存储为服务对象的,但倘若浏览器不支持HTML5 Session客户端存储方案,构造函数就会立刻抛出一个异常。Proxy which uses HTML5 local storage as its data storage/retrieval mechanism.
* 本地存储需要一个独一无二的ID作为存放全部记录对象的KEY。
* Proxy which uses ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @todo
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
Ext.apply(Ext, {
/**
* Returns the current document body as an {@link Ext.Element}.
* @ignore
* @memberOf Ext
* @return Ext.Element The document body
*/
getHead : function() {
var head;
return function() {
if (head == undefined) {
hea... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @todo
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 0.98
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* JS堂翻译... | JavaScript |
/**
* @class Ext
* Ext核心工具与函数
* @singleton
*/
/**
* @class Ext
* Ext core utilities and functions.
* @singleton
*/
if (typeof Ext === "undefined") {
Ext = {};
}
/**
* 复制config对象的所有属性到obj(第一个参数为obj,第二个参数为config)。
* Copies all the properties of config to obj.
* @param {Object} object 属性接受方对象。The receiver ... | JavaScript |
/**
* @class Ext.ComponentQuery
* @extends Object
*
* Provides searching of Components within Ext.ComponentMgr (globally) or a specific
* Ext.Container on the page with a similar syntax to a CSS selector.
*
* Xtypes can be retrieved by their name with an optional . prefix
<ul>
<li>component or .component</li... | JavaScript |
/**
* @class Ext.PluginMgr
* <p>Provides a registry of available Plugin <i>classes</i> indexed by a mnemonic code known as the Plugin's ptype.
* The <code>{@link Ext.Component#xtype xtype}</code> provides a way to avoid instantiating child Components
* when creating a full, nested config object for a complete Ext p... | JavaScript |
/**
* @class Ext.EventManager
* Registers event handlers that want to receive a normalized EventObject instead of the standard browser event and provides
* several useful events directly.
* See {@link Ext.EventObject} for more details on normalized event objects.
* @singleton
*/
Ext.EventManager = {
optionsRe... | JavaScript |
/**
* @class Ext.util.MixedCollection
* @extends Ext.util.Observable
* A Collection class that maintains both numeric indexes and keys and exposes events.
* @constructor
* @param {Boolean} allowFunctions Specify <tt>true</tt> if the {@link #addAll}
* function should add function references to the collection. Defa... | JavaScript |
/**
* @class Ext.util.Region
* @extends Object
*
* Represents a rectangular region and provides a number of utility methods
* to compare regions.
*/
Ext.util.Region = Ext.extend(Object, {
/**
* @constructor
* @param {Number} top Top
* @param {Number} right Right
* @param {Number} bottom Bo... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @todo
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/**
* @class Ext.util.Date
* @singleton
*/
Ext.util.Date = {
/**
* 返回date对象创建时间与现在时间的时间差,单位为毫秒。
* Returns the number of milliseconds between this date and date
* (译注:)例:var date = new Date();
* var x=0;
* while(x<2){
* alert('x');
* x++;
* }
*
* var theTime = date.ge... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
Ext.util.Point = Ext.extend(Object, {
constructor: function(x, y) {
this.x = (x != null && !isNaN(x)) ? x : 0;
this.y = (y != null && !isNaN(y)) ? y : 0;
return this;
},
copy: function() {
return new Ext.util.Point(this.x, this.y);
},
copyFrom: function(p) {
... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
Ext.util.Offset = Ext.extend(Object, {
constructor: function(x, y) {
this.x = (x != null && !isNaN(x)) ? x : 0;
this.y = (y != null && !isNaN(y)) ? y : 0;
return this;
},
copy: function() {
return new Ext.util.Offset(this.x, this.y);
},
copyFrom: function(p) {
... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/**
* @class Ext.util.GeoLocation
* @extends Ext.util.Observable
*
* Provides a cross browser class for retrieving location information.<br/>
* <br/>
* Based on the <a href="http://dev.w3.org/geo/api/spec-source.html">Geolocation API Specification</a>.<br/>
* If the browser does not implement that specification ... | JavaScript |
/**
* @class Ext.Template
* <p>Represents an HTML fragment template. Templates may be {@link #compile precompiled}
* for greater performance.</p>
* An instance of this class may be created by passing to the constructor either
* a single argument, or multiple arguments:
* <div class="mdetail-params"><ul>
* <li><b... | JavaScript |
/**
* @class Ext.XTemplate
* @extends Ext.Template
* <p>支持高级功能的模板类,如:A template class that supports advanced functionality like:<div class="mdetail-params"><ul>
* <li>自动数组输出,主模板和子模板均可用。Autofilling arrays using templates and sub-templates</li>
* <li>利用基本的比较符进行条件判断。Conditional processing with basic comparison operat... | JavaScript |
/**
* @class Ext.util.Functions
* @singleton
*/
Ext.util.Functions = {
/**
* Creates an interceptor function. The passed function is called before the original one. If it returns false,
* the original one is not called. The resulting function returns the results of the original function.
* The pas... | JavaScript |
/**
* @class Ext.util.Observable
* 一个抽象基类(Abstract base class),为事件机制的管理提供一个公共接口。子类应有一个"events"属性来定义所有的事件。
* Abstract base class that provides a common interface for publishing events. Subclasses are expected to
* to have a property "events" with all the events defined.<br>
* 例如:For example:
* <pre><code>
Employ... | JavaScript |
/**
* @class Ext.DataView
* @extends Ext.Component
* A mechanism for displaying data using custom layout templates and formatting. DataView uses an {@link Ext.XTemplate}
* as its internal templating mechanism, and is bound to an {@link Ext.data.Store}
* so that as the data in the store changes the view is automati... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
Ext.DataViewSelectionModel = Ext.extend(Ext.AbstractStoreSelectionModel, {
deselectOnContainerClick: true,
bindComponent: function(view) {
this.view = view;
this.bind(view.getStore());
var eventListeners = {
refresh: this.refresh,
scope: this,
el: {
... | JavaScript |
/**
* @class Ext.ComponentMgr
* <p>
* 为页面上全体的组件(特指{@link Ext.Component}的子类)以便能够可通过组件的id方便地去访问,(参见{@link Ext.getCmp}方法)。
* Provides a registry of all Components (instances of {@link Ext.Component} or any subclass
* thereof) on a page so that they can be easily accessed by {@link Ext.Component component}
* {@link E... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/*
* @version Sencha 1.0RC-1
* @ignore
* @author Frank Cheung <frank@ajaxjs.com>
* ---------------------请保留该段信息。-------------------------
* 项目主页:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《Sencha Touch中文化相关事宜》:
* http://bbs.ajaxjs.com/viewthread.php?tid=2951
* ... | JavaScript |
/**
* @class Ext.Element
*/
Ext.Element.addMethods({
/**
* Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
* @param {String} selector The simple selector to test
* @param {Number/Mixed} maxDepth (optional) The max depth... | JavaScript |
Ext.applyIf(Ext.Element, {
unitRe: /\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i,
camelRe: /(-[a-z])/gi,
opacityRe: /alpha\(opacity=(.*)\)/i,
propertyCache: {},
defaultUnit : "px",
borders: {l: 'border-left-width', r: 'border-right-width', t: 'border-top-width', b: 'border-bottom-width'},
paddings: ... | JavaScript |
/**
* @class Ext.Element
*/
Ext.Element.addMethods({
/**
* Appends the passed element(s) to this element
* @param {String/HTMLElement/Array/Element/CompositeElement} el
* @return {Ext.Element} this
*/
appendChild : function(el) {
return Ext.get(el).appendTo(this);
},
/**
... | JavaScript |
/**
* @class Ext.lib.Container
* @extends Ext.Component
* Shared Container class
*/
Ext.lib.Container = Ext.extend(Ext.Component, {
/**
* @cfg {String/Object} layout
* <p><b>*Important</b>: In order for child items to be correctly sized and
* positioned, typically a layout manager <b>must</b> be ... | JavaScript |
/**
* @class Ext.util.Droppable
* @extends Ext.util.Observable
*
* @constructor
*/
Ext.util.Droppable = Ext.extend(Ext.util.Observable, {
baseCls: 'x-droppable',
/**
* @cfg {String} activeCls
* The CSS added to a Droppable when a Draggable in the same group is being
* dragged. Defaults to '... | JavaScript |
/**
* @class Date
*
* The date parsing and formatting syntax contains a subset of
* <a href="http://www.php.net/date">PHP's date() function</a>, and the formats that are
* supported will provide results equivalent to their PHP versions.
*
* The following is a list of all currently supported formats:
* <pre>
For... | JavaScript |
/**
* @class Ext.util.Sortable
* @extends Ext.util.Observable
* @constructor
* @param {Mixed} el
* @param {Object} config
*/
Ext.util.Sortable = Ext.extend(Ext.util.Observable, {
baseCls: 'x-sortable',
/**
* @cfg {String} direction
* Possible values: 'vertical', 'horizontal'
* Defaults to ... | JavaScript |
/**
* @class Ext.util.TapRepeater
* @extends Ext.util.Observable
*
* A wrapper class which can be applied to any element. Fires a "tap" event while
* touching the device. The interval between firings may be specified in the config but
* defaults to 20 milliseconds.
*
* @constructor
* @param {Mixed} el The elem... | JavaScript |
/**
* @class Ext.util.Draggable
* @extends Ext.util.Observable
* @constructor
* @param {Mixed} el The element you want to make draggable.
* @param {Object} config The configuration object for this Draggable.
*/
Ext.util.Draggable = Ext.extend(Ext.util.Observable, {
baseCls: 'x-draggable',
draggingCls: 'x-... | JavaScript |
/**
* @class Ext.util.JSONP
*
* Provides functionality to make cross-domain requests with JSONP (JSON with Padding).
* http://en.wikipedia.org/wiki/JSON#JSONP
* <p>
* <b>Note that if you are retrieving data from a page that is in a domain that is NOT the same as the originating domain
* of the running page, you ... | JavaScript |
/*
http://www.JSON.org/json2.js
2010-03-20
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE... | JavaScript |
(function(){
Ext.ScrollManager = new Ext.AbstractManager();
/**
* @class Ext.util.ScrollView
* @extends Ext.util.Observable
*
* A wrapper class that listens to scroll events and control the scroll indicators
*/
Ext.util.ScrollView = Ext.extend(Ext.util.Observable, {
useIndicators: true,
indicatorConfig... | JavaScript |
/**
* @class Ext.MessageBox
* @extends Ext.Sheet
*
* <p>Utility class for generating different styles of message boxes. The framework provides a global singleton {@link Ext.Msg} for common usage.<p/>
* <p>Note that the MessageBox is asynchronous. Unlike a regular JavaScript <code>alert</code> (which will halt
*... | JavaScript |
/**
* @class Ext.Panel
* @extends Ext.lib.Panel
* <p>Panel is a container that has specific functionality and structural components that make
* it the perfect building block for application-oriented user interfaces.</p>
* <p>Panels are, by virtue of their inheritance from {@link Ext.Container}, capable
* of being... | JavaScript |
/**
* @class Ext.Component
* @extends Ext.lib.Component
* <p>Base class for all Ext components. All subclasses of Component may participate in the automated
* Ext component lifecycle of creation, rendering and destruction which is provided by the {@link Ext.Container Container} class.
* Components may be added to... | JavaScript |
/**
* @class Ext.TabBar
* @extends Ext.Panel
*
* <p>Used in the {@link Ext.TabPanel} component to display {@link Ext.Tab} components.</p>
*
* <h2>Screenshot:</h2>
* <p><img src="doc_resources/Ext.TabBar/screenshot.png" /></p>
*
* <h2>Example code:</h2>
<pre><code>
var bar = new Ext.TabBar({
dock : 'top'... | JavaScript |
/**
* @class Ext.Carousel
* @extends Ext.Panel
*
* <p>A customized Panel which provides the ability to slide back and forth between
* different child items.</p>
*
* <h2>Useful Properties</h2>
* <ul class="list">
* <li>{@link #ui} (defines the style of the carousel)</li>
* <li>{@link #direction} (defines ... | JavaScript |
/**
* @class Ext.Tab
* @extends Ext.Button
*
* <p>Used in the {@link Ext.TabBar} component. This shouldn't be used directly, instead use {@link Ext.TabBar} or {@link Ext.TabPanel}.</p>
*
* @xtype tab
*/
Ext.Tab = Ext.extend(Ext.Button, {
isTab: true,
baseCls: 'x-tab',
/**
* @cfg {String} pres... | JavaScript |
/**
* @class Ext.Sheet
* @extends Ext.Panel
*
* <p>A general sheet class. This renderable container provides base support for orientation-aware
* transitions for popup or side-anchored sliding Panels.</p>
*
* <h2>Screenshot:</h2>
* <p><img src="doc_resources/Ext.Sheet/screenshot.png" /></p>
*
* <h2>Example ... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.