code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.dd.Registry
* 为在页面上已登记好的拖放组件提供简易的访问。
* 可按照DOM节点的id的方式直接提取组件,或者是按照传入的拖放事件,事件触发后,在事件目标(event target)里查找。
* @singleton
*/
Ext.dd.Registry = function(){
v... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.dd.StatusProxy
* 一个特殊的拖动代理,可支持落下状态时的图标,{@link Ext.Layer} 样式和自动修复。
* Ext.dd components默认都是使用这个代理
* @constructor
* @param {Object} config
*/
Ext.dd.StatusP... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.dd.DropTarget
* @extends Ext.dd.DDTarget.
* 一个简单的基础类,该实现使得任何元素变成为可落下的目标,以便让拖动的元素放到其身上。
* 落下(drop)过程没有特别效果,除非提供了notifyDrop的实现
* @constructor
* @param {Str... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/*
* These classes are derivatives of the similarly named classes in the YUI Library.
* The original license:
* Copyright (c) 2006, Yahoo! Inc. All rights reserved.
* Code li... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.dd.DropZone
* @extends Ext.dd.DropTarget
* 对于多个子节点的目标,该类提供一个DD实例的容器(扮演代理角色)。<br />
* 默认地,该类需要一个可拖动的子节点,并且需在{@link Ext.dd.Registry}登记好的。
* @constructor
* @... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.dd.ScrollManager
* 执行拖动操作时,自动在页面溢出的区域滚动
* <b>注:该类使用的是”Point模式”,而"Interest模式"未经测试。</b>
* @singleton
*/
Ext.dd.ScrollManager = function(){
var ddm = Ext... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.dd.DragSource
* @extends Ext.dd.DDProxy
* 一个简单的基础类,该实现使得任何元素变成为拖动,以便让拖动的元素放到其身上。
* @constructor
* @param {String/HTMLElement/Element} el 容器元素
* @param {Ob... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.dd.DragZone
* 该类继承了Ext.dd.DragSource,对于多节点的源,该类提供了一个DD实理容器来代理.<br/>
* 默认情况下,该类要求可拖动的子节点全都在类(Ext.dd.Registry )中己注册
* @constructor
* @param {String/HTMLEleme... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.util.MixedCollection
* 一个负责维护数字下标(numeric indexes)和键值(key)的集合类,并暴露了一些事件。
* @constructor
* @param {Boolean} allowFunctions True表示为允许加入函数指向到集合(默认为false)
* @par... | JavaScript |
/*
* Ext JS Library 1.0
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.util.Format
*可复用的数据格式化函数。
* @singleton
*/
Ext.util.Format = function(){
var trimRe = /^\s+|\s+$/g;
return {
/**
* 对大于指定长度部分的字符... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.KeyNav
* <p>
* 为跨浏览器的键盘方向键加上一层快捷的包装器(wrapper)。
* KeyNav允许你为某个功能绑定方向键,按下的时候即调用该功能。
* KeyNav允许你对方向键进行函数调用的绑定,即按下相应的键便立即执行函数,轻松实现了对任意UI组件的键盘事件控制</p>
* <p>下列是全... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
@class Ext.util.ClickRepeater
@extends Ext.util.Observable
适用于任何元素的包装类。当鼠标按下时触发一个“单击”的事件。
可在配置项中设置间隔时间但默认是10毫秒。
可选地,按下的过程中可能会加入一个CSS类。
@cfg {String/HTMLElement/Element} el... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.util.DelayedTask
* 提供快捷的方法执行setTimeout,新的超时时限会取消旧的超时时限.
* 例如验证表单的时候,键盘按下(keypress)那一瞬,就可用上该类(不会立即验证表单,稍作延时)。
* keypress事件会稍作停顿之后(某个时间)才继续执行、
* @constructor 该... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Date
*
* 日期的处理和格式化是<a href="http://www.php.net/date">PHP's date() function</a>的一个子集,
* 提供的格式和转换后的结果将和 PHP 版本的一模一样。下面列出的是目前所有支持的格式:
*<pre>
样本数据:
'Wed Jan 10 2... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.KeyMap
* Ext.KeyMap类负责在某一元素上,键盘和用户动作(Actions)之间的映射。
* 构建器可接收由{@link #addBinding}定义的相同配置项对象。
* 如果你绑定了一个KeyMap的回调函数,KeyMap会在该回调函数上提供下列参数(String key, Ext.EventObjec... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.util.TextMetrics
* 为一段文字提供一个精确象素级的测量,以便可以得到某段文字的高度和宽度。
* @singleton
*/
Ext.util.TextMetrics = function(){
var shared;
return {
/**
*... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.util.JSON
* Douglas Crockford的json.js之修改版本 该版本没有“入侵”Object对象的prototype
* http://www.json.org/js.html
* @singleton
*/
Ext.util.JSON = new (function(){
v... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.util.CSS
* 操控CSS规则的工具类
* @singleton
*/
Ext.util.CSS = function(){
var rules = null;
var doc = document;
var camelRe = /(-[a-z])/gi;
var cam... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.MasterTemplate
* @extends Ext.Template
* 用于包含多个子模板的父级模板.其语法是:
<pre><code>
var t = new Ext.MasterTemplate(
'<select name="{name}">',
'<tpl name... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
Ext.util.TaskRunner = function(interval){
interval = interval || 10;
var tasks = [], removeQueue = [];
var id = 0;
var running = false;
var stopThread = function(... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
Ext.XTemplate = function(){
Ext.XTemplate.superclass.constructor.apply(this, arguments);
var s = this.html;
s = ['<tpl>', s, '</tpl>'].join('');
var re = /<tpl... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.util.Observable
* 一个抽象基类(Abstract base class),为事件机制的管理提供一个公共接口。子类应有一个"events"属性来定义所有的事件。<br>
* 例如:
* <pre><code>
Employee = function(name){
this.name = ... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.ComponentMgr
* 公开提供一个包含所有组件的注册页,以便可以轻松地通过ID访问组件(参阅{@link Ext.getCmp})。
* @singleton
*/
Ext.ComponentMgr = function(){
var all = new Ext.util.MixedCollection... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.View
* @extends Ext.util.Observable
* 创建某个元素的“视图(View)”,这个“视图”可基于Data Model(数据模型)或 UpdateManager, 并由 DomHelper提供模板的支持。
* 选区模式支持单选或多选. <br>
* 将Data Model绑... | JavaScript |
/**
* @class Ext.Shadow
* 为所有元素提供投影效果的一个简易类。 注意元素必须为绝对定位,而且投影并没有垫片的效果(shimming)。
* This should be used only in simple cases --
* 这只是适用简单的场合- 如想提供更高阶的投影效果,请参阅{@link Ext.Layer}类。
* @constructor
* Create a new Shadow
* @param {Object} config 配置项对象
*/
Ext.Shadow = function(config){
Ext.apply(this, config);
... | JavaScript |
/**
* @class Ext.Editor
* @extends Ext.Component
* 一个基础性的字段编辑器,内建按需的显示、隐藏控制和一些内建的调节大小及事件句柄逻辑。
* @constructor
* 创建一个新的编辑器
* @param {Ext.form.Field} field 字段对象(或后代descendant)
* @param {Object} config 配置项对象
*/
Ext.Editor = function(field, config){
Ext.Editor.superclass.constructor.call(this, config);
this.... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.ColorPalette
* @extends Ext.Component
* 选择颜色使用的简单的调色板。调色板可在任意窗口内渲染。<br />
* 这里是一个典型用例:
* <pre><code>
var cp = new Ext.ColorPalette({value:'993300'}); // 初... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.JsonView
* @extends Ext.View
* 为了方便使用JSON+{@link Ext.UpdateManager},而创建的一个模板视图类。用法:
<pre><code>
var view = new Ext.JsonView("my-element",
'<div id="... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.Radio
* @extends Ext.form.Checkbox
* 单个的radio按钮。与Checkbox类似,提供一种简便,自动的输入方式。
* 如果你给radio按钮组中的每个按钮相同的名字(属性name值相同),按钮组会自动被浏览器获得。
* @constructor
* 创建一个新的... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.TextField
* @extends Ext.form.Field
* Basic text field. Can be used as a direct replacement for traditional text inputs, or as the base
* class for ... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.DateField
* @extends Ext.form.TriggerField
* Provides a date input field with a {@link Ext.DatePicker} dropdown and automatic date validation.
* 提供一个包含... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.TextArea
* @extends Ext.form.TextField
* 多行文本域。可以直接用于替代textarea,支持自动调整大小。
* @constructor
* 创建一个新的TextArea对象
* @param {Object} config 配置选项
*/
Ext.form.... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.BasicForm
* @extends Ext.util.Observable
* Supplies the functionality to do "actions" on forms and initialize Ext.form.Field types on existing markup.
* ... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.VTypes
* 提供一个简单的、易于扩展的、可重写的表单验证功能。
* @singleton
*/
Ext.form.VTypes = function(){
// 对下列变量进行闭包,所以只会创建一次。
var alpha = /^[a-zA-Z_]+$/;
var alphan... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.Field
* @extends Ext.BoxComponent
* Base class for form fields that provides default event handling, sizing, value handling and other functionality.
* 表单元... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.NumberField
* @extends Ext.form.TextField
* 数字型文本域,提供自动键击过滤和数字校验。
* @constructor
* 创建一个新的NumberField对象
* @param {Object} config 配置选项
*/
Ext.form.NumberF... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.Layout
* @extends Ext.Component
* 为布局(layout)创建一个容器,域以{@link Ext.form.Form}类型显示
* @constructor
* @param {Object} config 配置选项
*/
Ext.form.Layout = functio... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
// 定义动作的接口(action interface)
Ext.form.Action = function(form, options){
this.form = form;
this.options = options || {};
};
Ext.form.Action.CLIENT_INVALID = 'client';
Ext.fo... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.TriggerField
* @extends Ext.form.TextField
* 为添加了带有可触发事件的按钮的TextFields(文本域)提供一个方便的封装(很像一个默认combobox)。
* 触发器没有默认行为(action),因此你必须通过重写方法{@link #onTriggerCli... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.Checkbox
* @extends Ext.form.Field
* 单独的checkbox域,可以直接代替传统checkbox域
* @constructor
* 创建一个新的CheckBox对象
* @param {Object} config 配置项选项
*/
Ext.form.Checkb... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.HtmlEditor
* @extends Ext.form.Field
* 提供一个轻量级的 HTML 编辑器组件。
* <br><br><b>注意: 此组件不支持由 Ext.form.Field 继承而来的 focus/blur 和效验函数。</b><br/><br/>
* 编辑器组件是非常敏... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.ComboBox
* @extends Ext.form.TriggerField
* A combobox control with support for autocomplete, remote-loading, paging and many other features.
* 一个提供自动完... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.form.Form
* @extends Ext.form.BasicForm
* 使用js为类{@link Ext.form.BasicForm}添加动态加载效果的能力
* @constructor
* @param {Object} config 配置选项
*/
Ext.form.Form = functio... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.SplitBar
* @extends Ext.util.Observable
* Creates draggable splitter bar functionality from two elements (element to be dragged and element to be resized).
... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.Resizable
* @extends Ext.util.Observable
* <p>在元素上应用拖动柄以使其支持缩放。拖动柄是嵌入在元素内部的且采用了绝对定位。某些元素, 如文本域或图片, 不支持这种做法。为了克服这种情况, 你可以把文本域打包在一个 Div 内, 并把 "resizeChild" 属性设为 t... | JavaScript |
/**
* @class Ext.SplitButton
* @extends Ext.Button
* Split按钮可为按钮提供内建的箭头,能触发与按钮本身的单击事件不同事件。
* 典型的应用是一个“总的”按钮按下后出现的下拉菜单,以提供更大的选择,但是也可以在箭头被单击时提供一个自定义的事件处理器实现。
* @cfg {Function} arrowHandler 当箭头按钮被单击时所执行的函数(可代替单击的事件)
* @cfg {String} arrowTooltip 箭头的title属性
* @constructor
* 创建菜单按钮
* @param {String/HTMLElem... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.tree.TreeFilter
* Note this class is experimental and doesn't update the indent (lines) or expand collapse icons of the nodes
* 注意这个类是试验性的所以不会更新节点的缩进(连线)或者展开收回图标... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.tree.AsyncTreeNode
* @extends Ext.tree.TreeNode
* @cfg {TreeLoader} loader A TreeLoader to be used by this node (defaults to the loader defined on the tree)
... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.tree.TreeNode
* @extends Ext.data.Node
* @cfg {String} text The text for this node该节点所显示的文本
* @cfg {Boolean} expanded true to start the node expanded如果为"true... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.tree.TreeLoader
* @extends Ext.util.Observable
* 树加载器(TreeLoader)的目的是从URL延迟加载树节点{@link Ext.tree.TreeNode}的子节点。
* 返回值必须是以树格式的javascript数组。
* 例如:
* <pre><... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.tree.DefaultSelectionModel
* @extends Ext.util.Observable
* The default single selection for a TreePanel.一个TreePanel默认是单选择区
*/
Ext.tree.DefaultSelectionMod... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.tree.TreeSorter
* Provides sorting of nodes in a TreePanel
* 提供一个可排序节点的Tree面板
*
* @cfg {Boolean} folderSort True to sort leaf nodes under non leaf nodes设置为... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.TabPanel
* @extends Ext.util.Observable
* 一个轻量级的tab容器。
* <br><br>
* Usage:
* <pre><code>
// basic tabs 1, built from existing content
var tabs = new E... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.Toolbar
* Basic Toolbar class.
* @constructor
* 创建一个新的工具条对象
* @param {String/HTMLElement/Element} container 工具条的容器元素或元素id
* @param {Array} buttons (opti... | JavaScript |
/**
* @class Ext.LoadMask
* 一个简单的工具类,用于在加载数据时为元素做出类似于遮罩的效果。
* 对于有可用的{@link Ext.data.Store},可将效果与Store的加载达到同步,而mask本身会被缓存以备复用。
* 而对于其他元素,这个遮照类会替换元素本身的UpdateManager加载指示器,并在初始化完毕后销毁。
* @constructor
* Create a new LoadMask
* @param {String/HTMLElement/Ext.Element} el 元素、DOM节点或id,
* @param {Object} config 配置项对象
*/
... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.QuickTips
* 为所有元素提供吸引人的、可定制的工具提示。
* @singleton
*/
Ext.QuickTips = function(){
var el, tipBody, tipBodyText, tipTitle, tm, cfg, close, tagEls = {}, esc, ... | JavaScript |
/**
* @class Ext.BoxComponent
* @extends Ext.Component
* 任何使用矩形容器的作可视化组件{@link Ext.Component}的基类。
* 所有的容器类都应从BoxComponent继承,从而每个嵌套的Ext布局容器都会紧密地协调工作。
* @constructor
* @param {Ext.Element/String/Object} config 配置选项
*/
Ext.BoxComponent = function(config){
Ext.BoxComponent.superclass.constructor.call(this, confi... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
// private
// This is a support class used internally by the Grid components
Ext.grid.GridDragZone = function(grid, config){
this.view = grid.getView();
Ext.grid.GridDragZone.... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
Ext.grid.AbstractGridView = function(){
this.grid = null;
this.events = {
"beforerowremoved" : true,
"beforerowsinserted" : true,
"beforerefresh" : true,
... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
Ext.grid.PropertyRecord = Ext.data.Record.create([
{name:'name',type:'string'}, 'value'
]);
Ext.grid.PropertyStore = function(grid, source){
this.grid = grid;
this.store ... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.grid.ColumnModel
* @extends Ext.util.Observable
* 该实现(implementation)用于Grid的列模型(ColumnModel)。用于定义Grid里面的每一列的状态。
* <br>用法:<br>
<pre><code>
var colModel =... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.grid.Grid
* @extends Ext.util.Observable
* 将主要的控制Grid组件的接口呈现为该类。
*
* <br><br>Usage:<pre><code>
var grid = new Ext.grid.Grid("my-container-id", {
ds... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
// private
// This is a support class used internally by the Grid components
Ext.grid.SplitDragZone = function(grid, hd, hd2){
this.grid = grid;
this.view = grid.getView();
... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.grid.CellSelectionModel
* @extends Ext.grid.AbstractSelectionModel
* 本类提供了grid单元格选区的基本实现。
* @constructor
* @param {Object} config 针对该模型的配置对象。
*/
Ext.grid.CellS... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.grid.EditorGrid
* @extends Ext.grid.Grid
* 创建和编辑GRID的类。
* @param {String/HTMLElement/Ext.Element} container 承载GRID的那个元素
* 容器必须先定义一些类型和长度,以便Grid填充。容器会自动设置其... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
// private
// This is a support class used internally by the Grid components
Ext.grid.HeaderDragZone = function(grid, hd, hd2){
this.grid = grid;
this.view = grid.getView(... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
// private
// This is a support class used internally by the Grid components
Ext.grid.GridEditor = function(field, config){
Ext.grid.GridEditor.superclass.constructor.call(this, f... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.grid.GridView
* @extends Ext.util.Observable
*
* @constructor
* @param {Object} config
*/
Ext.grid.GridView = function(config){
Ext.grid.GridView.su... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
@class Ext.grid.RowSelectionModel
* @extends Ext.grid.AbstractSelectionModel
* {@link Ext.grid.Grid}默认使用的SelectionModel。支持多个选区和键盘选区/导航 <br><br>
@constructor
* @param {Obj... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.grid.AbstractSelectionModel
* @extends Ext.util.Observable
* Grid选区模型(SelectionModels)基本抽象类。本类提供了子类要实现的接口。该类不能被直接实例化。
* @constructor
*/
Ext.grid.AbstractSe... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.BasicDialog
* @extends Ext.util.Observable
* 轻便的 Dialog 类。下面的代码展示了使用已有的 HTML 标签创建一个典型的对话框:
* <pre><code>
var dlg = new Ext.BasicDialog("my-dlg", {
hei... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.Button
* @extends Ext.util.Observable
* 简单的按钮类
* @cfg {String} text 按钮的文本
* @cfg {String} icon 要显示要按钮上的图片的路径 (要显示的图片将会被设置成背景图片
* 这是按钮默认的CSS属性, 所以你若想得到一... | JavaScript |
/**
* @class Ext.Layer
* @extends Ext.Element
* 一个由{@link Ext.Element}扩展的对象,支持阴影和shim,受视图限制和自动修复阴影/shim位置。
* @cfg {Boolean} shim False表示为禁用iframe的shim,在某些浏览器里需用到(默认为true)
* @cfg {String/Boolean} shadow True表示为创建元素的阴影,采用样式类"x-layer-shadow",或者你可以传入一个字符串指定一个CSS样式类,False表示为关闭阴影。
* @cfg {Object} dh DomHelper配置格式... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.DatePicker
* @extends Ext.Component
* 简单的日期拾取器类。
* @constructor
* 创建一个 DatePicker 对象
* @param {Object} config 配置项对象
*/
Ext.DatePicker = function(config... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.Element
* 呈现DOM里面的一个元素。<br><br>
* 用法:<br>
<pre><code>
var el = Ext.get("my-div");
// 或者是 getEl
var el = getEl("my-div");
// 或者是一个 DOM element
var el = ... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.DomHelper
* 处理DOM或模板(Templates)的实用类。
* 能较清晰地编写HTML片段(HTML fragments)或DOM。
* 更多资讯,请参阅 <a href="http://www.jackslocum.com/yui/2006/10/06/domhelper-create-element... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
Ext = {};
//为老版本浏览器提供
window["undefined"] = window["undefined"];
/**
* @class Ext
* Ext核心工具与函数
* @单例的(singleton)
*/
/**
* 复制所有参数 config 中的属性至参数 obj(第一个参数为obj,第二个参... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.EventManager
* 对于登记的事件句柄(Event handlers),能够接受一个常规化的(已作跨浏览器处理的)EventObject的参数
* ,而非浏览器的标准事件,并直接提供一些有用的事件。
* 更多“已常规化的事件对象(normalized event objects)”的信息,请参阅{@link ... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.Template
* 将某一段Html的片段呈现为模板。可将模板编译以获取更高的性能。
* 针对格式化的函数的可用列表,请参阅{@link Ext.util.Format}.<br />
* 用法:
<pre><code>
var t = new Ext.Template(
'<div name="... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
//通知 Element 对象 FX 的方法可用
Ext.enableFx = true;
/**
* @class Ext.Fx
* <p>这是一个提供基础动画和视觉效果支持的类。<b>注意:</b>此类被引用后会自动应用于 {@link Ext.Element} 的接口,
* 因此所有的效果必须通过 Element 对象来实现。反过来说,... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.CompositeElement
* 标准的复合类(composite class)。为集合中每个元素创建一个Ext.Element。
* <br><br>
* <b>注意:尽管未全部罗列,该类支持全部Ext.Element的set/update方法。
* 集合里面的全部元素都会执行所有的Ext.Element动... | JavaScript |
/*
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.UpdateManager
* @extends Ext.util.Observable
*为元素对象提供Ajax式更新。<br><br>
* 用法:<br>
* <pre><code>
* // 从Ext.Element对象上获取
* var el = Ext.get("foo");
* var... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/*
* This is code is also distributed under MIT license for use
* with jQuery and prototype JavaScript libraries.
*
* 本代码与 jQuery、prototype JavaScript 类库同样遵循 MIT 授权协议发布与使用。
... | JavaScript |
/*
* Ext JS Library 1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
* licensing@extjs.com
*
* http://www.extjs.com/license
*/
/**
* @class Ext.state.Provider
* 为State Provider的实现提供一个抽象基类。
* 该类对某些类型的变量提供了编码、解码方法,包括日期和定义Provider的接口。
*/
Ext.state.Provider = function(){
/**
* @event statechange
... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
/*
* 更新地址:http://jstang.5d6d.com/thread-715-1-1.html
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://jstang.5d6d.com/thread-90-1-2.html
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.