LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileMessages

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.mobile.LyMobileObject
          extended by leon.view.mobile.LyMobileMessages
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalMessages, LyViewComponent, LyMobileComponent, LyFreeInterface

public class LyMobileMessages
extends LyMobileObject
implements LyGraphicalMessages


Field Summary
 
Fields inherited from class leon.view.mobile.LyMobileObject
REWRITING_MODE, SEP_ID, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from class leon.view.graphic.LyGraphicalObject
__VERSION
 
Fields inherited from interface leon.view.graphic.LyGraphicalMessages
__VERSION
 
Constructor Summary
LyMobileMessages(LyMessages messages)
           
 
Method Summary
 void addMessage(LyMessage messages, int pos)
          Inserts a sub-component messages at given position.
 void init()
           
 void removeMessage(LyMessage messages)
          Removes a sub-component messages.
 void writeJson(java.io.PrintWriter pw, java.lang.String sessionId)
           
 void writeXml(java.io.PrintWriter pw)
          Write XML description corresponding to this component.
 
Methods inherited from class leon.view.mobile.LyMobileObject
createWebview, expandUrl, getDirForDownloadImage, getImageUrl, getUrl, printJsonAttributeSeparator
 
Methods inherited from class leon.view.graphic.LyGraphicalObject
expand, free, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, 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

LyMobileMessages

public LyMobileMessages(LyMessages messages)
Method Detail

writeXml

public void writeXml(java.io.PrintWriter pw)
Description copied from interface: LyMobileComponent
Write XML description corresponding to this component.

Specified by:
writeXml in interface LyMobileComponent
Parameters:
pw - the print writer

init

public void init()
Specified by:
init in interface LyMobileComponent

addMessage

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

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

removeMessage

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

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

writeJson

public void writeJson(java.io.PrintWriter pw,
                      java.lang.String sessionId)
Specified by:
writeJson in interface LyMobileComponent

(c) January 2013 - W4 S.A.

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