LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.popupmenu
Class LyJQPopupMenu

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.popupmenu.LyJQPopupMenu
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalPopupMenu, LyViewComponent, LyFreeInterface, LySetEnabledInterface, LyWebComponent

public class LyJQPopupMenu
extends LyJQInternalView
implements LyGraphicalPopupMenu

LyWeb2PopupMenu


Field Summary
 LyPopupMenu _popupMenu
           
 
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.LyGraphicalPopupMenu
__VERSION
 
Constructor Summary
LyJQPopupMenu(LyPopupMenu popupMenu)
          LyWeb2PopupMenu constructor
 
Method Summary
 void addComponent(LyComponent components, int pos)
          Inserts a sub-component components at given position.
 java.util.List<LyComponent> getComponents()
          get pop up menu components
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 void removeComponent(LyComponent components)
          Removes a sub-component components.
 void setEnabled(boolean enabled)
          Updates attribute enabled to the given value.
 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

_popupMenu

public LyPopupMenu _popupMenu
Constructor Detail

LyJQPopupMenu

public LyJQPopupMenu(LyPopupMenu popupMenu)
LyWeb2PopupMenu constructor

Parameters:
viewComponent -
Method Detail

getComponents

public java.util.List<LyComponent> getComponents()
get pop up menu components

Returns:
components list

setEnabled

public void setEnabled(boolean enabled)
Description copied from interface: LyGraphicalPopupMenu
Updates attribute enabled to the given value.

Specified by:
setEnabled in interface LyGraphicalPopupMenu
Specified by:
setEnabled in interface LySetEnabledInterface
Parameters:
enabled - Boolean indicating if attribute enabled is set or unset.
See Also:
LyGraphicalPopupMenu.setEnabled(boolean)

addComponent

public void addComponent(LyComponent components,
                         int pos)
Description copied from interface: LyGraphicalPopupMenu
Inserts a sub-component components at given position.

Specified by:
addComponent in interface LyGraphicalPopupMenu
Parameters:
components - The components to add to components list.
pos - Position where the sub-component is inserted.
See Also:
LyGraphicalPopupMenu.addComponent(leon.view.LyComponent, int)

removeComponent

public void removeComponent(LyComponent components)
Description copied from interface: LyGraphicalPopupMenu
Removes a sub-component components.

Specified by:
removeComponent in interface LyGraphicalPopupMenu
Parameters:
components - The components to remove to components list.
See Also:
LyGraphicalPopupMenu.removeComponent(leon.view.LyComponent)

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

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