|
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.jquery.component.LyJQInternalView
leon.view.web.jquery.component.fieldItem.LyJQFieldItem
leon.view.web.jquery.component.form.field.text.LyJQText
public class LyJQText
LyWeb2Text
Field Summary | |
---|---|
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.jquery.component.fieldItem.LyJQFieldItem |
---|
__VERSION |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalText |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQText(LyText text)
Class constructor of a Text object for the struts target. |
Method Summary | |
---|---|
java.lang.String[] |
getAutoCompletionItems()
Gets a auto completion items |
int |
getAutoCompletionMaxItems()
Gets a auto completion max items |
java.lang.String |
getFile()
|
java.lang.String |
getFormattedRichText(java.lang.String label)
|
int |
getNbCols()
Gets a text number of columns |
java.lang.String |
getSecretLabel(java.lang.String label)
Gets the secret correspondance of a label |
int |
getTextHeight()
Returns the height of the text component. |
int |
getTextWidth()
Returns the width of the text component. |
int |
getTextWidth(int nCols)
Returns the CSS style to be used for date input. |
java.lang.String |
getUrl(java.lang.String label)
Gets url from a label |
java.lang.String |
getWidthStyle()
Gets width style |
boolean |
isAutoCompletion()
Check if text has autoCompletion property |
boolean |
isEditable()
Check if parent form is editable |
boolean |
isEditableText()
|
boolean |
isEnabled()
Check if field is enabled |
boolean |
isParentForm()
Check if field parent is a form |
boolean |
isRichText()
Check if text is a rich text |
boolean |
isText()
|
void |
setLabel(java.lang.String label)
Sets the label of the component. |
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getReloadScript, getTarget, isLabelInstance, isMail, isNetscape, isOptional, isPrintMode, isUrl, isUrlRecurse, needCheck, writeHtml |
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView |
---|
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty |
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, 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 boolean USE_LABEL_FOR_NON_EDITABLE_TEXT
Constructor Detail |
---|
public LyJQText(LyText text)
text
- the generic Text defined for every type of view targetsMethod Detail |
---|
public boolean isEnabled()
isEnabled
in class LyJQFieldItem
text
-
public boolean isEditable()
isEditable
in class LyJQFieldItem
text
-
public boolean isRichText()
text
-
public boolean isEditableText()
public java.lang.String getFile()
public int getTextWidth()
public int getTextWidth(int nCols)
public int getTextHeight()
public java.lang.String getWidthStyle()
text
-
public boolean isAutoCompletion()
public java.lang.String[] getAutoCompletionItems()
public int getAutoCompletionMaxItems()
public int getNbCols()
text
-
public java.lang.String getSecretLabel(java.lang.String label)
label
-
public boolean isParentForm()
text
-
public java.lang.String getUrl(java.lang.String label)
getUrl
in class LyWebObject
label
- The ressource name (key) of the url
LyEnvironment.getUrl(String)
public boolean isText()
public void setLabel(java.lang.String label)
LySetLabelInterface
setLabel
in interface LyGraphicalText
setLabel
in interface LySetLabelInterface
setLabel
in class LyJQFieldItem
label
- new labelpublic java.lang.String getFormattedRichText(java.lang.String label)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |