|
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.form.field.LyJQCaption
public class LyJQCaption
Type : leon.view.web.web2.component.form.field.LyWeb2Caption The peer component of LyCaption for the web2 viewer.
Field Summary | |
---|---|
static int |
CAPTION_LENGTH_WRAP
Maximum length for not wrapped captions. |
Fields inherited from class leon.view.web.LyWebObject |
---|
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalCaption |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQCaption(LyCaption caption)
Class constructor of a Caption object for the struts target. |
Method Summary | |
---|---|
boolean |
captionHasLabel(java.lang.String label)
Check if caption has a label |
int |
getColSpan()
|
int |
getColWeight()
|
java.lang.String |
getHAlign()
|
java.lang.String |
getMandatoryFieldSign()
Get the mandatory field sign |
java.lang.String |
getReloadScript()
this method is to be implemented by internal views to get the reload script for the page element |
int |
getRowSpan()
|
java.lang.String |
getVAlign()
|
void |
setColSpan(int colSpan)
|
void |
setColWeight(int colWeight)
|
void |
setEnabled(boolean enabled)
Updates attribute enabled to the given value. |
void |
setHAlign(java.lang.String hAlign)
|
void |
setLabel(java.lang.String label)
Updates attribute label to the given value. |
void |
setRowSpan(int rowSpan)
|
void |
setVAlign(java.lang.String vAlign)
|
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
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, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, getController, 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 int CAPTION_LENGTH_WRAP
Constructor Detail |
---|
public LyJQCaption(LyCaption caption)
caption
- the generic Caption defined for every type of view targets.Method Detail |
---|
public boolean captionHasLabel(java.lang.String label)
label
-
public java.lang.String getMandatoryFieldSign()
public int getColSpan()
public void setColSpan(int colSpan)
colSpan
- the colSpan to setpublic int getRowSpan()
public void setRowSpan(int rowSpan)
rowSpan
- the rowSpan to setpublic int getColWeight()
public void setColWeight(int colWeight)
colWeight
- the colWeight to setpublic java.lang.String getVAlign()
public void setVAlign(java.lang.String vAlign)
vAlign
- the vAlign to setpublic java.lang.String getHAlign()
public void setHAlign(java.lang.String hAlign)
hAlign
- the hAlign to setpublic void setEnabled(boolean enabled)
LyGraphicalCaption
setEnabled
in interface LyGraphicalCaption
setEnabled
in interface LySetEnabledInterface
enabled
- Boolean indicating if attribute enabled is set or unset.LyGraphicalCaption.setEnabled(boolean)
public void setLabel(java.lang.String label)
LyGraphicalCaption
setLabel
in interface LyGraphicalCaption
setLabel
in interface LySetLabelInterface
label
- New value of label.LyGraphicalCaption.setLabel(java.lang.String)
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic java.lang.String getReloadScript()
LyJQInternalView
getReloadScript
in class LyJQInternalView
LyJQInternalView.getReloadScript()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |