leon.view.web.struts
Class LyStrutsListOption
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsListOption
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalListOption, LyViewComponent, LyFreeInterface, LySetSelectedInterface, LyWebComponent
public class LyStrutsListOption
- extends LyWebObject
- implements LyGraphicalListOption
This class implements the ListOption object (as described in the dtd) for web viewer.
LIST_OPTION: List Option
A list option represents a possible value in an input field of List type.
- See Also:
LyListOption
Field Summary |
static java.lang.String |
__VERSION
|
Method Summary |
void |
setSelected(boolean selected)
Updates attribute selected to the given value. |
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, 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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyStrutsListOption
public LyStrutsListOption(LyListOption option)
- Class constructor of a List Option object for the struts target.
- Parameters:
option
- the generic List Option defined for every type of view targets
writeHtml
public void writeHtml(LyWebPageWriter pw)
- Description copied from interface:
LyWebComponent
- Write HTML description corresponding to this component.
- Specified by:
writeHtml
in interface LyWebComponent
- Parameters:
pw
- the page writer
setSelected
public void setSelected(boolean selected)
- Description copied from interface:
LyGraphicalListOption
- Updates attribute selected to the given value.
- Specified by:
setSelected
in interface LyGraphicalListOption
- Specified by:
setSelected
in interface LySetSelectedInterface
- Parameters:
selected
- Boolean indicating if attribute selected is set or unset.
Website: W4 S.A., contact us: support@w4global.com