LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.struts
Class LyStrutsIcon

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.struts.LyStrutsFieldItem
              extended by leon.view.web.struts.LyStrutsIcon
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalIcon, LyViewComponent, LyFreeInterface, LySetImageInterface, LySetLabelInterface, LyWebComponent

public class LyStrutsIcon
extends LyStrutsFieldItem
implements LyGraphicalIcon

This class implements the Icon object (as described in the dtd) for web viewer.

ICON: Icon
An icon allows to define an image to which a text can be associated.

See Also:
LyIcon

Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.view.web.LyWebObject
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Constructor Summary
LyStrutsIcon(LyIcon icon)
          Class constructor of an Idon object for the struts target.
 
Method Summary
 void setImage(java.lang.String image)
          Updates attribute image to the given value.
 void writeHtml(LyWebPageWriter pw)
          Write HTML description corresponding to this component.
 
Methods inherited from class leon.view.web.struts.LyStrutsFieldItem
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getFormName, getHtmlForm, getId, isEditable, isNetscape, isOptional, needCheck, setLabel
 
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, 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

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyStrutsIcon

public LyStrutsIcon(LyIcon icon)
Class constructor of an Idon object for the struts target.

Parameters:
icon - the generic Icon defined for every type of view targets
Method Detail

writeHtml

public void writeHtml(LyWebPageWriter pw)
Description copied from interface: LyWebComponent
Write HTML description corresponding to this component.

Specified by:
writeHtml in interface LyWebComponent
Parameters:
pw - the page writer

setImage

public void setImage(java.lang.String image)
Description copied from interface: LyGraphicalIcon
Updates attribute image to the given value.

Specified by:
setImage in interface LyGraphicalIcon
Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

(c) January 2013 - W4 S.A.

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