Class: Klass

M~ Klass

new Klass()

Klass类,M.BaseObj是其prototype

Extends

Members

__interfaces__ :Array

已实现接口元信息
Type:
  • Array

Methods

<static> extend(classDefine)

继承当前类,产生新类
Parameters:
Name Type Description
classDefine Object

<static> fireInitialized(instance)

触发类的oninitialize事件
Parameters:
Name Type Description
instance Object

<static> include(module, option)

包含指定的module到当前类中
Parameters:
Name Type Description
module IModule
option IModuleOption

<static> onInitialize(observer)

添加类的初始化事件的监听者
Parameters:
Name Type Description
observer function