|
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.LyStrutsContainer
leon.view.web.struts.LyStrutsSplitter
public class LyStrutsSplitter
This class implements the Splitter object (as described in the dtd) for web viewer.
SPLITTER: Panel with Splitter
A container of panel type with splitter allows displaying different panels that are splitted by
vertical or horizontal separation bars. These bars can be moved so as to allocating more or less
place to each of the panels. The minimum number of panels that is required is two panels. There
is no constraint on the maximum number of panels allowed in such a container. Including such
containers in containers of same type allows getting windows combining vertical and horizontal
separators.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static int |
MAXIMUM_COMPONENT_HEIGHT
Maximum height of the components displayed in a splitter. |
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 | |
---|---|
LyStrutsSplitter(LySplitter splitter)
Constructor. |
Method Summary | |
---|---|
java.lang.StringBuffer |
getBuffer(java.lang.String key)
Gets the buffer associated to the given frame. |
java.util.Vector<LyWebPageWriter> |
getPageWriters()
(non-Javadoc). |
java.lang.String |
getRedirect(java.lang.String frame)
Gets the url for an alternate Web page. |
void |
init()
Initialization method. |
boolean |
isFrameSet()
(non-Javadoc). |
void |
preparePage(java.lang.String frame,
java.lang.String targetWindow)
(non-Javadoc). |
void |
setActivePart(LySplitter.ActivePart activePart)
Updates attribute activePart to the given value. |
void |
setForceReloadState(boolean force)
(non-Javadoc). |
void |
setNoFrames(boolean noFrames)
Prevent from using frameset. |
void |
setPrintMode(boolean printMode)
(non-Javadoc). |
void |
setProperty(java.lang.String name,
java.lang.String value)
(non-Javadoc). |
void |
setSelected(boolean status)
|
void |
setSizes(java.lang.String sizes)
Updates attribute sizes to the given value. |
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 |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
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.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
public static int MAXIMUM_COMPONENT_HEIGHT
Constructor Detail |
---|
public LyStrutsSplitter(LySplitter splitter)
splitter
- the splitter componentMethod Detail |
---|
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic void setProperty(java.lang.String name, java.lang.String value)
setProperty
in class LyWebPageWriter
LyWebPageWriter.setProperty(java.lang.String, java.lang.String)
public void init()
LyWebPageWriter
init
in class LyWebPageWriter
public java.lang.String getRedirect(java.lang.String frame)
LyWebPageWriter
getRedirect
in class LyWebPageWriter
frame
- the frame to redirect
public 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 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 void preparePage(java.lang.String frame, java.lang.String targetWindow)
LyWebPageWriter
preparePage
in class LyWebPageWriter
LyWebPageWriter.preparePage(java.lang.String, java.lang.String)
public boolean isFrameSet()
LyWebPageWriter
isFrameSet
in class LyWebPageWriter
LyWebPageWriter.isFrameSet()
public void setNoFrames(boolean noFrames)
LyWebPageWriter
setNoFrames
in class LyWebPageWriter
noFrames
- if true, means that no frame set is used, false otherwisepublic void setPrintMode(boolean printMode)
LyWebPageWriter
setPrintMode
in class LyWebPageWriter
LyWebPageWriter.setPrintMode(boolean)
public java.util.Vector<LyWebPageWriter> getPageWriters()
LyWebPageWriter
getPageWriters
in class LyWebPageWriter
LyWebPageWriter.getPageWriters()
public void setForceReloadState(boolean force)
LyWebPageWriter
setForceReloadState
in class LyWebPageWriter
LyWebPageWriter.setForceReloadState(boolean)
public java.lang.StringBuffer getBuffer(java.lang.String key)
LyWebPageWriter
getBuffer
in class LyWebPageWriter
key
- the frame
public void setSizes(java.lang.String sizes)
LyGraphicalSplitter
setSizes
in interface LyGraphicalSplitter
sizes
- New value of sizes.public void setSelected(boolean status)
public void setActivePart(LySplitter.ActivePart activePart)
LyGraphicalSplitter
setActivePart
in interface LyGraphicalSplitter
activePart
- New value of activePart.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |