PDRNView Class Reference

Inherits from UIView
Declared in PDRNView.h

Overview

NView基类所有扩展出的NView插件都应该从该类继承

  JSContext

JavaScript执行环境

@property (nonatomic, retain) PDRJSContext *JSContext

Declared In

PDRNView.h

  identity

NView插件类别名称

@property (nonatomic, copy) NSString *identity

Declared In

PDRNView.h

  ID

NView唯一标识

@property (nonatomic, copy) NSString *ID

Declared In

PDRNView.h

– initWithOptions:

使用JS NViewOption创建NView 子类应该重写该方法实现初始化

- (id)initWithOptions:(NSDictionary *)options

Parameters

options

NViewOption

Return Value

id NView对象

Declared In

PDRNView.h

– dispatchEvent:

分发event事件

- (void)dispatchEvent:(NSString *)evtName

Parameters

evtName

事件名称

Return Value

Declared In

PDRNView.h

– onRemoveFormSuperView

NView从NWindow上移除时回调 @param

- (void)onRemoveFormSuperView

Return Value

Declared In

PDRNView.h