LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.form.field.label
Class LyJQLabel

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.jquery.component.LyJQInternalView
              extended by leon.view.web.jquery.component.fieldItem.LyJQFieldItem
                  extended by leon.view.web.jquery.component.form.field.label.LyJQLabel
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalLabel, LyViewComponent, LyFreeInterface, LySetFontInterface, LySetImageInterface, LySetLabelInterface, LyWebComponent

public class LyJQLabel
extends LyJQFieldItem
implements LyGraphicalLabel

Type : leon.view.web.web2.component.form.field.label.LyJQLabel The peer component of LyLabel for the web2 viewer.


Field Summary
 
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.LyGraphicalLabel
__VERSION
 
Constructor Summary
LyJQLabel(LyLabel label)
          Class constructor of a Label object for the struts target.
 
Method Summary
 java.lang.String getUrl(java.lang.String label)
          Gets url from a label
 boolean isLabel()
           
 void setFont(java.lang.String font)
          (non-Javadoc)
 void setImage(java.lang.String image)
          (non-Javadoc)
 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, isEditable, isEnabled, 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
 

Constructor Detail

LyJQLabel

public LyJQLabel(LyLabel label)
Class constructor of a Label object for the struts target.

Parameters:
label - the generic Label defined for every type of view targets.
Method Detail

setFont

public void setFont(java.lang.String font)
(non-Javadoc)

Specified by:
setFont in interface LyGraphicalLabel
Specified by:
setFont in interface LySetFontInterface
Parameters:
font - New value of font.
See Also:
LyGraphicalLabel.setFont(java.lang.String)

setImage

public void setImage(java.lang.String image)
(non-Javadoc)

Specified by:
setImage in interface LyGraphicalLabel
Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.
See Also:
LyGraphicalLabel.setImage(java.lang.String)

setLabel

public void setLabel(java.lang.String label)
Description copied from interface: LySetLabelInterface
Sets the label of the component.

Specified by:
setLabel in interface LyGraphicalLabel
Specified by:
setLabel in interface LySetLabelInterface
Overrides:
setLabel in class LyJQFieldItem
Parameters:
label - new label
See Also:
LyJQFieldItem.setLabel(java.lang.String)

getUrl

public java.lang.String getUrl(java.lang.String label)
Gets url from a label

Overrides:
getUrl in class LyWebObject
Parameters:
label - The ressource name (key) of the url
Returns:
A reference to the requested url, or null if it could not be found.
See Also:
LyEnvironment.getUrl(String)

isLabel

public boolean isLabel()

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com