LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.menubar
Class LyJQMenuBar

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.jquery.component.LyJQInternalView
              extended by leon.view.web.jquery.component.menubar.LyJQMenuBar
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalMenuBar, LyViewComponent, LyFreeInterface, LyWebComponent

public class LyJQMenuBar
extends LyJQInternalView
implements LyGraphicalMenuBar

LyWeb2MenuBar


Field Summary
 LyMenuBar _menuBar
           
 
Fields inherited from class leon.view.web.LyWebObject
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from interface leon.view.graphic.LyGraphicalMenuBar
__VERSION
 
Constructor Summary
LyJQMenuBar(LyMenuBar menuBar)
           
 
Method Summary
 void addMenu(LyMenu menu, int pos)
          Inserts a sub-component menus at given position.
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 void removeMenu(LyMenu menus)
          Removes a sub-component menus.
 void writeHtml(LyWebPageWriter pw)
          Write HTML description corresponding to this component.
 
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty
 
Methods inherited from class leon.view.web.LyWebObject
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson
 
Methods inherited from class leon.view.graphic.LyGraphicalObject
expand, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface leon.view.graphic.LyGraphicalComponent
free, getViewComponent
 

Field Detail

_menuBar

public LyMenuBar _menuBar
Constructor Detail

LyJQMenuBar

public LyJQMenuBar(LyMenuBar menuBar)
Parameters:
viewComponent -
Method Detail

writeHtml

public void writeHtml(LyWebPageWriter pw)
Description copied from interface: LyWebComponent
Write HTML description corresponding to this component.

Specified by:
writeHtml in interface LyWebComponent
Parameters:
pw - the page writer
See Also:
LyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)

addMenu

public void addMenu(LyMenu menu,
                    int pos)
Description copied from interface: LyGraphicalMenuBar
Inserts a sub-component menus at given position.

Specified by:
addMenu in interface LyGraphicalMenuBar
Parameters:
menu - The menus to add to menus list.
pos - Position where the sub-component is inserted.
See Also:
LyGraphicalMenuBar.addMenu(leon.view.LyMenu, int)

removeMenu

public void removeMenu(LyMenu menus)
Description copied from interface: LyGraphicalMenuBar
Removes a sub-component menus.

Specified by:
removeMenu in interface LyGraphicalMenuBar
Parameters:
menus - The menus to remove to menus list.
See Also:
LyGraphicalMenuBar.removeMenu(leon.view.LyMenu)

getReloadScript

public java.lang.String getReloadScript()
Description copied from class: LyJQInternalView
this method is to be implemented by internal views to get the reload script for the page element

Specified by:
getReloadScript in class LyJQInternalView
Returns:
reload component script

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com