|
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.LyStrutsMenuBar
public class LyStrutsMenuBar
This class implements the MenuBar object (as described in the dtd) for struts viewer.
MENUBAR: Menu Bar
A menu bar allows displaying a set of menus. It can be displayed in a main window of a Leonardi
application.
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 | |
---|---|
LyStrutsMenuBar(LyMenuBar menuBar)
Constructor. |
Method Summary | |
---|---|
void |
addMenu(LyMenu menu,
int pos)
(non-Javadoc). |
java.lang.String |
getRefreshContent(LyWebPageWriter pw)
Returns the Javascript content that must be used to refresh the menubar. |
void |
init()
Initialization method. |
void |
refresh()
(non-Javadoc). |
void |
removeMenu(LyMenu menu)
(non-Javadoc). |
void |
setLastFrameName(java.lang.String frame)
Force the value of the _lastFrameName variable. |
java.lang.String |
writeContent(LyWebPageWriter pw,
java.lang.String frameVar)
Writes HTML description corresponding to sub-menu labels. |
void |
writeHtml(LyWebPageWriter pw)
(non-Javadoc). |
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 LyStrutsMenuBar(LyMenuBar menuBar)
menuBar
- the menu bar componentMethod Detail |
---|
public void init()
public void writeHtml(LyWebPageWriter pw)
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public java.lang.String writeContent(LyWebPageWriter pw, java.lang.String frameVar)
pw
- page writerframeVar
- name of the Javascript var used for frame containing menubarpublic void setLastFrameName(java.lang.String frame)
_lastFrameName
variable.
frame
- the new value of the _lastFrameName
variable.public void addMenu(LyMenu menu, int pos)
addMenu
in interface LyGraphicalMenuBar
menu
- The menus to add to menus list.pos
- Position where the sub-component is inserted.leon.view.graphic.LyGraphicalMenuBar#addComponent(leon.view.LyComponent, int)
public void removeMenu(LyMenu menu)
removeMenu
in interface LyGraphicalMenuBar
menu
- The menus to remove to menus list.leon.view.graphic.LyGraphicalMenuBar#removeComponent(leon.view.LyComponent)
public java.lang.String getRefreshContent(LyWebPageWriter pw)
pw
- Current page writer.
public void refresh()
refresh
in class LyWebObject
LyWebObject.refresh()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |