leon.view.web.jquery.component.form.field.label
Class LyJQLabel
java.lang.Object
leon.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.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.
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.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 |
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.
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()
Website: W4 S.A., contact us: support@w4global.com