LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.icon
Class LyJQIcon

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.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.


Field Summary
 
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.LyGraphicalIcon
__VERSION
 
Constructor Summary
LyJQIcon(LyIcon icon)
          Class constructor of an Icon object for the web2 target.
 
Method Summary
 java.lang.String getImagePath(java.lang.String image)
          Returns the path associated with the given image.
 java.lang.String getReloadScript()
          (non-Javadoc)
 boolean hasBorder(LyIcon lyIcon)
          Check if icon element has border
 boolean isIcon()
           
 void setImage(java.lang.String imageSrc)
          (non-Javadoc)
 void writeHtml(LyWebPageWriter arg0)
          (non-Javadoc)
 
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
 

Constructor Detail

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
Method Detail

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()

(c) January 2013 - W4 S.A.

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