|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.menu.LyJQMenu
public class LyJQMenu
LyWeb2Menu
Field Summary | |
---|---|
LyMenu |
_menu
|
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.LyGraphicalMenu |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetVisibleInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQMenu(LyMenu menu)
LyWeb2Menu |
Method Summary | |
---|---|
void |
addComponent(LyComponent components,
int pos)
Inserts a sub-component components at given position. |
java.util.List<LyComponent> |
getComponents()
get menu components |
java.lang.String |
getReloadScript()
TODO slachiheb Add a comment |
boolean |
isItem()
method used by the lymenu velocity template |
boolean |
isMenu()
method used by the lymenu velocity template |
void |
removeComponent(LyComponent components)
Removes a sub-component components. |
void |
setEnabled(boolean enabled)
Updates attribute enabled to the given value. |
void |
setVisible(boolean status)
Sets the visibility status of this component. |
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 |
---|
public LyMenu _menu
Constructor Detail |
---|
public LyJQMenu(LyMenu menu)
viewComponent
- Method Detail |
---|
public java.util.List<LyComponent> getComponents()
public boolean isMenu()
public boolean isItem()
public void setVisible(boolean status)
LySetVisibleInterface
setVisible
in interface LySetVisibleInterface
status
- new visibility status, if true the component will be shown, if false it will be
hidenLySetVisibleInterface.setVisible(boolean)
public void setEnabled(boolean enabled)
LyGraphicalMenu
setEnabled
in interface LyGraphicalMenu
setEnabled
in interface LySetEnabledInterface
enabled
- Boolean indicating if attribute enabled is set or unset.LyGraphicalMenu.setEnabled(boolean)
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public void addComponent(LyComponent components, int pos)
LyGraphicalMenu
addComponent
in interface LyGraphicalMenu
components
- The components to add to components list.pos
- Position where the sub-component is inserted.public void removeComponent(LyComponent components)
LyGraphicalMenu
removeComponent
in interface LyGraphicalMenu
components
- The components to remove to components list.public java.lang.String getReloadScript()
getReloadScript
in class LyJQInternalView
LyJQInternalView.getReloadScript()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |