Module: nmodule/driver/rc/wb/mgr/DeviceMgrModel


new (require("nmodule/driver/rc/wb/mgr/DeviceMgrModel"))(params)

API Status: Development

A MgrModel type for a DeviceMgr derived type as an agent on a driver's
BDeviceNetwork or BDeviceFolder concrete type.

Extends:
  • module:nmodule/webEditors/rc/wb/mgr/model/MgrModel
Parameters:
Name Type Description
params Object

object containing the constructor parameters

Properties
Name Type Argument Description
component baja.Component

the component containing the devices to
be shown in the manager, typically a device network or device folder.

folderType string | Type <optional>

optional parameter indicating the folder
type for the manager.

Methods


getNavDisplayName()

Get the display name from the display name of the root component container.
This is used for the title of the tab in the HTML5 hx profile.


makeRow(subject)

Make a row for the given subject with the appropriate icon for the row. Overrides
TableModel.makeRow().

Parameters:
Name Type Description
subject

The subject of the row. Should be a device or folder instance.

Returns:
Type
module:nmodule/webEditors/rc/wb/table/model/Row