Class: Registry

WebPDF.Toolbar. Registry


new Registry()

A registry used to register component, controller and layout.

Example
var registry = WebPDF.Toolbar.getRegistry()
 registry.registerController(name, controllerClassDef)
 registry.registerComponent(name, componentClassDef)
 registry.registerLayout(name, layoutClassDef)

Methods


registerComponent(name, componentClassDef)

Parameters:
Name Type Description
name string
componentClassDef WebPDF.Toolbar.ClassDefinition

registerController(name, controllerClassDef)

Parameters:
Name Type Description
name string
controllerClassDef WebPDF.Toolbar.ClassDefinition

registerLayout(name, layoutClassDef)

Parameters:
Name Type Description
name string
layoutClassDef WebPDF.Toolbar.ClassDefinition