leon.view.web.struts
Class LyStrutsBoolean
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsFieldItem
leon.view.web.struts.LyStrutsBoolean
- All Implemented Interfaces:
- LyGraphicalBoolean, LyGraphicalComponent, LyGraphicalFieldItem, LyViewComponent, LyFreeInterface, LySetLabelInterface, LySetStatusInterface, LyWebComponent
public class LyStrutsBoolean
- extends LyStrutsFieldItem
- implements LyGraphicalBoolean
This class implements the Boolean object (as described in the dtd) for web viewer.
BOOLEAN: Input Field of Boolean Type
An input field of boolean type allows to display a graphical component with a three state
checkbox : not specified (empty), true (checked with a green sign), false (with a red cross). It
is possible to specify a label for each of these states and to make a negation of the boolean
value.
- See Also:
LyBoolean
Field Summary |
static java.lang.String |
__VERSION
|
Constructor Summary |
LyStrutsBoolean(LyBoolean booleanViewComp)
Class constructor of a Boolean 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
LyStrutsBoolean
public LyStrutsBoolean(LyBoolean booleanViewComp)
- Class constructor of a Boolean object for the struts target.
- Parameters:
booleanViewComp
- the generic Boolean 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)
setStatus
public void setStatus(LyBoolean.Status status)
- (non-Javadoc).
- Specified by:
setStatus
in interface LyGraphicalBoolean
- Specified by:
setStatus
in interface LySetStatusInterface
- Parameters:
status
- New value of status.- See Also:
LySetStateInterface.setState(short)
Website: W4 S.A., contact us: support@w4global.com