Class: DashboardApp

DashboardApp()

new DashboardApp()

Methods

close(callback)

Closes the current application.
Parameters:
Name Type Description
callback function

closeDashboard(dsbid)

Closes a dashboard with the specified dashboard ID.
Parameters:
Name Type Description
dsbid String The dashboard ID

getActiveDashboard() → {Object}

Returns the current active dashboard.
Returns:
The instance of com.jinfonet.api.Dashboard.
Type
Object

getDashboardIDs() → {Array}

Returns all dashboard IDs.
Returns:
The array of dashboard IDs.
Type
Array

openDashboard(res)

Opens a dashboard with the specified resource.
Parameters:
Name Type Description
res Object The dashboard resource in the server.
Properties
Name Type Description
name String The full resource path.

switchDashboard(dsbid)

Switches the current active dashboard.
Parameters:
Name Type Description
dsbid String The dashboard id