LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.message
Class LyJQMessage

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.message.LyJQMessage
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalMessage, LyViewComponent, LyFreeInterface, LySetImageInterface, LySetLabelInterface, LyWebComponent

public class LyJQMessage
extends LyJQInternalView
implements LyGraphicalMessage

Type : leon.view.web.web2.message.LyWeb2Message The peer component of LyMessage 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.LyGraphicalMessage
__VERSION
 
Constructor Summary
LyJQMessage(LyMessage message)
          Constructor.
 
Method Summary
 LyMessage.Align getAlign()
          Gets value of align.
 java.lang.String getLinkUrl()
          get message URL
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 float getSizePercentage(int size, int totalSize)
           
 void setImage(java.lang.String image)
          set message image : actually we refresh all the message bar
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void writeHtml(LyWebPageWriter pw)
          Write HTML description corresponding to this component.
 
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

LyJQMessage

public LyJQMessage(LyMessage message)
Constructor.

Parameters:
message - the message component
Method Detail

getSizePercentage

public float getSizePercentage(int size,
                               int totalSize)

getLinkUrl

public java.lang.String getLinkUrl()
get message URL

Returns:
url

getAlign

public LyMessage.Align getAlign()
Gets value of align.

Returns:
value of align.

setImage

public void setImage(java.lang.String image)
set message image : actually we refresh all the message bar

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

setLabel

public void setLabel(java.lang.String label)
Description copied from interface: LyGraphicalMessage
Updates attribute label to the given value.

Specified by:
setLabel in interface LyGraphicalMessage
Specified by:
setLabel in interface LySetLabelInterface
Parameters:
label - New value of label.

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

getReloadScript

public java.lang.String getReloadScript()
Description copied from class: LyJQInternalView
this method is to be implemented by internal views to get the reload script for the page element

Specified by:
getReloadScript in class LyJQInternalView
Returns:
reload component script

(c) January 2013 - W4 S.A.

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