|
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.LyWebPageWriter
leon.view.web.struts.LyStrutsView
leon.view.web.struts.LyStrutsFrame
public class LyStrutsFrame
Type : leon.view.web.struts.LyStrutsFrame
The peer component of LyFrame for the Struts viewer.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static java.lang.String |
AREA
The area String value used within frames names. |
static java.lang.String |
MENUBAR
The menubar String value used within frames names. |
static java.lang.String |
MESSAGES
The messages String value used within frames names. |
Fields inherited from class leon.view.web.LyWebPageWriter |
---|
FORCE_AJAX, MAIN_BUFFER |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsFrame(LyFrame frame)
Constructor. |
Method Summary | |
---|---|
void |
clearBeginScripts()
(non-Javadoc). |
void |
clearCssScripts()
(non-Javadoc). |
void |
clearEndScripts()
(non-Javadoc). |
java.lang.String |
getFrameBaseUrl()
Method overriden to set the IFRAME URL to the page action handler. |
java.lang.String |
getRedirect(java.lang.String frame)
Gets the url for an alternate Web page. |
java.lang.String |
getTarget()
(non-Javadoc). |
void |
init()
Initialization method. |
boolean |
isFrameSet()
(non-Javadoc). |
boolean |
isSuperVisible()
Indicates if the component is visible or not. |
boolean |
isVisible()
Indicates if the component is visible or not. |
void |
preparePage(java.lang.String frame,
java.lang.String targetWindow)
(non-Javadoc). |
void |
setBackgroundColor(java.lang.String hexColor,
java.lang.String frame)
Set the background color of the page and store the mapping between the color and frame. |
void |
setContent()
Sets the content of the frame. |
void |
setMessages(LyMessages messages)
Sets sub-component messages. |
void |
setProperty(java.lang.String name,
java.lang.String value)
(non-Javadoc). |
void |
setVisible(boolean status)
Sets the visibility status of this component. |
void |
setVisibleStatus(boolean status)
Force the visibility status of a Frame Internal use : may be used to prevent view from being cleared / freed. |
void |
writeBeginPage(java.io.Writer pw,
java.lang.String frame)
Writes the beginning of a HTML page (head, scripts and open the body). |
void |
writeEndPage(java.io.Writer pw,
java.lang.String frame)
Writes the end of HTML page. |
void |
writeMenuBar(LyWebPageWriter pw,
java.lang.String targetWindow)
Writes HTML description corresponding to the frame menubar. |
void |
writeMenuBar(LyWebPageWriter pw,
java.lang.String frame,
java.lang.String targetWindow)
Writes HTML description corresponding to the frame menubar. |
void |
writeMessages(LyWebPageWriter pw)
Writes HTML description corresponding to the frame messages. |
void |
writePageContent(java.io.Writer pw,
java.lang.String frame)
Writes the page content of the frame and the given writer. |
Methods inherited from class leon.view.web.struts.LyStrutsView |
---|
getArea, getBuffer, getPageWriters, getView, setForceReloadState, setLabel, setNoFrames, setPrintMode, writeArea, writeHtml |
Methods inherited from class leon.view.web.LyWebObject |
---|
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, 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.LyGraphicalFrame |
---|
setLabel |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
public static final java.lang.String MENUBAR
public static final java.lang.String AREA
public static final java.lang.String MESSAGES
Constructor Detail |
---|
public LyStrutsFrame(LyFrame frame)
frame
- the frame componentMethod Detail |
---|
public void preparePage(java.lang.String frame, java.lang.String targetWindow)
LyWebPageWriter
preparePage
in class LyWebPageWriter
LyWebPageWriter.preparePage(java.lang.String, java.lang.String)
public void setVisible(boolean status)
LySetVisibleInterface
setVisible
in interface LySetVisibleInterface
setVisible
in class LyWebPageWriter
status
- new visibility status, if true the component will be shown, if false it will be
hidenpublic void writeBeginPage(java.io.Writer pw, java.lang.String frame) throws java.io.IOException
LyWebPageWriter
writeBeginPage
in class LyWebPageWriter
pw
- the page writerframe
- the frame where the page is written
java.io.IOException
- if something is wrong during page writingpublic void writePageContent(java.io.Writer pw, java.lang.String frame) throws java.io.IOException
LyWebPageWriter
writePageContent
in class LyWebPageWriter
pw
- the page writerframe
- the frame to write
java.io.IOException
public void writeEndPage(java.io.Writer pw, java.lang.String frame) throws java.io.IOException
LyWebPageWriter
writeEndPage
in class LyWebPageWriter
pw
- the page writerframe
- the frame where the page is written
java.io.IOException
- if something is wrong during end page writespublic java.lang.String getFrameBaseUrl()
public void setProperty(java.lang.String name, java.lang.String value)
LyWebPageWriter
setProperty
in class LyWebPageWriter
LyWebPageWriter.setProperty(java.lang.String, java.lang.String)
public void init()
false
.
init
in class LyWebPageWriter
leon.view.web.LyWebPage#init()
public void setContent()
public void setBackgroundColor(java.lang.String hexColor, java.lang.String frame)
LyWebPageWriter
setBackgroundColor
in class LyWebPageWriter
hexColor
- the string that represents the hexadecimal code for the colorframe
- the frame to associate to this background colorLyWebPageWriter.getBackgroundColor(String)
public java.lang.String getRedirect(java.lang.String frame)
LyWebPageWriter
getRedirect
in class LyWebPageWriter
frame
- the frame to redirect
public void clearBeginScripts()
LyWebPageWriter
clearBeginScripts
in class LyWebPageWriter
LyWebPageWriter.clearBeginScripts()
public void clearEndScripts()
LyWebPageWriter
clearEndScripts
in class LyWebPageWriter
LyWebPageWriter.clearEndScripts()
public void clearCssScripts()
LyWebPageWriter
clearCssScripts
in class LyWebPageWriter
LyWebPageWriter.clearCssScripts()
public boolean isFrameSet()
LyWebPageWriter
isFrameSet
in class LyWebPageWriter
LyWebPageWriter.isFrameSet()
public void setVisibleStatus(boolean status)
status
- the new statussetVisible(boolean)
public boolean isVisible()
LyWebPageWriter
isVisible
in interface LyIsVisibleInterface
isVisible
in class LyWebPageWriter
public boolean isSuperVisible()
leon.view.web.LyWebPage#isVisible()
public java.lang.String getTarget()
LyWebPageWriter
getTarget
in class LyWebPageWriter
LyWebPageWriter.getTarget()
public void writeMessages(LyWebPageWriter pw)
pw
- the page writerpublic void writeMenuBar(LyWebPageWriter pw, java.lang.String targetWindow)
pw
- the page writerpublic void writeMenuBar(LyWebPageWriter pw, java.lang.String frame, java.lang.String targetWindow)
pw
- the page writerpublic void setMessages(LyMessages messages)
LyGraphicalFrame
setMessages
in interface LyGraphicalFrame
messages
- New value of messages
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |