|
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.LyStrutsDictionary
public class LyStrutsDictionary
This class implements the Dictionary object (as described in the dtd) for web viewer.
DICTIONARY: Input Field of Dictionary Type
An input field of dictionary type allows to display a graphical component containing a combo with
a tree.
LyDictionary
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
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 | |
---|---|
LyStrutsDictionary(LyDictionary dictionary)
Class constructor of a Dictionary object for the struts target. |
Method Summary | |
---|---|
boolean |
canDisabled()
Indicates if the Web browser can disabled its elements. |
java.lang.String |
getBackgroundColor(java.lang.String frame)
(non-Javadoc). |
LyForm |
getForm()
Gets the dictionary's form. |
java.lang.String |
getFormName()
Gets the dictionary's form name. |
java.lang.String |
getFormName(LyWebPageWriter pw)
Deprecated. replaced by getFormName() because the parameter pw is not
used. |
LyStrutsForm |
getHtmlForm()
Gets the Struts dictionary's form . |
java.util.Vector<LyWebPageWriter> |
getPageWriters()
(non-Javadoc). |
java.lang.String |
getRedirect(java.lang.String frame)
(non-Javadoc). |
void |
init()
(non-Javadoc). |
boolean |
isEditable()
Indicates if the dictionary is editable. |
boolean |
isNetscape()
Indicates if the Web browser used is Netscape. |
boolean |
isOptional()
Indicates if the dictionary is optional. |
boolean |
needCheck()
Indicates if the dictionary needs check. |
void |
preparePage(java.lang.String frame,
java.lang.String targetWindow)
(non-Javadoc). |
void |
setEntry(LyEntry entry)
(non-Javadoc). |
void |
writeBeginPage(java.io.Writer pw,
java.lang.String frame)
(non-Javadoc). |
void |
writeEndPage(java.io.Writer pw,
java.lang.String frame)
(non-Javadoc). |
void |
writeHtml(LyWebPageWriter pw)
(non-Javadoc). |
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
Constructor Detail |
---|
public LyStrutsDictionary(LyDictionary dictionary)
dictionary
- the generic Dictionary defined for every type of view targetsMethod Detail |
---|
public void init()
init
in class LyWebPageWriter
leon.view.web.LyWebPage#init()
public java.util.Vector<LyWebPageWriter> getPageWriters()
getPageWriters
in class LyWebPageWriter
LyWebPageWriter.getPageWriters()
public java.lang.String getRedirect(java.lang.String frame)
getRedirect
in class LyWebPageWriter
frame
- the frame to redirect
LyWebPageWriter.getRedirect(java.lang.String)
public boolean isNetscape()
public boolean canDisabled()
public boolean isEditable()
public boolean isOptional()
public boolean needCheck()
public java.lang.String getFormName(LyWebPageWriter pw)
getFormName()
because the parameter pw
is not
used.
pw
- the page writer
public java.lang.String getFormName()
getFormName(LyWebPageWriter)
where the attribute was
not used.public LyForm getForm()
public LyStrutsForm getHtmlForm()
public void writeHtml(LyWebPageWriter pw)
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public void writeBeginPage(java.io.Writer pw, java.lang.String frame) throws java.io.IOException
writeBeginPage
in class LyWebPageWriter
pw
- the page writerframe
- the frame where the page is written
java.io.IOException
- if something is wrong during page writingleon.view.web.LyWebPage#writeBeginPage(java.io.Writer, java.lang.String)
public java.lang.String getBackgroundColor(java.lang.String frame)
getBackgroundColor
in class LyWebPageWriter
frame
- the frame
leon.view.web.LyWebPage#getBackgroundColor(java.lang.String)
public void writeEndPage(java.io.Writer pw, java.lang.String frame) throws java.io.IOException
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 writesleon.view.web.LyWebPage#writeEndPage(java.io.Writer, java.lang.String)
public void preparePage(java.lang.String frame, java.lang.String targetWindow)
preparePage
in class LyWebPageWriter
LyWebPageWriter.preparePage(java.lang.String, java.lang.String)
public void setEntry(LyEntry entry)
setEntry
in interface LyGraphicalDictionary
setEntry
in interface LySetEntryInterface
entry
- New value of entryLySetEntryInterface.setEntry(leon.view.LyEntry)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |