|
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.struts.LyStrutsMenu
public class LyStrutsMenu
This class implements the Menu object (as described in the dtd) for struts viewer.
MENU: Menu
A menu contains a set of menu, sub-menus entries and separators.
LyMenu
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsMenu(LyMenu menu)
Class constructor of a Menu object for the struts target. |
Method Summary | |
---|---|
void |
addComponent(LyComponent component,
int pos)
Inserts a sub-component components at given position. |
void |
refresh()
Refresh frame containing this web object. |
void |
removeComponent(LyComponent component)
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.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, 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 static final java.lang.String __VERSION
Constructor Detail |
---|
public LyStrutsMenu(LyMenu menu)
menu
- the generic Menu defined for every type of view targetsMethod Detail |
---|
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic void setEnabled(boolean enabled)
LyGraphicalMenu
setEnabled
in interface LyGraphicalMenu
setEnabled
in interface LySetEnabledInterface
enabled
- Boolean indicating if attribute enabled is set or unset.public void addComponent(LyComponent component, int pos)
LyGraphicalMenu
addComponent
in interface LyGraphicalMenu
component
- The components to add to components list.pos
- Position where the sub-component is inserted.public void removeComponent(LyComponent component)
LyGraphicalMenu
removeComponent
in interface LyGraphicalMenu
component
- The components to remove to components list.public void refresh()
LyWebObject
refresh
in class LyWebObject
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
hiden
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |