Options
All
  • Public
  • Public/Protected
  • All
Menu

Module YH-Designer/src/utils/Message

消息定义文件 消息命名格式: 消息分类+消息体

Index

Variables

Const WM_COMPONENTS_ADD

WM_COMPONENTS_ADD: "WM_COMPONENTS_ADD" = 'WM_COMPONENTS_ADD'

设计模式 组件树发生新增组件消息 主要用于记录修改的历史记录

Const WM_COMPONENTS_CHANGE

WM_COMPONENTS_CHANGE: "WM_COMPONENTS_CHANGE" = 'WM_COMPONENTS_CHANGE'

设计模式 组件树,属性,发生变化之前消息 主要用于记录修改的历史记录

Const WM_COMPONENTS_CHANGED

WM_COMPONENTS_CHANGED: "WM_COMPONENTS_CHANGED" = 'WM_COMPONENTS_CHANGED'

设计模式 组件树,属性,发生变化之后消息

Const WM_COMPONENTS_REMOVE

WM_COMPONENTS_REMOVE: "WM_COMPONENTS_REMOVE" = 'WM_COMPONENTS_REMOVE'

设计模式 组件树发生移除之前消息 主要用于记录修改的历史记录

Const WM_COMPONENTS_REMOVED

WM_COMPONENTS_REMOVED: "WM_COMPONENTS_REMOVED" = 'WM_COMPONENTS_REMOVED'

设计模式 组件树发生移除之后消息

Const WM_COMPONENT_NAME_CHANGE

WM_COMPONENT_NAME_CHANGE: "WM_COMPONENT_NAME_CHANGE" = 'WM_COMPONENT_NAME_CHANGE'

设计模式下组件名称发生变化消息

Const WM_COMPONENT_PROPERTY_CHANGE

WM_COMPONENT_PROPERTY_CHANGE: "WM_COMPONENT_PROPERTY_CHANGE" = 'WM_COMPONENT_PROPERTY_CHANGE'

设计模式下组件的属性发生变化

Const WM_DS

WM_DS: "WM_DS" = 'WM_DS'

数据源的消息

Const WM_DS_ADD

WM_DS_ADD: string = ...

新增记录事件 数据源调用 insert add 时候发生

Const WM_DS_AFTERPOST

WM_DS_AFTERPOST: string = ...

提交修改后事件

Const WM_DS_BEFORELOAD

WM_DS_BEFORELOAD: string = ...

加载数据前事件 发生在:load

Const WM_DS_BEFOREPOST

WM_DS_BEFOREPOST: string = ...

提交修改前事件

Const WM_DS_CLEAR

WM_DS_CLEAR: string = ...

移除所有记录事件 发生在: removeAll

Const WM_DS_DATACHANGED

WM_DS_DATACHANGED: string = ...

数据发生变化消息 数据源调用 loadRecords, filterBy ,sort ,clearFilter 时候发生

Const WM_DS_LOAD

WM_DS_LOAD: string = ...

加载数据事件 发生在:loadRecords function (cope, data, params)

Const WM_DS_LOADEXCEPTION

WM_DS_LOADEXCEPTION: string = ...

加载发生错误事件: 发生在 loadResponse , 和 proxy的加载出错

事件参数:function (scope, params, reponse, error)

Const WM_DS_METACHANGE

WM_DS_METACHANGE: string = ...

元数据发生改变

Const WM_DS_POSTEXCEPTION

WM_DS_POSTEXCEPTION: string = ...

提交修改时候发生的错误事件

Const WM_DS_REMOVE

WM_DS_REMOVE: string = ...

移除记录事件

Const WM_DS_UPDATE

WM_DS_UPDATE: string = ...

刷新记录事件 发生在: afterEdit ,afterReject,afterCommit

Const WM_LEFT_CLICK

WM_LEFT_CLICK: "WM_CLICK" = 'WM_CLICK'

鼠标点击左键

Const WM_LEFT_DOWN

WM_LEFT_DOWN: "WM_LEFT_DOWN" = 'WM_LEFT_DOWN'

鼠标点击左键按下

Const WM_LEFT_UP

WM_LEFT_UP: "WM_LEFT_UP" = 'WM_LEFT_UP'

鼠标左键弹起

Const WM_LOADED

WM_LOADED: "WM_LOADED" = 'WM_LOADED'

Const WM_MD

WM_MD: "WM_MD" = 'WM_MD'

主从表消息

Const WM_MD_DELTE

WM_MD_DELTE: string = ...

删除消息

Const WM_MD_EDIT

WM_MD_EDIT: string = ...

编辑消息

Const WM_MD_EXPORT

WM_MD_EXPORT: string = ...

导出消息

Const WM_MD_IMPORT

WM_MD_IMPORT: string = ...

导入消息

Const WM_MD_NEW

WM_MD_NEW: string = ...

新增消息

Const WM_MD_PRINT

WM_MD_PRINT: string = ...

打印消息

Const WM_MD_SEARCH

WM_MD_SEARCH: string = ...

查询消息

Const WM_MD_VIEW

WM_MD_VIEW: string = ...

查看消息

Const WM_MOUSE_MOVE

WM_MOUSE_MOVE: "WM_MOUSE_MOVE" = 'WM_MOUSE_MOVE'

鼠标移动

Const WM_PAGE

WM_PAGE: "WM_PAGE" = 'WM_PAGE'

页面消息分类

Const WM_PAGE_CLOSE

WM_PAGE_CLOSE: string = ...

页面关闭消息

Const WM_PAGE_LOAD

WM_PAGE_LOAD: string = ...

页面加载完消息

Const WM_PAGE_REFRESH

WM_PAGE_REFRESH: string = ...

页面加载完消息

Const WM_PAGE_SCROLL

WM_PAGE_SCROLL: string = ...

页面滚动消息

Const WM_RIGHT_CLICK

WM_RIGHT_CLICK: "WM_RIGHT_CLICK" = 'WM_RIGHT_CLICK'

鼠标点击右键

Const WM_RIGHT_DOWN

WM_RIGHT_DOWN: "WM_RIGHT_DOWN" = 'WM_RIGHT_DOWN'

鼠标点击左键按下

Const WM_RIGHT_UP

WM_RIGHT_UP: "WM_RIGHT_UP" = 'WM_RIGHT_UP'

鼠标左键弹起

Const WM_ROW_OPTION

WM_ROW_OPTION: "WM_ROW_OPTION" = 'WM_ROW_OPTION'

行操作消息

Const WM_SELECTION_CHANGE

WM_SELECTION_CHANGE: "WM_SELECTION_CHANGE" = 'WM_SELECTION_CHANGE'

设计模式下 组件焦点发生变化消息

Const WM_TAB_ACTIVED

WM_TAB_ACTIVED: "WM_TAB_ACTIVED" = 'WM_TAB_ACTIVED'

TAB组件激活页签

Const WM_TOOL_CLOSEING

WM_TOOL_CLOSEING: "WM_TOOL_CLOSEING" = 'WM_TOOL_CLOSEING'

表单关闭中 ,会返回false/true

Const WM_TOOL_SAVE

WM_TOOL_SAVE: "WM_TOOL_SAVE" = 'WM_TOOL_SAVE'

保存

Const WM_USER

WM_USER: "WM_USER" = 'WM_USER'

用户自定义消息

Const WM_WF_CONFIRM

WM_WF_CONFIRM: "WM_WF_CONFIRM" = 'WM_WF_CONFIRM'

审核工作流

Const WM_WF_SRART

WM_WF_SRART: "WM_WF_SRART" = 'WM_WF_SRART'

启动工作流

Const WM_WINDOW_SCROLL

WM_WINDOW_SCROLL: "WINDOW_SCROLL" = 'WINDOW_SCROLL'

Window滚动消息

Generated using TypeDoc