|
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.LyStrutsFieldItem
leon.view.web.struts.LyStrutsList
public class LyStrutsList
This class implements the List object (as described in the dtd) for web viewer.
LIST: Input Field of List Type
An input field of List type allows to choose one or more values among a discrete list of values.
It is possible to specify if the selection is multiple or not as well as the height of the list.
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 | |
---|---|
LyStrutsList(LyList list)
Constructor. |
Method Summary | |
---|---|
void |
addListOption(LyListOption listOption,
int pos)
Inserts a sub-component listOptions at given position. |
java.lang.String |
getDoubleClickScript()
Gets the Javascript code used when double-clicking on the list. |
java.lang.String |
getValue()
Return current component Value (LyGetValueInterface interface). |
void |
removeListOption(LyListOption listOption)
Removes a sub-component listOptions. |
void |
setIdle(boolean status)
Sets or unset the idle mode on the component/node. |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.struts.LyStrutsFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getFormName, getHtmlForm, getId, isEditable, isNetscape, isOptional, needCheck, setLabel |
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, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, 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 LyStrutsList(LyList list)
table
- the list component.Method Detail |
---|
public java.lang.String getDoubleClickScript()
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic void addListOption(LyListOption listOption, int pos)
LyGraphicalList
addListOption
in interface LyGraphicalList
addListOption
in interface LySetListOptionsInterface
listOption
- The listOptions to add to listOptions list.pos
- Position where the sub-component is inserted.public void removeListOption(LyListOption listOption)
LyGraphicalList
removeListOption
in interface LyGraphicalList
removeListOption
in interface LySetListOptionsInterface
listOption
- The listOptions to remove to listOptions list.public void setIdle(boolean status)
LySetIdleInterface
setIdle
in interface LySetIdleInterface
status
- new idle status (LySetIdleInterface interface)public java.lang.String getValue()
LyGetValueInterface
getValue
in interface LyGetValueInterface
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |