leon.view.web.jquery.component.icon
Class LyJQIcon
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.icon.LyJQIcon
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalIcon, LyViewComponent, LyFreeInterface, LySetImageInterface, LyWebComponent
public class LyJQIcon
- extends LyJQInternalView
- implements LyGraphicalIcon
Type : leon.view.web.web2.LyWeb2Icon The peer component of LyIcon for the web2 viewer.
Constructor Summary |
LyJQIcon(LyIcon icon)
Class constructor of an Icon object for the web2 target. |
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 |
LyJQIcon
public LyJQIcon(LyIcon icon)
- Class constructor of an Icon object for the web2 target.
- Parameters:
icon
- the generic Icon defined for every type of view targets
hasBorder
public boolean hasBorder(LyIcon lyIcon)
- Check if icon element has border
- Parameters:
lyIcon
-
- Returns:
getImagePath
public java.lang.String getImagePath(java.lang.String image)
- Returns the path associated with the given image.
- Parameters:
image
- the image that must be displayed.
- Returns:
- the path associated with the given image.
setImage
public void setImage(java.lang.String imageSrc)
- (non-Javadoc)
- Specified by:
setImage
in interface LyGraphicalIcon
- Specified by:
setImage
in interface LySetImageInterface
- Parameters:
imageSrc
- New value of image.- See Also:
LyGraphicalIcon.setImage(java.lang.String)
writeHtml
public void writeHtml(LyWebPageWriter arg0)
- (non-Javadoc)
- Specified by:
writeHtml
in interface LyWebComponent
- Parameters:
arg0
- the page writer- See Also:
LyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
getReloadScript
public java.lang.String getReloadScript()
- (non-Javadoc)
- Specified by:
getReloadScript
in class LyJQInternalView
- Returns:
- reload component script
- See Also:
LyJQInternalView.getReloadScript()
isIcon
public boolean isIcon()
Website: W4 S.A., contact us: support@w4global.com