telosys.functions
Interface Menu


public interface Menu

Functions for menu management Reserved for internal use.


Method Summary
 void fwkAfterMenuItemClick(object event)
          Function called after a CLICK on a menu item Cancel the event and reset the menubar
 void fwkHideMenu(object menu)
          Hide the given menu
 void fwkInitMenuBar(string id)
          Init the given menu bar
 void fwkInitMenuItem(string id, string submenuId)
          Init the given menu item ( set events and submenu if any )
 void fwkMenuLink(string location)
          Function called after a CLICK on a menu item containing a HREF link or RESOURCE link Loads a new page in the window
 void fwkResetMenuBar()
          Reset the default menubar
 void fwkResetMenuBar(object menuBar)
          Reset the given menubar
 void fwkSelectMenuBarItem(object td, string menuId, string menuPosition)
          Change the current active item (TD) in the menu bar
 void fwkSelectMenuItem()
          Menu item event ( TR event )
 void fwkSetMenuYX(object menu, object origin, string where)
           
 void fwkShowMenu(object menu)
          Show the given menu
 void fwkUnselectMenuItem()
          Menu item event ( TR event )
 

Method Detail

fwkAfterMenuItemClick

public void fwkAfterMenuItemClick(object event)
Function called after a CLICK on a menu item Cancel the event and reset the menubar

Parameters:
event -

fwkSetMenuYX

public void fwkSetMenuYX(object menu,
                         object origin,
                         string where)
Parameters:
menu -
origin -
where - : "R" for right, "B" for below

fwkShowMenu

public void fwkShowMenu(object menu)
Show the given menu

Parameters:
menu - : a DIV element

fwkHideMenu

public void fwkHideMenu(object menu)
Hide the given menu

Parameters:
menu - : a DIV element

fwkSelectMenuItem

public void fwkSelectMenuItem()
Menu item event ( TR event )


fwkUnselectMenuItem

public void fwkUnselectMenuItem()
Menu item event ( TR event )


fwkSelectMenuBarItem

public void fwkSelectMenuBarItem(object td,
                                 string menuId,
                                 string menuPosition)
Change the current active item (TD) in the menu bar

Parameters:
td - : the menubar item
menuId - : the id of the menu associated with the menubar item ( or null )
menuPosition - : "R" for right, "B" for below

fwkResetMenuBar

public void fwkResetMenuBar()
Reset the default menubar


fwkResetMenuBar

public void fwkResetMenuBar(object menuBar)
Reset the given menubar

Parameters:
menuBar - : reference on a TABLE object

fwkInitMenuItem

public void fwkInitMenuItem(string id,
                            string submenuId)
Init the given menu item ( set events and submenu if any )

Parameters:
id -
submenuId -

fwkInitMenuBar

public void fwkInitMenuBar(string id)
Init the given menu bar

Parameters:
id -

fwkMenuLink

public void fwkMenuLink(string location)
Function called after a CLICK on a menu item containing a HREF link or RESOURCE link Loads a new page in the window

Parameters:
location -