|
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.LyStrutsMessages
public class LyStrutsMessages
This class implements the Messages object (as described in the dtd) for struts viewer.
MESSAGES: Message Bar
A message bar can be used in a main window to provide the user with information about the
displayed data (number of objects, printing in progress...).
LyMessages
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static int |
DECO_BORDER_PARAMETER
Constant used to generate CSS class name for border. |
static int |
DECO_MESSAGES_PARAMETER
Constant used to generate CSS class name for messages. |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsMessages(LyMessages messages)
Class constructor of a Messages object for the struts target. |
Method Summary | |
---|---|
void |
addMessage(LyMessage message,
int pos)
Inserts a sub-component messages at given position. |
void |
refresh()
Refresh frame containing this web object. |
void |
removeMessage(LyMessage message)
Removes a sub-component messages. |
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
public static int DECO_BORDER_PARAMETER
public static int DECO_MESSAGES_PARAMETER
Constructor Detail |
---|
public LyStrutsMessages(LyMessages messages)
messages
- the generic Messages defined for every type of view targets.Method Detail |
---|
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic void refresh()
LyWebObject
refresh
in class LyWebObject
public void addMessage(LyMessage message, int pos)
LyGraphicalMessages
addMessage
in interface LyGraphicalMessages
message
- The messages to add to messages list.pos
- Position where the sub-component is inserted.public void removeMessage(LyMessage message)
LyGraphicalMessages
removeMessage
in interface LyGraphicalMessages
message
- The messages to remove to messages list.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |