|
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
leon.view.web.struts.LyStrutsText
public class LyStrutsText
This class implements the Text object (as described in the dtd) for web viewer.
TEXT: Input Field of Text Type
An input field of Text type allows displaying a graphical input or text consultation component.
It does not comprise any element. It is possible to specify if the text should be hidden, if it
should respect a given format, if it can be divided into several lines and the maximum number of
characters that it can contain.
LyText
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static boolean |
USE_LABEL_FOR_NON_EDITABLE_TEXT
Indicates whether non editable text must be displayed as labels. |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsText(LyText text)
Class constructor of a Text object for the struts target. |
Method Summary | |
---|---|
int |
getTextHeight()
Returns the height of the text component. |
int |
getTextWidth()
Returns the width of the text component. |
boolean |
isEditable()
Indicates if the field item is editable. |
void |
setEditable(boolean editable)
|
void |
setLabel(java.lang.String label)
(non-Javadoc). |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.struts.LyStrutsFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getFormName, getHtmlForm, getId, 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 |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
public static boolean USE_LABEL_FOR_NON_EDITABLE_TEXT
Constructor Detail |
---|
public LyStrutsText(LyText text)
text
- the generic Text defined for every type of view targetsMethod Detail |
---|
public boolean isEditable()
LyStrutsFieldItem
isEditable
in class LyStrutsFieldItem
public void setEditable(boolean editable)
public void setLabel(java.lang.String label)
LyStrutsFieldItem
setLabel
in interface LyGraphicalText
setLabel
in interface LySetLabelInterface
setLabel
in class LyStrutsFieldItem
label
- new labelLySetLabelInterface.setLabel(java.lang.String)
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic int getTextWidth()
public int getTextHeight()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |