corelib.services.web.components
Class Image

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.VisualComponent
          extended by corelib.services.web.components.Image

public class Image
extends VisualComponent

Inject an img tag in html with parameter source

Since:
0.4.0
Author:
Alexia Ramaioli

Field Summary
 
Fields inherited from class corelib.services.web.components.VisualComponent
cssClass, cssStyle, toolTipText, visible
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
Image()
           
 
Method Summary
 void component_renderBegin(WebPageEvent webPageEvent)
           
 java.lang.String getSrc()
          Returns the Image src, which is the image path.
 void setSrc(java.lang.String src)
          Changes the Image src.
 
Methods inherited from class corelib.services.web.components.VisualComponent
component_postRender, component_preRender, component_renderChildren, component_renderEnd, component_renderJavascriptLocalisation, encodeAttributeValue, getCssClass, getCssStyle, getOnClickListener, getSharedAttributesHtmlEncoding, getToolTipText, isVisible, renderElement, setCssClass, setCssStyle, setOnClickListener, setToolTipText, setVisible
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image()
Method Detail

getSrc

public java.lang.String getSrc()
Returns the Image src, which is the image path.

Returns:
The Image src.
Since:
0.4.0

setSrc

public void setSrc(java.lang.String src)
Changes the Image src.

Parameters:
src - The new Image src.
Since:
0.4.0

component_renderBegin

public void component_renderBegin(WebPageEvent webPageEvent)
Overrides:
component_renderBegin in class VisualComponent


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.