leon.view.web.struts
Class LyStrutsChoice
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsFieldItem
leon.view.web.struts.LyStrutsChoice
- All Implemented Interfaces:
- LyGetValueInterface, LyGraphicalChoice, LyGraphicalComponent, LyGraphicalFieldItem, LyViewComponent, LyFreeInterface, LySetLabelInterface, LyWebComponent
public class LyStrutsChoice
- extends LyStrutsFieldItem
- implements LyGraphicalChoice, LyGetValueInterface
This class implements the Choice object (as described in the dtd) for web viewer.
CHOICE: Input Field of Choice Type
An input field of Choice type allows to display a graphical component containing a set of check
boxes. It allows to choose one or more values among a discrete list of values. It is possible to
specify whether the choice is multiple or not and whether the boxes should be arranged
horizontally or vertically.
- See Also:
LyChoice
Field Summary |
static java.lang.String |
__VERSION
|
Constructor Summary |
LyStrutsChoice(LyChoice choice)
Class constructor of a Choice object for the struts target. |
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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyStrutsChoice
public LyStrutsChoice(LyChoice choice)
- Class constructor of a Choice object for the struts target.
- Parameters:
choice
- the generic Choice defined for every type of view targets.
writeHtml
public void writeHtml(LyWebPageWriter pw)
- (non-Javadoc).
- Specified by:
writeHtml
in interface LyWebComponent
- Parameters:
pw
- the page writer- See Also:
LyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
getValue
public java.lang.String getValue()
- Description copied from interface:
LyGetValueInterface
- Return current component Value (LyGetValueInterface interface).
- Specified by:
getValue
in interface LyGetValueInterface
Website: W4 S.A., contact us: support@w4global.com