leon.view.web.struts
Class LyStrutsDate
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsFieldItem
leon.view.web.struts.LyStrutsDate
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalDate, LyGraphicalFieldItem, LyViewComponent, LyFreeInterface, LySetLabelInterface, LyWebComponent
public class LyStrutsDate
- extends LyStrutsFieldItem
- implements LyGraphicalDate
This class implements the Date object (as described in the dtd) for web viewer.
DATE: Input Field of Date Type
An input field of Date type allows to display a graphical component allowing to input or to
consult date and/or hour. It does not comprise any element. It is possible to specify the type of
the date as well as the display format.
- See Also:
LyDate
Field Summary |
static java.lang.String |
__VERSION
|
Constructor Summary |
LyStrutsDate(LyDate date)
Class constructor of a Date 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 |
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
LyStrutsDate
public LyStrutsDate(LyDate date)
- Class constructor of a Date object for the struts target.
- Parameters:
date
- the generic Date defined for every type of view targets.
setLabel
public void setLabel(java.lang.String label)
- Description copied from class:
LyStrutsFieldItem
- (non-Javadoc).
- Specified by:
setLabel
in interface LyGraphicalDate
- Specified by:
setLabel
in interface LySetLabelInterface
- Overrides:
setLabel
in class LyStrutsFieldItem
- Parameters:
label
- new label- See Also:
LySetLabelInterface.setLabel(java.lang.String)
initialize
public void initialize()
- Initialization method.
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
Website: W4 S.A., contact us: support@w4global.com