LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

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

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.LyJQMessages
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalMessages, LyViewComponent, LyFreeInterface, LyWebComponent

public class LyJQMessages
extends LyJQInternalView
implements LyGraphicalMessages

Type : leon.view.web.web2.message.LyWeb2Messages The peer component of LyMessages 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.LyGraphicalMessages
__VERSION
 
Constructor Summary
LyJQMessages(LyMessages messages)
          Class constructor of a Messages object for the web2 target.
 
Method Summary
 void addMessage(LyMessage arg0, int arg1)
          Inserts a sub-component messages at given position.
 LyJQMessage getLyWeb2Message(LyMessage message)
          Getting lyWeb2Message from a lyMessage object
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 boolean hasBorder(LyMessages lyMessages)
          Check if messages element has border
 void refreshComponent()
          notify the view manager to refresh the whole component
 void removeMessage(LyMessage arg0)
          Removes a sub-component messages.
 void writeHtml(LyWebPageWriter arg0)
          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

LyJQMessages

public LyJQMessages(LyMessages messages)
Class constructor of a Messages object for the web2 target.

Parameters:
messages - the generic Messages defined for every type of view targets.
Method Detail

getLyWeb2Message

public LyJQMessage getLyWeb2Message(LyMessage message)
Getting lyWeb2Message from a lyMessage object

Parameters:
message -
Returns:

hasBorder

public boolean hasBorder(LyMessages lyMessages)
Check if messages element has border

Parameters:
lyMessages -
Returns:

addMessage

public void addMessage(LyMessage arg0,
                       int arg1)
Description copied from interface: LyGraphicalMessages
Inserts a sub-component messages at given position.

Specified by:
addMessage in interface LyGraphicalMessages
Parameters:
arg0 - The messages to add to messages list.
arg1 - Position where the sub-component is inserted.

removeMessage

public void removeMessage(LyMessage arg0)
Description copied from interface: LyGraphicalMessages
Removes a sub-component messages.

Specified by:
removeMessage in interface LyGraphicalMessages
Parameters:
arg0 - The messages to remove to messages list.

writeHtml

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

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

refreshComponent

public void refreshComponent()
notify the view manager to refresh the whole component


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