Application Class |
Namespace: spotfire.webPlayer
spotfire.webPlayer.Application = function(); Type.createClass( 'spotfire.webPlayer.Application');
The Application type exposes the following members.
Name | Description | |
---|---|---|
![]() | Application | Initializes a new instance of class Application. |
Name | Description | |
---|---|---|
![]() | analysisDocument | Reference to the first Document object loaded. This property will
be null if no document is loaded. |
![]() | analysisDocuments | Array with all opened instances of Document. |
Name | Description | |
---|---|---|
![]() | close | Close all open documents opened by the application. The Application.onClosed
event will be raised once per document. |
![]() | logout |
Logout the user.
|
![]() | onClosed | Event raised when the analysis has closed. |
![]() | onError | Event raised when an error occurs in the analysis or API. |
![]() | onLoggedOut | Event raised when the user is logged out. This can be due to an explicit logout request or a session timeout. |
![]() | onOpened | Event raised when a document has finished loading. |
![]() | openDocument | Open an analysis document instance specified by the application.
The Application.onOpened event will fire when the document is loaded.
Multiple documents can be opened for a single application. When several documents are created for an application
these documents will automatically be linked together. |