|
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
public abstract class LyStrutsFieldItem
This class implements the common behavior for field items objects for the HTML viewer.
Fields items are implemented in Struts by those classes : LyStrutsText, LyStrutsNumber, LyStrutsDate, LyStrutsChoice, LyStrutsOption, LyStrutsRelation, LyStrutsFile, LyStrutsForm.
LyStrutsText
,
LyStrutsNumber
,
LyStrutsDate
,
LyStrutsChoice
,
LyStrutsOption
,
LyStrutsRelation
,
LyStrutsFile
,
LyStrutsForm
,
LyFieldItem
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Method Summary | |
---|---|
boolean |
canDisabled()
Indicates if the Web browser can disabled its elements. |
java.lang.String |
getCaption()
Gets the caption of the parent form field. |
java.lang.String |
getController()
(non-Javadoc). |
LyFieldItem |
getFieldItem()
Gets the field item. |
LyForm |
getForm()
Gets the form ancestor. |
LyFormField |
getFormField()
Gets the form field that contains this item. |
java.lang.String |
getFormName(LyWebPageWriter pw)
Gets the ancestor form name. |
LyStrutsForm |
getHtmlForm()
Gets the Struts form. |
java.lang.String |
getId()
Gets the id of the form field that contains this item. |
boolean |
isEditable()
Indicates if the field item is editable. |
boolean |
isNetscape()
Indicates if the Web browser used is Netscape. |
boolean |
isOptional()
Indicates if the field item is optional. |
boolean |
needCheck()
Indicates if the field item needs check. |
void |
setLabel(java.lang.String label)
(non-Javadoc). |
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 |
Methods inherited from interface leon.view.web.LyWebComponent |
---|
writeHtml |
Field Detail |
---|
public static final java.lang.String __VERSION
Method Detail |
---|
public LyFieldItem getFieldItem()
public LyFormField getFormField()
public java.lang.String getId()
public java.lang.String getController()
getController
in class LyGraphicalObject
LyGraphicalObject.getController()
public java.lang.String getCaption()
public LyForm getForm()
public LyStrutsForm getHtmlForm()
public java.lang.String getFormName(LyWebPageWriter pw)
pw
- the page writer
public boolean isNetscape()
public boolean canDisabled()
public boolean isEditable()
public boolean isOptional()
public boolean needCheck()
public void setLabel(java.lang.String label)
setLabel
in interface LySetLabelInterface
label
- new labelLySetLabelInterface.setLabel(java.lang.String)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |