fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

438 lines
8.1 KiB

8 years ago
/**
* 事件集合
* @class BI.Events
*/
_.extend(BI, {
Events: {
/**
* @static
* @property keydown事件
*/
KEYDOWN: "_KEYDOWN",
/**
* @static
* @property 回撤事件
*/
BACKSPACE: "_BACKSPACE",
/**
* @static
* @property 空格事件
*/
SPACE: "_SPACE",
/**
* @static
* @property 回车事件
*/
ENTER: "_ENTER",
/**
* @static
* @property 确定事件
*/
7 years ago
CONFIRM: "_CONFIRM",
8 years ago
/**
* @static
* @property 错误事件
*/
7 years ago
ERROR: "_ERROR",
8 years ago
/**
* @static
* @property 暂停事件
*/
7 years ago
PAUSE: "_PAUSE",
8 years ago
/**
* @static
* @property destroy事件
*/
7 years ago
DESTROY: "_DESTROY",
8 years ago
6 years ago
/**
* @static
* @property 取消挂载事件
*/
MOUNT: "_MOUNT",
8 years ago
/**
* @static
* @property 取消挂载事件
*/
7 years ago
UNMOUNT: "_UNMOUNT",
8 years ago
8 years ago
/**
* @static
* @property 清除选择
*/
7 years ago
CLEAR: "_CLEAR",
8 years ago
/**
* @static
* @property 添加数据
*/
7 years ago
ADD: "_ADD",
8 years ago
/**
* @static
* @property 正在编辑状态事件
*/
7 years ago
EDITING: "_EDITING",
8 years ago
/**
* @static
* @property 空状态事件
*/
7 years ago
EMPTY: "_EMPTY",
8 years ago
/**
* @static
* @property 显示隐藏事件
*/
7 years ago
VIEW: "_VIEW",
8 years ago
/**
* @static
* @property 窗体改变大小
*/
RESIZE: "_RESIZE",
/**
* @static
* @property 编辑前事件
*/
7 years ago
BEFOREEDIT: "_BEFOREEDIT",
8 years ago
/**
* @static
* @property 编辑后事件
*/
7 years ago
AFTEREDIT: "_AFTEREDIT",
8 years ago
/**
* @static
* @property 开始编辑事件
*/
7 years ago
STARTEDIT: "_STARTEDIT",
8 years ago
/**
* @static
* @property 停止编辑事件
*/
7 years ago
STOPEDIT: "_STOPEDIT",
8 years ago
/**
* @static
* @property 值改变事件
*/
7 years ago
CHANGE: "_CHANGE",
8 years ago
/**
* @static
* @property 下拉弹出菜单事件
*/
7 years ago
EXPAND: "_EXPAND",
8 years ago
/**
* @static
* @property 关闭下拉菜单事件
*/
7 years ago
COLLAPSE: "_COLLAPSE",
8 years ago
/**
* @static
* @property 回调事件
*/
7 years ago
CALLBACK: "_CALLBACK",
8 years ago
/**
* @static
* @property 点击事件
*/
7 years ago
CLICK: "_CLICK",
8 years ago
/**
* @static
* @property 状态改变事件一般是用在复选按钮和单选按钮
*/
7 years ago
STATECHANGE: "_STATECHANGE",
8 years ago
/**
* @static
* @property 状态改变前事件
*/
7 years ago
BEFORESTATECHANGE: "_BEFORESTATECHANGE",
8 years ago
/**
* @static
* @property 初始化事件
*/
7 years ago
INIT: "_INIT",
8 years ago
/**
* @static
* @property 初始化后事件
*/
7 years ago
AFTERINIT: "_AFTERINIT",
8 years ago
/**
* @static
* @property 滚动条滚动事件
*/
7 years ago
SCROLL: "_SCROLL",
8 years ago
/**
* @static
* @property 开始加载事件
*/
7 years ago
STARTLOAD: "_STARTLOAD",
8 years ago
/**
* @static
* @property 加载后事件
*/
7 years ago
AFTERLOAD: "_AFTERLOAD",
8 years ago
/**
* @static
* @property 提交前事件
*/
7 years ago
BS: "beforesubmit",
8 years ago
/**
* @static
* @property 提交后事件
*/
7 years ago
AS: "aftersubmit",
8 years ago
/**
* @static
* @property 提交完成事件
*/
7 years ago
SC: "submitcomplete",
8 years ago
/**
* @static
* @property 提交失败事件
*/
7 years ago
SF: "submitfailure",
8 years ago
/**
* @static
* @property 提交成功事件
*/
7 years ago
SS: "submitsuccess",
8 years ago
/**
* @static
* @property 校验提交前事件
*/
7 years ago
BVW: "beforeverifywrite",
8 years ago
/**
* @static
* @property 校验提交后事件
*/
7 years ago
AVW: "afterverifywrite",
8 years ago
/**
* @static
* @property 校验后事件
*/
7 years ago
AV: "afterverify",
8 years ago
/**
* @static
* @property 填报前事件
*/
7 years ago
BW: "beforewrite",
8 years ago
/**
* @static
* @property 填报后事件
*/
7 years ago
AW: "afterwrite",
8 years ago
/**
* @static
* @property 填报成功事件
*/
7 years ago
WS: "writesuccess",
8 years ago
/**
* @static
* @property 填报失败事件
*/
7 years ago
WF: "writefailure",
8 years ago
/**
* @static
* @property 添加行前事件
*/
7 years ago
BA: "beforeappend",
8 years ago
/**
* @static
* @property 添加行后事件
*/
7 years ago
AA: "afterappend",
8 years ago
/**
* @static
* @property 删除行前事件
*/
7 years ago
BD: "beforedelete",
8 years ago
/**
* @static
* @property 删除行后事件
*/
7 years ago
AD: "beforedelete",
8 years ago
/**
* @static
* @property 未提交离开事件
*/
7 years ago
UC: "unloadcheck",
8 years ago
/**
* @static
* @property PDF导出前事件
*/
7 years ago
BTOPDF: "beforetopdf",
8 years ago
/**
* @static
* @property PDF导出后事件
*/
7 years ago
ATOPDF: "aftertopdf",
8 years ago
/**
* @static
* @property Excel导出前事件
*/
7 years ago
BTOEXCEL: "beforetoexcel",
8 years ago
/**
* @static
* @property Excel导出后事件
*/
7 years ago
ATOEXCEL: "aftertoexcel",
8 years ago
/**
* @static
* @property Word导出前事件
*/
7 years ago
BTOWORD: "beforetoword",
8 years ago
/**
* @static
* @property Word导出后事件
*/
7 years ago
ATOWORD: "aftertoword",
8 years ago
/**
* @static
* @property 图片导出前事件
*/
7 years ago
BTOIMAGE: "beforetoimage",
8 years ago
/**
* @static
* @property 图片导出后事件
*/
7 years ago
ATOIMAGE: "aftertoimage",
8 years ago
/**
* @static
* @property HTML导出前事件
*/
7 years ago
BTOHTML: "beforetohtml",
8 years ago
/**
* @static
* @property HTML导出后事件
*/
7 years ago
ATOHTML: "aftertohtml",
8 years ago
/**
* @static
* @property Excel导入前事件
*/
7 years ago
BIMEXCEL: "beforeimportexcel",
8 years ago
/**
* @static
* @property Excel导出后事件
*/
7 years ago
AIMEXCEL: "afterimportexcel",
8 years ago
/**
* @static
* @property PDF打印前事件
*/
7 years ago
BPDFPRINT: "beforepdfprint",
8 years ago
/**
* @static
* @property PDF打印后事件
*/
7 years ago
APDFPRINT: "afterpdfprint",
8 years ago
/**
* @static
* @property Flash打印前事件
*/
7 years ago
BFLASHPRINT: "beforeflashprint",
8 years ago
/**
* @static
* @property Flash打印后事件
*/
7 years ago
AFLASHPRINT: "afterflashprint",
8 years ago
/**
* @static
* @property Applet打印前事件
*/
7 years ago
BAPPLETPRINT: "beforeappletprint",
8 years ago
/**
* @static
* @property Applet打印后事件
*/
7 years ago
AAPPLETPRINT: "afterappletprint",
8 years ago
/**
* @static
* @property 服务器打印前事件
*/
7 years ago
BSEVERPRINT: "beforeserverprint",
8 years ago
/**
* @static
* @property 服务器打印后事件
*/
7 years ago
ASERVERPRINT: "afterserverprint",
8 years ago
/**
* @static
* @property 邮件发送前事件
*/
7 years ago
BEMAIL: "beforeemail",
8 years ago
/**
* @static
* @property 邮件发送后事件
*/
7 years ago
AEMAIL: "afteremail"
8 years ago
}
});