123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: hal
- // (C) Copyright IBM Corp. 2003, 2017.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- function C_MenuPopupSet(_hDX, _hLN1){G_HAL.F_VerifyDependencies("G_MenuManager");this._hMV1=_hDX;this._hXN1=_hLN1;var _h3O=U_DOM.F_GetUniqueId("MenuPopupSet");_hDX.setAttribute("id", _h3O);var _hAT=document.createElement("DIV");_hAT.id=_h3O;_hAT.style.visibility="hidden";document.body.appendChild(_hAT);_hAT.onmousedown=G_MenuManager._h79;this._hBT=_hAT;G_MenuManager._h85(_hDX, this._hBT, _hLN1, this);G_MenuManager._h0K(this._hBT, _hDX);};C_MenuPopupSet.prototype._h5A2=function(){return this._hMV1.getAttribute("id");};C_MenuPopupSet.prototype.F_Detach=function(){if(this._hMV1){var _hXI1=this._hMV1.selectNodes(".//menuPopup");for(var i=0;i<_hXI1.length;i++){this.F_DetachMenuPopup(_hXI1.item(i));}G_MenuManager.F_DetachMenuPopupContainer(this._hMV1);this._hMV1.removeAttribute("id");delete this._hMV1;}delete this._hXN1;if(this._hBT){this._hBT.onmousedown=null;this._hBT.innerHTML="";document.body.removeChild(this._hBT);delete this._hBT;}};C_MenuPopupSet.prototype.F_DetachMenuPopup=function(_hYI1){G_MenuManager.F_DetachMenuPopup(_hYI1);};C_MenuPopupSet.prototype.F_ClearMenuPopup=function(_hYI1){G_MenuManager.F_ClearMenuPopup(_hYI1);};C_MenuPopupSet.prototype.F_GetMenuPopup=function(_hJE2){return G_MenuManager.F_GetMenuPopup(_hJE2);};C_MenuPopupSet.prototype.F_GetMenuItem=function(_hJE2){return G_MenuManager.F_GetMenuItem(this._hMV1, _hJE2);};C_MenuPopupSet.prototype.F_AppendNewMenuPopup=function(_hF51,_hEO1){return G_MenuManager.F_AppendNewMenuPopup(this._hMV1, _hF51, _hEO1);};C_MenuPopupSet.prototype.F_DrawMenuPopup=function(_hYI1){return G_MenuManager.F_Draw(_hYI1);};C_MenuPopupSet.prototype.F_SetMenuItemLabel=function(_hYB1,_h052,_hSI1){G_MenuManager.F_SetMenuItemLabel(this._hMV1, _hYB1, _h052, _hSI1);};C_MenuPopupSet.prototype.F_SetMenuItemTooltip=function(_hYB1,_h3U1){G_MenuManager.F_SetMenuItemTooltip(this._hMV1, _hYB1, _h3U1);};C_MenuPopupSet.prototype.F_SetMenuItemDefault=function(_hYB1,_hZI1){return G_MenuManager.F_SetMenuItemDefault(this._hMV1, _hYB1, _hZI1);};C_MenuPopupSet.prototype.F_SetMenuItemEnabled=function(_hYB1,_hFU1,_h292){G_MenuManager.F_SetMenuItemState(this._hMV1, _hYB1, _hFU1, _h292);};C_MenuPopupSet.prototype.F_SetMenuItemDisplay=function(_hYB1,_hNV1){G_MenuManager.F_SetMenuItemDisplay(this._hMV1, _hYB1, _hNV1);};C_MenuPopupSet.prototype.F_SetMenuItemChecked=function(_hYB1,_hBV1){G_MenuManager.F_SetMenuItemChecked(this._hMV1, _hYB1, _hBV1);};C_MenuPopupSet.prototype.F_SetMenuItemRadioState=function(_hYB1,_hBV1){G_MenuManager.F_SetMenuItemRadioState(this._hMV1, _hYB1, _hBV1);};C_MenuPopupSet.prototype.F_EndAsyncLoad=function(_hR31,_h0J1){return G_MenuManager.F_EndAsyncLoad(_hR31, _h0J1);};C_MenuPopupSet.prototype.F_HideAllMenuPopups=function(){return G_MenuManager.F_HideAllMenuPopups();};C_MenuPopupSet.prototype.F_ShowMenuPopup=function(_hR31,_hB92,_hJC2){var _h4Z=false;return G_MenuManager.F_ShowMenuPopup(_hR31, _hB92, _hJC2, _h4Z);};C_MenuPopupSet.prototype.F_HideOrShowSubMenus=function(_hYI1){return G_MenuManager.F_HideOrShowSubMenus(_hYI1);};
|