LogWeb V3 Default Emulator (AJAX based)

Class lw.Menu

Object
   |
   +--lw.Menu

class lw.Menu


The lw.Menu object provides GUI menus ("popup menu", "pull down menu").
There are several steps in the life-time of a menu:

Please note that the lw.Menu API definition is based largely on Strings.
Defined in lwmenu.js

Version:


Nested Class Summary
<static class> lw.Menu.level
<static class> lw.Menu.action
 
Field Summary
<static>  <final> {String} CLASSNAME
          The CSS class name of the menu container (TABLE).
<static>  Object evalAction
          Stub: Eval the specified action/bean (JavaScript source).
<static>  Object hideMac
          if true: does not record actions in lwh.mac (if any).
<static>  <final> {CSS_Color} HOVER
          The CSS :hover background-color.
 
Constructor Summary
lw.Menu ()
            The lw.Menu object containing all routines for handling menus.
 
Method Summary
<static> Object_MenuElement makeAction(<String> text, <String> action, <String> init, <boolean_function> disabled)
           Returns a new action element for use in a Menu.
<static> Object makeInput(text, action, init, disabled)
          
<static> Object_MenuElement makeLink(<String> text, <String> menu, <String> init, <boolean_function> disabled)
           Returns a new submenu link element for use in a Menu.
<static> Object_Menu makeMenu(<Object_MenuElement> elements)
           Returns a new Menu structure containing the specified elements.
<static> Array_Object_MenuElement makeRadio(<String_Array> text, <String> action, <String> init, <boolean_function> disabled)
           Returns a list of new radio elements for use in a Menu.
<static> Array_Object_SelectElement makeSelect(<String_Array> text, <String> action, <String> init, <boolean_function> disabled)
           Returns a select element with options list for use in a Menu.
<static> Object makeSelectText(text, action, init, disabled)
          
<static> Object_MenuElement makeSeparator()
           Returns a new separator element for use in a Menu.
<static> Object_MenuElement makeToggle(<String> text, <String> action, <String> init, <boolean_function> disabled)
           Returns a new toggle element for use in a Menu.
<static> void show(<String> menu, <Node_or_String> anchor, <Event> evt)
           Assembles and shows the specified menu.
<static> void showBar(<String> menu, <String> anchor)
           Assembles and shows the specified menu in the specified HTML node.
<static> Object showMain(evt, <String> menu)
           Shows the LogWeb main menu.

Field Detail

CLASSNAME

<static> <final> {String} CLASSNAME

evalAction

<static> Object evalAction

hideMac

<static> Object hideMac

HOVER

<static> <final> {CSS_Color} HOVER

Constructor Detail

lw.Menu

lw.Menu()

Method Detail

makeAction

<static> Object_MenuElement makeAction(<String> text, <String> action, <String> init, <boolean_function> disabled)

makeInput

<static> Object makeInput(text, action, init, disabled)

makeLink

<static> Object_MenuElement makeLink(<String> text, <String> menu, <String> init, <boolean_function> disabled)

makeMenu

<static> Object_Menu makeMenu(<Object_MenuElement> elements)

makeRadio

<static> Array_Object_MenuElement makeRadio(<String_Array> text, <String> action, <String> init, <boolean_function> disabled)

makeSelect

<static> Array_Object_SelectElement makeSelect(<String_Array> text, <String> action, <String> init, <boolean_function> disabled)

makeSelectText

<static> Object makeSelectText(text, action, init, disabled)

makeSeparator

<static> Object_MenuElement makeSeparator()

makeToggle

<static> Object_MenuElement makeToggle(<String> text, <String> action, <String> init, <boolean_function> disabled)

show

<static> void show(<String> menu, <Node_or_String> anchor, <Event> evt)

showBar

<static> void showBar(<String> menu, <String> anchor)

showMain

<static> Object showMain(evt, <String> menu)

LogWeb V3 Default Emulator (AJAX based)

Copyright © 2006-2012 by Logics Software GmbH
Documentation generated by JSDoc on Mon Mar 3 17:24:18 2014