Class Index | File Index

Classes


Function Namespace kocujILV12aCAllWindow

kocujILV12aCAllWindow
Defined in: window.js.

Function Namespace Summary
Constructor Attributes Constructor Name and Description
 
Window window prototype constructor
Field Summary
Field Attributes Field Name and Description
<private>  
Object kocujILV12aAllJsAjax
<private>  
Object kocujILV12aHelper
<private>  
Projects list
<private>  
Current script filename
<private>  
Script settings - dialog window CSS URL
<private>  
Script settings - prefix
<private>  
Script settings - text for loading
<private>  
Script settings - text for loading error
<private>  
Script settings - throw errors (true) or not (false)
Method Summary
Method Attributes Method Name and Description
<private>  
_checkAddProject(projectId)
Check arguments for adding project
<private>  
_checkStylesheet(projectId)
Check window stylesheet
<private>  
_getHTMLNameContent(projectId, windowId)
Get HTML prefix for window content
<private>  
_getHTMLNameContentInside(projectId, windowId)
Get HTML prefix for window content inside
<private>  
_getHTMLNameDummy(projectId)
Get HTML prefix for dummy element
<private>  
Get HTML prefix for stylesheet
<private>  
_getHTMLNameWindow(projectId, windowId)
Get HTML prefix for window
<private>  
_getHTMLPrefix(projectId)
Get HTML prefix
<private>  
_parseProjectId(projectId)
Parse project identifier
<private>  
_showWindow(projectId, windowId, type, attr)
Show window now
<private>  
_throwError(codeString, param)
Throw an error if debugging is enabled
 
addProject(projectId)
Add project
 
Add project if not exists
 
ajaxErrorCallback(projectId, connectionId, obj, status, err)
AJAX loading error callback
 
ajaxSuccessCallback(projectId, connectionId, data, status, obj)
AJAX loading success callback
 
getHTMLSelectorContent(projectId, windowId)
Get HTML selector for window content
 
getHTMLSelectorContentInside(projectId, windowId)
Get HTML selector for window content inside
 
Get HTML selector for dummy element
 
Get HTML selector for stylesheet
 
getHTMLSelectorWindow(projectId, windowId)
Get HTML selector for window
 
show(projectId, windowId, type, attr)
Show window
Function Namespace Detail
kocujILV12aCAllWindow()
Window window prototype constructor
Returns:
{void}
Field Detail
<private> _objAllJsAjax
Object kocujILV12aAllJsAjax

<private> _objHelper
Object kocujILV12aHelper

<private> _prj
Projects list

<private> _thisFilename
Current script filename

<private> _valsDialogCssUrl
Script settings - dialog window CSS URL

<private> _valsPrefix
Script settings - prefix

<private> _valsTextLoading
Script settings - text for loading

<private> _valsTextLoadingError
Script settings - text for loading error

<private> _valsThrowErrors
Script settings - throw errors (true) or not (false)
Method Detail
<private> {Object} _checkAddProject(projectId)
Check arguments for adding project
Parameters:
{string} projectId
Project identifier
Throws:
{kocujILV12aCException}
kocujILV12aExceptionCode.EMPTY_PROJECT_ID if project identifier entered in projectId is empty
Returns:
{Object} Parsed arguments for adding project

<private> {boolean} _checkStylesheet(projectId)
Check window stylesheet
Parameters:
{string} projectId
Project identifier
Returns:
{boolean} Stylesheet has been loaded (true) or not (false)

<private> {string} _getHTMLNameContent(projectId, windowId)
Get HTML prefix for window content
Parameters:
{string} projectId
Project identifier
{string} windowId
Window identifier
Returns:
{string} HTML prefix for window content

<private> {string} _getHTMLNameContentInside(projectId, windowId)
Get HTML prefix for window content inside
Parameters:
{string} projectId
Project identifier
{string} windowId
Window identifier
Returns:
{string} HTML prefix for window content inside

<private> {string} _getHTMLNameDummy(projectId)
Get HTML prefix for dummy element
Parameters:
{string} projectId
Project identifier
Returns:
{string} HTML prefix for dummy element

<private> {string} _getHTMLNameStylesheet(projectId)
Get HTML prefix for stylesheet
Parameters:
{string} projectId
Project identifier
Returns:
{string} HTML prefix for stylesheet

<private> {string} _getHTMLNameWindow(projectId, windowId)
Get HTML prefix for window
Parameters:
{string} projectId
Project identifier
{string} windowId
Window identifier
Returns:
{string} HTML prefix for window

<private> {string} _getHTMLPrefix(projectId)
Get HTML prefix
Parameters:
{string} projectId
Project identifier
Returns:
{string} HTML prefix

<private> {string} _parseProjectId(projectId)
Parse project identifier
Parameters:
{string} projectId
Project identifier
Throws:
{kocujILV12aCException}
kocujILV12aExceptionCode.EMPTY_PROJECT_ID if project identifier entered in projectId is empty
{kocujILV12aCException}
kocujILV12aExceptionCode.PROJECT_DOES_NOT_EXIST if project identifier entered in projectId does not exist
Returns:
{string} Parsed project identifier

<private> {void} _showWindow(projectId, windowId, type, attr)
Show window now
Parameters:
{string} projectId
Project identifier
{string} windowId
Window identifier
{number} type
Window type
{Object} attr
Window attributes
Returns:
{void}

<private> {void} _throwError(codeString, param)
Throw an error if debugging is enabled
Parameters:
{string} codeString
Error code in string format
{string} param Optional
Parameter for error information
Returns:
{void}

{void} addProject(projectId)
Add project
Parameters:
{string} projectId
Project identifier
Throws:
{kocujILV12aCException}
kocujILV12aExceptionCode.PROJECT_ALREADY_EXISTS if project identifier entered in projectId already exists
Returns:
{void}

{void} addProjectIfNotExists(projectId)
Add project if not exists
Parameters:
{string} projectId
Project identifier
Returns:
{void}

{void} ajaxErrorCallback(projectId, connectionId, obj, status, err)
AJAX loading error callback
Parameters:
{string} projectId
Project identifier
{string} connectionId
Connection identifier
{Object} obj
Request object
{string} status
Text status
{string} err
Error
Returns:
{void}

{void} ajaxSuccessCallback(projectId, connectionId, data, status, obj)
AJAX loading success callback
Parameters:
{string} projectId
Project identifier
{string} connectionId
Connection identifier
{anything} data
Data
{string} status
Text status
{Object} obj
Request object
Returns:
{void}

{string} getHTMLSelectorContent(projectId, windowId)
Get HTML selector for window content
Parameters:
{string} projectId
Project identifier
{string} windowId
Window identifier
Returns:
{string} HTML selector for window content

{string} getHTMLSelectorContentInside(projectId, windowId)
Get HTML selector for window content inside
Parameters:
{string} projectId
Project identifier
{string} windowId
Window identifier
Returns:
{string} HTML selector for window content inside

{string} getHTMLSelectorDummy(projectId)
Get HTML selector for dummy element
Parameters:
{string} projectId
Project identifier
Returns:
{string} HTML selector for dummy element

{string} getHTMLSelectorStylesheet(projectId)
Get HTML selector for stylesheet
Parameters:
{string} projectId
Project identifier
Returns:
{string} HTML selector for stylesheet

{string} getHTMLSelectorWindow(projectId, windowId)
Get HTML selector for window
Parameters:
{string} projectId
Project identifier
{string} windowId
Window identifier
Returns:
{string} HTML selector for window

{void} show(projectId, windowId, type, attr)
Show window
Parameters:
{string} projectId
Project identifier
{string} windowId
Window identifier
{number} type
Window type
{Object} attr
Window attributes
Returns:
{void}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Mar 08 2018 21:48:57 GMT+0100 (CET)